
.isg-container {
    width: 100%;
    overflow: hidden;
}

.isg-scroll-row {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.isg-scroll-row:last-child {
    margin-bottom: 0 !important;
}

.isg-scroll-content {
    display: flex;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    will-change: transform;
}

.isg-scroll-content img {
    flex-shrink: 0;
    display: block;
    transition: transform 0.3s ease;
}

/* Animazione sinistra → destra */
.isg-scroll-left-to-right .isg-scroll-content {
    animation-name: isgScrollLTR;
}

@keyframes isgScrollLTR {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Animazione destra → sinistra */
.isg-scroll-right-to-left .isg-scroll-content {
    animation-name: isgScrollRTL;
}

@keyframes isgScrollRTL {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

/* hover */
.isg-pause-on-hover .isg-scroll-row:hover .isg-scroll-content {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .isg-container {
        overflow-x: hidden;
    }

   .isg-scroll-row{
    width: calc(100% * var(--image-number));
   }

   .isg-scroll-content{
    animation-duration: 60s !important;
   }
}

.isg-scroll-content {
    backface-visibility: hidden;
    perspective: 1000px;
}


