/* The container that limits the view to the screen width */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    background: #C00000; /* Background color of the banner */
    color: #fff;       /* Text color */
    padding: 15px 0;
    font-family: sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
}

/* The wrapper holding both tracks */
.marquee-wrapper {
    display: flex;
    width: max-content;
}

/* The individual text tracks */
.marquee-track {
    display: flex;
    flex-shrink: 0;
    padding-right: 2rem; /* Gap between the repeating phrases */
    animation: scroll-left 40s linear infinite;
}

/* The actual words or phrases inside the track */
.marquee-item {
    padding: 0 2rem;
}

/* Pause the banner when a user hovers over it */
.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

/* The animation pulling the tracks by exactly half their total width */
@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.marquee-track a {
    text-decoration: none;
    color: #fff;
    text-decoration: underline;
}

@media screen and (max-width: 450px) {
  .marquee-container {font-size: 10px;}
}