.marquee-wrapper {
  display: flex;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0) 100%);
}

.marquee-track {
  display: flex;
  gap: 15px;
  animation: scrollMarquee 35s linear infinite;
  width: max-content;
}

.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused; /* Pauses sliding when visitor hovers over an image */
}

.marquee-img {
  flex: 0 0 auto;
  width: 280px;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
}

.marquee-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.marquee-img:hover {
	cursor: zoom-in;
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 7.5px)); /* Perfectly loops through 1 set */
  }
}