/* Container styles */
.scrolling-text-container {
        background-color: #8d0000;
        border-radius: 1px;
        overflow: hidden;
    }
    
    /* Inner container styles */
    .scrolling-text-inner {
        display: flex;
        white-space: nowrap;
        font-size: 16px;
        font-weight: 600;
        padding: 10px 0;
    }
    
    /* Text styles */
    .scrolling-text {
        display: flex;
    }
    
    .scrolling-text-item {
        padding: 0 40px;
    }
    
    /* Apply the animation to the text items */
    .scrolling-text-inner>div {
        animation: var(--direction) var(--marquee-speed) linear infinite;
    }
    
    /* Pause the animation when a user hovers over it */
    .scrolling-text-container:hover .scrolling-text-inner>div {
        animation-play-state: paused;
    }
    
    /* Setting the Animation using Keyframes */
    @keyframes scroll-left {
        0% {
            transform: translateX(0%);
        }
    
        100% {
            transform: translateX(-100%);
        }
    }
    
    @keyframes scroll-right {
        0% {
            transform: translateX(-100%);
        }
    
        100% {
            transform: translateX(0%);
        }
    }