/* Reset default body and html padding/margin */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    background-color: #ffffff;
    overflow-x: hidden; /* Prevent sideways scroll */
}
 
/* Apply box-sizing border-box globally */
*, *::before, *::after {
    box-sizing: border-box;
}
#scrolling-news {
    background-color: #ff4c00;
    color: white;
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    font-size: 20px;
}

.scrolling-text {
    white-space: nowrap;
    display: inline-block;
    font-weight: bold;
    animation: scroll-left 60s linear infinite;
}

.scrolling-text .news-item {
    margin-right: 4px;
    display: inline-block;
}

.scrolling-text a {
    color: white;
    text-decoration: none;
    font-size: 22px;
}

.scrolling-text a:hover {
    text-decoration: underline;
    color: #ffd700;
}

.scrolling-text .news-item strong {
    font-size: 26px;
    color: #ffd700;
}

@keyframes scroll-left {
    0% {
        transform: translateX(10%);
    }
    100% {
        transform: translateX(-50%);
    }
}


@media screen and (max-width: 600px) {
#scrolling-news {
        font-size: 16px; /* Smaller text size for mobile */
        padding: 8px 0; /* Reduced padding for smaller screens */
    }

.scrolling-text .news-item {
        font-size: 16px; /* Smaller text for news items */
        margin-right: 30px; /* Reduced spacing between items */
    }

.scrolling-text a {
        font-size: 18px; /* Smaller text for links */
    }

.scrolling-text .news-item strong {
        font-size: 20px; /* Smaller font size for 'New' text */
    }


.scrolling-text {
        font-size: 16px; /* Adjust the general font size */
        animation: scroll-left 40s linear infinite; /* Adjust scroll speed for mobile */
    }
}