.marquee {
  overflow: hidden;
  /* hide the scrolling overflow */
  width: 100%;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  transition: all 0.3s ease;
}

.marquee:hover {
  transform: scale(1.05);
}
.marquee:hover .marquee__inner {
  animation-play-state: paused;
}

.marquee_header {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 20px;
  color:white;
}
.marquee__inner {
  display: flex;
  width: max-content;
  animation: marquee 15s linear infinite;
}

.marquee__group {
  display: flex;
}

.marquee__group span {
  margin: 0 1.5rem;
  white-space: nowrap;
  background: #0b0c0b;
  color: #f9ff49;
  padding: 4px 16px 4px 12px;
  border-radius: 6px;
  font-size: 1.2rem;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
