nav {
    background: #35312e;
    color: var(--BaseColor);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-bottom: 1px solid;
    z-index: 1000;

    /* Ensure navbar stays on top */
}

.nav-container {
    max-width: 1200px;
    height: 44px;
    /*margin: 0 auto;*/
    display: flex;
    align-items: center;
}

.logo {
    width: 1.9em;
    height: 1.9em;
    margin-top: auto;
    margin-bottom: auto;
}

.menu-button {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-links a {
    color: #7d97ad;
    font-size: 1.0rem;
    text-decoration: none;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    transition: background 0.3s;
}

.nav-links a:hover {
    color: #a3c4e1;
    background: #34495e;
}

.nav-links a.active {
    color: #ffae82;
    background: #34495e;
}

.dropdown {
    position: relative;
}

.dropdown>a::after {
    content: '▼';
    font-size: 0.7em;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #34495e;
    min-width: 14vw;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    margin-top: 0.2rem;
    animation: fadeIn 0.2s ease;
}

.dropdown-content.active {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 0.75rem 1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}