.header {
    background: #FFFFFF;
    position: sticky;
    top: 0;
    z-index: 20;
}

.header .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    width: 110px;
    height: 110px;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 40px;
    font-weight: 500;
}

.header__nav a {
    display: flex;
    width: 100%;
    white-space: nowrap;
}

.header__nav .header__button--mobile {
    display: none;
}

.menu {
    display: flex;
    list-style-type: none;
    padding: 0;
    position: absolute;
    top: 0;
    margin: 68px 0 0;
    left: 0;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.menu > li {
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0.5em 0;
    width: 100%;
    color: #000000;
    background-color: #FBFBFC;
}

.menu > li a {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
    line-height: 21.19px;
    text-align: center;
}

.menu .button {
    min-width: calc(100% - 20px);
    max-width: 100%;
}

.menu-button-container {
    display: none;
    height: 100%;
    width: 36px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#menu-toggle {
    display: none;
}

#menu-toggle ~ .menu li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
}

.menu-button,
.menu-button::before,
.menu-button::after {
    display: block;
    background-color: #FF7A00;
    position: absolute;
    height: 2px;
    width: 36px;
    transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
}

.menu-button::before {
    content: '';
    margin-top: -8px;
}

.menu-button::after {
    content: '';
    margin-top: 8px;
}

#menu-toggle:checked ~ .menu {
}

#menu-toggle:checked ~ .menu li {
    height: 61px;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
}

#menu-toggle:checked ~ .menu li:first-child {
    height: 101px;
}

#menu-toggle:checked ~ .menu li:first-child a {
    margin-top: 30px;
}

#menu-toggle:checked ~ .menu li:last-child {
    height: 130px;
    box-shadow: 0px 10px 10px 0px #1E266C1A;
}

#menu-toggle:checked ~ .menu li:last-child .button {
    margin-top: -30px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
    margin-top: 0px;
    transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
    background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
    margin-top: 0px;
    transform: rotate(-405deg);
}

@media (max-width: 940px) {
    .header__logo {
        width: 68px;
        height: 68px;
    }

    .header__nav {
        gap: 35px;
    }

    .header__nav .header__button {
        display: none;
    }

    .header__nav .header__button--mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        min-width: 50px;
        max-width: 50px;
        height: 50px;
        background: #FF7A00;
        border-radius: 50px;
        color: #ffffff;
    }

    .header__nav > a:not(.header__button--mobile) {
        display: none;
    }

    .menu-button-container {
        display: flex;
    }
}
