.footer-slider {
  --width: 200px;
  --height: 200px;
  --quantity: 8;
  width: 100%;
  height: var(--height);
  overflow: hidden;
  mask-image: linear-gradient(
      to right,
      transparent,
      #000 10%, 90%,
      transparent
  );
}

@media screen and (max-width: 768px) {
  .footer-slider {
    --width: 150px;
    --height: 150px;
    --quantity: 8;
  }

  .footer-slider .footer-slider-list .item {
    animation: autoRun 15s linear infinite;
    transition: filter 0.5s;
    animation-delay: calc( (15s / var(--quantity)) * (var(--position) - 1) - 10s)!important;
  }

}

.footer-slider .footer-slider-list {
    display: flex;
    width: 100%;
    min-width: calc(var(--width) * var(--quantity));
    position: relative;
}

.footer-slider .footer-slider-list .item {
  width: var(--width);
  height: var(--height);
  position: absolute;
  left: 100%;
  animation: autoRun 25s linear infinite;
  transition: filter 0.5s;
  animation-delay: calc( (25s / var(--quantity)) * (var(--position) - 1) - 25s)!important;
}

.footer-slider .footer-slider-list .item img {
    width: 100%;
    height: 80%;
    object-fit: contain;
}

@keyframes autoRun{
    from{
        left: 100%;
    }to {
        left: calc(var(--width) * -1);
    }
}

.footer-slider:hover .item{
    animation-play-state: paused!important;
}

.footer-slider .footer-slider-list .item:nth-child(1) { --position: 1; }
.footer-slider .footer-slider-list .item:nth-child(2) { --position: 2; }
.footer-slider .footer-slider-list .item:nth-child(3) { --position: 3; }
.footer-slider .footer-slider-list .item:nth-child(4) { --position: 4; }
.footer-slider .footer-slider-list .item:nth-child(5) { --position: 5; }
.footer-slider .footer-slider-list .item:nth-child(6) { --position: 6; }
.footer-slider .footer-slider-list .item:nth-child(7) { --position: 7; }
.footer-slider .footer-slider-list .item:nth-child(8) { --position: 8; }
