.marquee {
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 4vw; /* Adjust based on content height */
  white-space: nowrap;
  background: transparent;
}

.marquee--inner {
  display: flex;
  width: calc(fit-content + 1px); /* Slightly more than twice to cover the gap */
  animation: marquee linear infinite;
  will-change: transform;
}

.marquee span {
  display: flex;
  flex-shrink: 0; /* Prevent shrinking */
  width: 50%; /* Each span takes up 50% of the container */
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  -webkit-transform-style: preserve-3d;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0);
}

.marquee span div {
  color: #ff0022;
  font-weight: 600;
  font-family: 'Inter tight', sans-serif;
  padding: 0;
  margin: 0;
}

/* Keyframes for seamless animation */
@keyframes marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Responsive design adjustments */

/* Small screens (max-width: 420px) */
@media only screen and (max-width: 420px) {
  .marquee {
    height: 16vw; /* Adjust height for small screens */
  }

  .marquee span {
    font-size: 12.8vw;
  }

  .marquee--inner {
    animation-duration: 32s; /* Faster scrolling for small screens */
  }

  .marquee .s1,
  .marquee .s2,
  .marquee .s3,
  .marquee .s4 {
    display: block;
  }
}

/* Medium screens (max-width: 991px) */
@media only screen and (max-width: 991px) and (min-width: 421px) {
  .marquee {
    height: 8vw; /* Adjust height for medium screens */
  }

  .marquee--inner {
    animation-duration: 32s; /* Adjust duration for medium screens */
  }

  .marquee span {
    font-size: 6.4vw;
  }

  .marquee .s1,
  .marquee .s2,
  .marquee .s3,
  .marquee .s4 {
    display: block;
  }
}

/* Large screens (min-width: 992px) */
@media only screen and (min-width: 992px) {
  .marquee {
    height: 7vw; /* Adjust height for large screens */
  }

  .marquee--inner {
    animation-duration: 32s; /* Standard duration for larger screens */
  }

  .marquee span {
    font-size: 5vw;
  }

  .marquee .s1,
  .marquee .s2,
  .marquee .s3,
  .marquee .s4 {
    display: block;
  }
}
@media only screen and (min-width: 2000px) {
  .marquee {
    height: 10rem; /* Adjust height for large screens */
  }  
.marquee span {
	font-size: 8rem;
}
}  