.wrapper {
  margin-top: 20px;
  width: 90%;
  max-width: 1536px;
  margin-inline: auto;
  height: 200px;
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 1) 20%,
    rgba(0, 0, 0, 1) 80%,
    rgba(0, 0, 0, 0)
  );
}

@keyframes scrollLeft {
  to {
    left: -400px;
  }
}

@keyframes scrollRight {
  to {
    right: -400px;
  }
}

.itemLeft,
.itemRight {
  justify-content: center;
  width: 350px;
  height: 200px;
  border: 1px solid;
  border-color: var(--white-7);
  background-color: var(--dark-color);
  border-radius: 15px;
  position: absolute;
  animation-timing-function: linear;
  animation-duration: 90s;
  animation-iteration-count: infinite;
}

.itemLeft {
  left: max(calc(320px * 8), 100%);
  animation-name: scrollLeft;
}

.itemRight {
  right: max(calc(320px * 8), calc(100% + 320px));
  animation-name: scrollRight;
}

.item1 {
  animation-delay: calc(90s / 8 * (8 - 1) * -1);
}

.item2 {
  animation-delay: calc(90s / 8 * (8 - 2) * -1);
}

.item3 {
  animation-delay: calc(90s / 8 * (8 - 3) * -1);
}

.item4 {
  animation-delay: calc(90s / 8 * (8 - 4) * -1);
}

.item5 {
  animation-delay: calc(90s / 8 * (8 - 5) * -1);
}

.item6 {
  animation-delay: calc(90s / 8 * (8 - 6) * -1);
}

.item7 {
  animation-delay: calc(90s / 8 * (8 - 7) * -1);
}

.item8 {
  animation-delay: calc(90s / 8 * (8 - 8) * -1);
}