body {
    margin: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow: hidden;
}

.top-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.bottom-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    border-top: 1px solid var(--border-color);
    height: auto;
    background: var(--bg-secondary);
}

.top-footer div, .bottom-footer div {
    display: flex;
    align-items: center;
}

.top-footer div a, .bottom-footer div:not(.social-icons-row):not(.social-links):not(.copyright) {
    margin: 0 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.top-footer div strong {
    font-size: 1.5em;
    color: var(--heading-color);
}

.middle {
    height: calc(100vh - 200px);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 40px;
    margin-top: 0;
}

.content {
    max-width: 800px;
    margin-left: 80px;
}

.content h1, .greeting {
    font-size: 2.5em;
    color: var(--heading-color);
    margin-bottom: 20px;
}

.content p {
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.content p:last-child {
    margin-bottom: 0;
}

.social-links {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.social-media {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.social-media strong {
    margin: 0;
    padding: 0;
    display: block;
    margin-left: -15px;
    text-align: left;
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-left: 0;
    align-items: flex-start;
}

.icon-row {
    display: flex;
    gap: 12px;
    margin-left: 0;
}

.circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background-color: var(--icon-bg);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: var(--icon-color);
    text-decoration: none;
}

/* Target each icon specifically */
.circle:nth-child(1),
.circle:nth-child(2),
.circle:nth-child(3),
.circle:nth-child(4),
.circle:nth-child(5),
.circle:nth-child(6) {
    grid-area: unset;
}

.bottom-footer .copyright {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    justify-content: center;
}

.bottom-footer .copyright strong {
    color: var(--heading-color);
}

.bottom-footer .copyright span {
    color: var(--copyright-secondary);
}

.greeting-container {
    height: 3em;
    margin-bottom: 20px;
}

.greeting {
    font-size: 2.5em;
    color: #333333;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.greeting.fade {
    opacity: 0;
}

.color-code {
    font-family: 'SF Mono', 'Menlo', 'Monaco', 'Courier New', monospace;
    position: relative;
    padding: 2px 6px 2px 22px;
    font-size: 0.9em !important;
    background-color: var(--color-code-bg);
    border-radius: 4px;
    color: var(--color-code-text);
}

.color-code::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-color: #00a33b;
    border-radius: 2px;
}

/* Add active state for home link */
.nav-links a[href="#"], .nav-links a.active {
    color: var(--heading-color);
    font-weight: bold;
}

.description span.name {
    font-family: Charter, serif;
    font-style: italic;
}

.name {
    font-family: Charter, serif;
    font-style: italic;
}

.logo-link {
    text-decoration: none;
    color: #333333;
}

.logo-link:hover {
    opacity: 0.8;
}

/* Check for any social icon related styles */

/* Add theme toggle button styles */
.theme-toggle-container {
    position: relative;
    padding-left: 28px;
    margin-left: 10px;
}

.theme-toggle-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 1px;
    background-color: var(--border-color);
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px 0;
    font-size: 1.2em;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.theme-toggle:hover {
    opacity: 0.8;
}

/* Social icons row adjustments */
.social-icons-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-right: 0;
}

.pronunciation {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-secondary);
    font-size: 0.9em;
    margin-left: 5px;
}