.slider{width:100%;height:var(--height);position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,#0000,#000 10% 90%,#0000);mask-image:linear-gradient(90deg,#0000,#000 10% 90%,#0000)}.slider .list{width:100%;min-width:calc(var(--width)*var(--quantity));display:flex;position:relative}.slider .list .item{width:var(--width);height:var(--height);justify-content:center;align-items:center;transition:filter .5s;animation:10s linear infinite autoRun;display:flex;position:absolute;left:100%;animation-delay:calc((10s/var(--quantity))*(var(--position) - 1) - 10s)!important}.slider .list .item img{width:100%}@keyframes autoRun{0%{left:100%}to{left:calc(var(--width)*-1)}}.slider:hover .item{filter:grayscale();animation-play-state:paused!important}.slider .item:hover{filter:grayscale(0)}.slider[reverse=true] .item{animation:10s linear infinite reversePlay}@keyframes reversePlay{0%{left:calc(var(--width)*-1)}to{left:100%}}
