ul#menu-main-menu {
    margin: 0;
    list-style-type: none;
    margin-block-start: 0em;
    margin-block-end: 0em;
    display: flex;
    justify-content: flex-end;
    height: 100%;
    align-items: self-end;
}

.header-page-links,
.menu-main-menu-container {
    height: 100%;
}

.header-page-links {
    border-bottom: solid 1px var(--secondary);
    max-width: calc(100% - 29rem);
    width: 100%;
}

.menu-item {
    padding: 0 20px;
    border-left: solid 1px var(--secondary);
}

.menu-item:last-child {
    border-right: solid 1px var(--secondary);
}

.menu-item a {
    font-size: 14px;
    line-height: 14px;
    letter-spacing: 2.8px;
    font-weight: 500;
    padding-bottom: 10px;
    margin-bottom: 5px;
    text-transform: uppercase;
    display: block;
    transition: none;
    color: var(--secondary);
}

.menu-item.current-menu-item a {
    border-bottom: solid 5px var(--primary);
    margin-bottom: 0;
}

.menu-item:hover a {
    color: var(--secondary);
    border-bottom: solid 5px var(--primary);
    margin-bottom: 0;
}

.wrapper-header {
    width: calc(90vw + 50px);
    margin: 0 auto -150px;
    position: sticky;
    z-index: 111;
    padding: 35px 25px 15px;
    top: 0px;
    transition: ease 0.3s;
}

.wrapper-header.sticky {
    background-color: #F4F2ED;
    opacity: 0.9;
    margin: 0 auto -120px;
}

.wrapper-header .logo {
    margin-right: auto;
}

.wrapper-header .logo img {
    height: 10rem;
    object-fit: contain;
    transition: ease .3s;
}

.wrapper-header.sticky .logo img {
    height: 7rem;
}

.header-main {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: self-end;
    opacity: 0;
}

@media screen and (max-width: 991px) {
    .wrapper-header {
         width: unset;
        padding: 15px 10px 15px;
        margin: 0 auto -130px;
    }
    .logo {
        padding-right: 2rem;
    }

    .header-page-links {
        max-width: calc(100% - 26rem);
    }
}

@media screen and (max-width: 767px) {
    .header-main {
        align-items: center;
    }

    .mobile-header {
        display: flex;
        background-color: var(--primary);
        height: 100%;
        width: fit-content;
        flex-direction: column;
        justify-content: space-between;
        margin: 0rem auto 0rem;
        height: 100%;
        overflow-y: scroll;
    }

    .wrapper-mobile-header {
        position: fixed;
        background-color: var(--primary);
        top: 0;
        right: -100%;
        left: 100%;
        bottom: 0;
        transition: ease .3s;
    }

    .hum-checkbox:checked ~ .wrapper-mobile-header {
        left: 0;
        right: 0;
    }

    .humburger {
        top: 10px;
    }

    .humburger-box {
        width: fit-content;
        position: relative;
    }

    input.hum-checkbox {
        opacity: 0;
        position: relative;
        z-index: 6;
        width: 25px;
        height: 25px;
    }

    .humburger,
    .humburger:after,
    .humburger:before {
        position: absolute;
        left: 0;
        z-index: 5;
        width: 26px;
        border-radius: 2rem;
        height: 4px;
        background-color: black;
        transition: ease .5s;
    }

    .humburger:before {
        content: "";
        top: -7px;
    }

    .humburger:after {
        content: "";
        top: 7px;
    }

    .header-socials {
        display: flex;
        gap: 7rem;
        margin-top: 6rem;
        margin-bottom: 4rem;
    }

    .mobile-header-list {
        margin-top: 9rem;
        margin-bottom: 2rem;
    }

    .header-main .logo svg {
        width: 13rem;
        height: auto;
    }

    .wrapper-header {
        padding: 7px 2rem;
        margin: 0 auto -70px;
        background-color: #F4F2ED;
    }

    .hum-checkbox:checked ~ .humburger:before,
    .hum-checkbox:checked ~ .humburger:after,
    .hum-checkbox:checked ~ .humburger {
        background-color: var(--secondary);
        transition: ease .5s;
        top: 5px;
    }

    .hum-checkbox:checked ~ .humburger {
        background-color: transparent;
    }

    .hum-checkbox:checked ~ .humburger:before {
        background-color: white;
        transform: rotate(135deg);
    }

    .hum-checkbox:checked ~ .humburger:after {
        background-color: white;
        transform: rotate(-135deg);
    }

    .mobile-header-list ul {
        list-style-type: none;
        margin-block-start: 0em;
        margin-block-end: 0em;
        padding-inline-start: 0px;
        margin: 0;
        margin-bottom: 1rem;
    }

    .mobile-header-list a {
        display: block;
        font-size: 26px;
        line-height: 26px;
        font-weight: 500;
        letter-spacing: 5.2px;
        color: white;
        margin-bottom: 4rem;
        width: fit-content;
        text-transform: uppercase;
        transition: none;
    }

    .wrapper-header.sticky {
         opacity: 1;
    }
    .header-address {
        display: flex;
        flex-direction: column;
    }

    a.header-address {
        width: fit-content;
    }

    .header-address span, .header-mail {
        display: block;
        width: fit-content;
        font-size: 18px;
        line-height: 3rem;
        font-weight: 300;
        color: white;
        transition: 0s;
    }
    a.header-address:hover span,
    .header-mail:hover {
        border-bottom: solid 2px white;
        margin-bottom: -2px;
        color: white;
    }

    .header-mail {
        font-weight: 700;
    }

    .mobile-header-list li:last-child a {
        margin-bottom: unset;
    }

    .mobile-header-list a:hover {
        border-bottom: solid 2px white;
        margin-bottom: 38px;
    }


    .mobile-header-list li:last-child a:hover {
        border-bottom: solid 2px white;
        margin-bottom: -2px;

    }

    .wrapper-header .logo img {
        height: auto;
        width: 13rem;
    }

    .wrapper-header.sticky .logo img {
        height: auto;
    }
}