.slider {
  width: 100%;
  overflow: hidden;
  /* background: #eee; */
}

.marquee {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee.marquee1 {
	animation: marquee 60s linear infinite;
}
.marquee.marquee2 {
	animation: marquee 40s linear infinite;
}
.marquee.marquee8 {
	animation: marquee 8s linear infinite !important;
}

.marquee.reverse{
	animation-direction: reverse;
}

.item {
  width: 200px;
  height: 120px;
  margin: 10px;
  background: #3498db;
  color: white;
  font-size: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

/* Smooth infinite scrolling */
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}