.carousel {
  overflow: hidden;
  width: 100%;
  padding: 20px 0;
}

.carousel-track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: scroll 40s linear infinite;
}

.carousel img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  transition: transform 0.3s;
}

.carousel a:hover img {
  transform: scale(1.1);
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.carousel:hover .carousel-track {
  animation-play-state: paused;
}

