/* MOBILE STYLES */

.mobile {

    /* MENU BUTTON */

    .menu-button {
        height: 20px;
        width: 25px;
        top: 45px;
        right: 30px;
    }

    .menu-button span,
    .menu-button span::before,
    .menu-button span::after {
        margin-top: 5px;
        width: 25px;
        height: 3px;
    }

    .menu-button span::before {
        margin-top: -9px;
    }

    .menu-button span::after {
        margin-top: 9px;
    }

    /* MENU CONTENT */

    .menu-content {
        top: 72px;
        right: 28px;
    }

    .menu-content > menu > li {
        padding: 3px;
    }

    .menu-content > menu > li > a {
        font-size: 15px;
        line-height: 18px;
    }

}

/* DESKTOP STYLES */

.desktop {

    /* MENU BUTTON */

    .menu-button {
        height: 40px;
        width: 50px;
        top: 80px;
        right: 72px;
    }

    .menu-button span,
    .menu-button span::before,
    .menu-button span::after {
        margin-top: 10px;
        width: 50px;
        height: 4px;
    }

    .menu-button span::before {
        margin-top: -10px;
    }

    .menu-button span::after {
        margin-top: 10px;
    }

    /* MENU CONTENT */

    .menu-content {
        top: 130px;
        right: 68px;
    }

    .menu-content > menu > li {
        padding: 5px;
    }

    .menu-content > menu > li > a {
        font-size: 20px;
        line-height: 24px;
    }

}

/* MENU BUTTON */

.menu-button {
    cursor: pointer;
    position: absolute;
}

.menu-button span,
.menu-button span::before,
.menu-button span::after {
    background: #fff;
    border-radius: 2px;
    content: '';
    position: absolute;
    transition: .3s ease-in-out;
}

.menu-button.active span {
    background: transparent;
}

.menu-button.black:not(.active) span,
.menu-button.black span::before,
.menu-button.black span::after {
    background: #2b2e34;
}

.menu-button.active span::before {
    background: #2b2e32;
    margin-top: 0;
    transform: rotate(45deg);
}

.menu-button.active span::after {
    background: #2b2e32;
    margin-top: 0;
    transform: rotate(-45deg);
}

/* MENU CONTENT */

.menu-content {
    position: absolute;
    opacity: 0;
    user-select: none;
    transform: translateY(-10px);
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, visibility 0.3s;
}

.menu-content.visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.menu-content > menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-content > menu > li {
    text-align: right;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.menu-content > menu > li > a {
    color: #2b2e34;
    font-variation-settings: "wght" 100;
    font-weight: 100;
    text-decoration: none;
    transition: font-variation-settings 0.3s ease-in-out, font-weight 0.3s ease-in-out;
    will-change: font-variation-settings, font-weight;
}

.menu-content.visible > menu > li {
    opacity: 1;
    transform: translateX(0);
}

.menu-content.visible > menu > li:nth-child(1) {
    transition-delay: 0.1s;
}

.menu-content.visible > menu > li:nth-child(2) {
    transition-delay: 0.2s;
}

.menu-content.visible > menu > li:nth-child(3) {
    transition-delay: 0.3s;
}

.menu-content.visible > menu > li:nth-child(4) {
    transition-delay: 0.4s;
}

.menu-content > menu > li > a:hover {
    font-variation-settings: "wght" 700;
    font-weight: 700;
}
