/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */
.scrolling-banner {
  width: 100%;
  overflow: hidden;
  background-color: #000000; /* Change background color here */
  padding: 15px 0;
  display: flex;
}

.scroll-track {
  display: flex;
  width: max-content;
  animation: scroll-left 15s linear infinite; /* Change 15s to adjust speed */
}

.scroll-content {
  font-family: sans-serif; /* Change font here */
  font-size: 24px;         /* Change text size here */
  font-weight: bold;
  color: #ffffff;          /* Change text color here */
  white-space: nowrap;
}

/* On hover, pause the scrolling (optional) */
.scrolling-banner:hover .scroll-track {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Moves exactly half the track width */
  }
}
