/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}

@keyframes marquee-offset {
    0% { transform: translateX(-48px); }
    100% { transform: translateX(calc(-1536px - 48px)); }
}

.animate-marquee-offset {
    animation: marquee-offset 18s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0%); }
    /*
     * 16 items x 96px (64px + 32px space) = 1536px
     * this makes it a seamless loop
     */
    100% { transform: translateX(-1536px); }
}

.animate-marquee {
    animation: marquee 23s linear infinite;
}

@keyframes marquee-reverse {
    0% { transform: translateX(-1536px); }
    100% { transform: translateX(0%); }
}

.animate-marquee-reverse {
    animation: marquee-reverse 23s linear infinite;
}
