.header-wrapper {
    position: fixed;
    z-index: 120;
    width: 100%;
}

.header-wrapper::before {
    content: "";
    position: absolute;
    top: 0rem;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f5f5f5be;
    backdrop-filter: blur(20px);
    padding: 0;
}

.header {
    display: flex;
    justify-content: space-between;
    position: relative;
}
.header__logo {
    width: 12rem;
    padding: 2rem 0;
}

.header__logo img {
    object-fit: contain;
}
.header__nav {
    position: absolute;
    width: 100%;
    top: 8.1rem;
    left: 0;
    right: 0;
    text-align: center;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease-out;
    backdrop-filter: blur(20px);
    background: #f5f5f5c0;
    height: auto;
}
.header__nav.active {
    max-height: 900px;
}

.icons {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.icons svg {
    height: 2.5rem;
    width: 2.5rem;
    fill: #000000;
}

.icons #close-icon {
    display: none;
}

.header__nav-user {
    padding-bottom: 4rem;
    display: flex;
    justify-content: center;
}
.header__icon-cafeteria {
    display: flex;
    align-items: center;
}
.header__user-button {
    height: 100%;
    padding: 1rem 2.7rem;
    border-radius: 2rem;
    border: none;
    cursor: pointer;
    font-weight: 300;
}
.header__user-button--login {
    color: var(--tx-black);
    text-transform: uppercase;
    background-color: transparent;
    display: flex;
    gap: 1rem;
    align-items: center;
}
.header__nav-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 3rem 0;
}
.header__nav-link {
    list-style: none;
}

.header__nav-link a {
    text-decoration: none;
    font-size: 14px;
    color: var(--tx-primary-dark);
    font-weight: lighter;
    text-transform: uppercase;
}
.header__nav-link a:hover {
    color: var(--tx-primary-light);
}

.header__user-button--register {
    color: var(--tx-white);
    text-transform: uppercase;
    background-color: var(--bg-primary-chocolate);
}

@media (min-width: 768px) {
    .header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }

    .header__logo {
        width: 110px;
    }

    .header__nav {
        position: static;
        max-height: none;
        transition: max-height 0.5s ease-out;
        overflow: visible;
        background-color: #00b3ff00;
        backdrop-filter: none;
        width: auto;
        display: flex;
        align-items: center;
    }
    .icons {
        display: none;
    }
    .header__icon-cafeteria {
        display: none;
    }
    .header__nav-link {
        margin: 0;
    }

    .header__nav-links {
        flex-direction: row;
        gap: 4rem;
    }

    .header__nav-user {
        margin-left: 6rem;
        display: flex;
        padding: 0;
        gap: 1rem;
    }
}
