.image-scroll-slider {
    display: flex;
    gap: 14px;
    width: max-content;
    min-width: 400vw;
    overflow: visible;
    white-space: nowrap;
    position: relative;
    padding: 7px 0;
    will-change: transform;
}

.image-scroll-slider-left {
    margin-left: -10vw;
}

.image-scroll-slider-right {
    margin-left: -185vw;
}

.image-scroll-slider-block {
    flex: 0 0 auto;
    width: 20vw;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.image-scroll-slider-block img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

@media only screen and (max-width: 960px) {
    .image-scroll-slider-block {
        width: 260px;
    }

    .image-scroll-slider-right {
        margin-left: -260vw;
    }
}

@media only screen and (max-width: 660px) {
    .image-scroll-slider {
        gap: 14px;
        min-width: 600vw;
    }

    .image-scroll-slider-left {
        margin-left: -20vw;
    }

    .image-scroll-slider-right {
        margin-left: -360vw;
    }

    .image-scroll-slider-block {
        width: 160px;
        height: 180px;
    }
}
