.slider {
    background: #efeef2;
    height: 75pt;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    cursor: default;
    user-select: none;
    touch-action: none;
}

.slider:before,
.slider:after {
    background: linear-gradient(to right, #efeef2 0%, hsla(0, 0%, 100%, 0) 100%);
    content: "";
    height: 75pt;
    position: absolute;
    width: 200px;
    z-index: 2;
}

.slider:before {
    left: 0;
    top: 0;
}

.slider:after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

.slider .slide-track-1 {
    display: flex;
    width: calc(250px * 16);
    /* Adjusted to fit all slides */
    animation: scroll 20s linear infinite;
    /* Smooth continuous animation */
}

.slider .slide {
    height: 75pt;
    width: 250px;
    display: flex;
    align-items: center;
    text-align: center;
}

.slider .slide img {
    width: 180px;
    padding: 1pc;
    vertical-align: middle;
    margin: 0 auto;
    display: inline-block;
    max-width: 100%;
    height: auto;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 8));
        /* Adjusted to scroll through 8 slides */
    }
}