/*
 * Simple Marquee - Basic Functional Styles
 * Formatting (font, color, etc.) should inherit from the active theme.
 */

.aka-simple-marquee-container {
    /* Required to contain the scrolling text */
    overflow: hidden;
    white-space: nowrap; /* Keep all text on one line */
    box-sizing: border-box;
    padding: 10px 0; /* Add some vertical space */
}

.aka-simple-marquee-content {
    /* The content that actually scrolls */
    display: inline-block;
    padding-left: 100%; /* Start the content off-screen to the right */
    animation: simpleMarquee 15s linear infinite; /* Adjust time for speed */
}

.aka-simple-marquee-item {
    display: inline-block;
    margin-inline: 25px; /* Space between items */
}

/* Pause the animation on hover for a ccessibility */
.aka-simple-marquee-content:hover {
    animation-play-state: paused;
}

/* Keyframe animation for the scroll effect */
@keyframes simpleMarquee {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(-102%, 0); } /* Moves the text container left by 100% of its own width */
}