.menu-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    color: var(--text);
    font-size: 1.4rem;
}


.menu-container .logo {
    margin: auto auto auto 5rem;
    padding: 2rem 0;
}

@media only screen and (max-width: 840px) {
    .menu-container .logo {
        margin: auto;
        padding: 2rem 0;
    }
}

ul {
    list-style: none;
    font-weight: bold;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    gap: 2rem 0;
    padding: 0 3rem;
}

@media only screen and (max-width: 760px) {
    ul {
        margin: auto;
        padding: 0;
    }
}

@media only screen and (max-width: 380px) {

    ul .nav-item {
        padding: 0.4rem;
    }

    ul .theme {
        margin: 0.4rem;
    }
}

.nav-item {
    color: var(--text);
    font-weight: bold;
    padding: 1rem;
    transition: all .3s ease-in-out;
    filter: brightness(.3);
}

.nav-item.active {
    color: var(--text);
    filter: brightness(1);
    border-bottom: .3rem solid var(--text);
}

.nav-item:hover {
    color: var(--text);
    filter: brightness(1);
}

a {
    text-decoration: none;
}

.theme {
    display: flex;
    place-items: center;
    width: fit-content;
    border: 2px solid var(--text);
    border-radius: 2rem;
    overflow: hidden;
    font-size: 1.1rem;
    margin: 1rem;

    & a {
        padding: 1px 5px 4px 5px;
        filter: brightness(.3);

        &:hover {
            filter: brightness(1);
            background: color-mix(in srgb, var(--text), var(--background) 70%);
        }
    }

    .active {
        filter: brightness(1);
        background: color-mix(in srgb, var(--text), var(--background) 70%);
    }


}

.hidden {
    display: none;
}