/* slider conten */
.container-slider {
    display: flex;
    gap: 4;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.slide {
    width: 100%;
    flex-shrink: 0;
}

/* animasi */
.swiper-container {
    width: 100%;
}

.z-custom {
    z-index: 99;
}


/*  */
/* Animasi slider */
.slider-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.slider-track {
    display: flex;
    animation: scrollLeft 20s linear infinite;
    width: max-content;
}

.slider-track.reverse {
    animation: scrollRight 20s linear infinite;
}

.slider-track .custom-img {
    width: 276px;
    height: 183px;
    object-fit: cover;
    border-radius: 20px;
    margin: 0 8px;
}

@keyframes scrollLeft {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

    /* Pindah setengah track */
}

@keyframes scrollRight {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

.slider-track:hover {
    animation-play-state: paused;
}

.custom-sticky {
    top: 56px;
    left: 0;
    right: 0;
    padding: 10px 0px;
}

.z-cs-navbar {
    z-index: 60;
}

/*  */
.sm-custom {
    @media (width >=40rem

        /* 1024px */
    ) {
        padding: 0 !important
            /* 0rem = 0px */
        ;
    }
}

/* hover responsive */
.menu-link {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.menu-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #e2d8f1;
    /* Warna ungu muda */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease-in-out;
    border-radius: 0 15px 15px 0;

}

.menu-link:hover::before,
.menu-link:focus::before {
    transform: scaleX(1);
}


.menu-link.active::before {
    background: #e2d8f1;
    transform: scaleX(1);
}