button#mobile-menu-btn {
    position: relative;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    overflow: hidden;
}

button#mobile-menu-btn::before,
button#mobile-menu-btn::after {
    position: absolute;
    left: 50%;
    content: '';
    background-color: #177B35;
    height: 2px;
    transition: transform 200ms linear, width 200ms linear, top 200ms linear;
}

button#mobile-menu-btn::before {
    top: 30%;
    width: 100%;
    transform: translateX(-50%);
}

button#mobile-menu-btn::after {
    top: 70%;
    width: 80%;
    transform: translateX(-0%);
}

button#mobile-menu-btn.opened::before,
button#mobile-menu-btn.opened::after {
    top: 50%;
    width: 100%;
}

button#mobile-menu-btn.opened::before {
    transform: translateX(-50%) rotate(45deg);
}

button#mobile-menu-btn.opened+span.mobile-menu-container {
    right: 5vw;
}

button#mobile-menu-btn.opened::after {
    transform: translateX(-50%) rotate(-45deg);
}

#mobile-nav {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: -1;
    height: 100vh;
    text-align: center;
}

#mobile-nav ul:first-child {
    margin-top: 72px;
    opacity: 0;
    transform: translateY(10px);
    animation: fade-up 500ms linear forwards;
}

#mobile-nav ul:last-child {
    opacity: 0;
    transform: translateY(10px);
    animation: fade-up 500ms linear forwards;
    animation-delay: 200ms;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@keyframes fade-up {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 599px) {
    #mobile-nav {
        padding: 1.5rem 2rem;
        position: absolute;
        left: auto;
        right: 2.5vw;
        height: fit-content;
        text-align: left;
        width: 40%;
        overflow-y: auto;
        clip-path: polygon(66% 0, 100% 0, 100% 22%, 66% 22%);
        animation: clipOut 200ms linear forwards;
    }

    #mobile-nav p {
        text-align: left;
    }

    #mobile-nav ul:first-child {
        margin-top: 0;
    }

    #mobile-nav ul:first-child li {
        font-size: 1rem;
    }

    #mobile-nav ul:last-child {
        gap: 25px;
    }

    @keyframes clipOut {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
            clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        }
    }
}

#stt {
    display: none;
}
