.mobile-menu-spacer {
    height: 20px;
}

.mobile-menu {
    left: 0;
    right: 0;
    bottom: 0;
    position: fixed;
    z-index: 1000;
}


    .mobile-menu .top-bar {
        margin-top: 15px;
        height: 13px;
        background: var(--bs-gray-100);
        box-shadow: 0 0 5px 5px var(--bs-gray-100);
    }

    .mobile-menu nav {
        border-radius: 0;
        background: #FFF;
        padding: 0;
    }

        .mobile-menu nav .nav-content {
            display: flex;
            height: 80px;
            align-items: center;
            list-style: none;
            position: relative;
        }

            .mobile-menu nav .nav-content .nav-link {
                display: flex;
                justify-content: center;
                align-items: center;
                flex-direction: column;
                height: 80px;
                width: 95px;
                text-decoration: none;
                transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            }

                .mobile-menu nav .nav-content .nav-link.active {
                    transform: translateY(5px);
                }

.nav-link .link-icon {
    transition: all 0.3s;
    opacity: 1;
}

.nav-link.active .link-icon {
    opacity: 0;
    color: var(--bs-primary);
    transform: scale(1.4);
}

.nav-link .link-icon.on {
    
    position: absolute;
    opacity: 0;
}

.nav-link.active .link-icon.on {
    opacity: 1;
}




.link-icon {
    font-size: 38px;
    color: #999;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateY(-10px);
}

.link-text {
    position: absolute;
    font-size: 16px;
    font-weight: 500;
    color: var(--bs-gray-400);
    transform: translateY(25px);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.nav-link.active .link-text {
    opacity: 1;
    font-weight: 700;
    color: var(--bs-primary);
    transform: translateY(23px);
}

.indicator {
    box-shadow: 0 -10px 10px var(--bs-gray-100);
    opacity: 1;
    position: absolute;
    top: -14px;
    left: 10%;
    height: 36px;
    width: 36px;
    background-color: var(--bs-primary);
    border: 6px solid var(--bs-gray-100);
    border-radius: 50%;
    transform: translateX(-50%);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
a.button-2.active ~ .indicator {
    left: 30%;
}
a.button-3.active ~ .indicator {
    left: 50%;
}
a.button-4.active ~ .indicator {
    left: 70%;
}
a.button-5.active ~ .indicator {
    left: 90%;
}

    .indicator::before,
    .indicator::after {
        content: '';
        position: absolute;
        bottom: -8px;
        height: 24px;
        width: 19px;
    }

    .indicator::before {
        left: -22px;
        background-color: #FFF;
        border-top-right-radius: 25px;
        box-shadow: 1px -13px var(--bs-gray-100);
    }

    .indicator::after {
        right: -22px;
        background-color: #FFF;
        border-top-left-radius: 25px;
        box-shadow: -1px -13px var(--bs-gray-100);
    }

@media (max-width: 668px) {
    .link-icon {
        font-size: 30px;
    }
}

@media (max-width: 568px) {
    .link-icon {
        font-size: 25px;
    }
}

@media (max-width: 540px) {
    .mobile-menu {
        zoom: 0.8;
    }
}
@media (max-width: 470px) {
    .mobile-menu {
        zoom: 0.8;
    }
}
@media (max-width: 410px) {
    .mobile-menu {
        zoom: 0.7;
    }
}
@media (max-width: 360px) {
    .mobile-menu {
        zoom: 0.6;
    }
}
@media (max-width: 320px) {
    .mobile-menu {
        zoom: 0.5;
    }
}


