@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-560px * 10));
    }
}
.autocarousel {
    background: #cddae3;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 280px;
}
.autocarousel::before, .autocarousel::after {
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    content: "";
    height: 280px;
    position: absolute;
    width: 600px;
    z-index: 2;
}
.autocarousel::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}
.autocarousel::before {
    left: 0;
    top: 0;
}
.autocarousel .slide-track {
    animation: scroll 40s linear infinite;
    display: flex;
    width: calc(560px * 20);
}
.autocarousel .slide {
    height: 280px;
    width: 560px;
}
