:root {
    --clr-neutral-100: hsl(0, 0%, 100%);
    --clr-primary-100: hsl(205, 15%, 58%);
    --clr-primary-400: hsl(215, 25%, 27%);
    --clr-primary-800: hsl(217, 33%, 17%);
    --clr-primary-900: hsl(218, 33%, 9%);
}



.marquee {
    width: 100%;
}

.marquee__inner {
    padding-block: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.marquee.galerie:hover .marquee__inner {
    animation-play-state: paused!important;
    cursor: grab;
}
.marquee.galerie:hover .marquee__inner figure {
    filter: grayscale(1);
}
.marquee.galerie .marquee__inner figure:hover{
    filter: grayscale(0);
}

.marquee[data-animated="true"] {
    overflow: hidden;
    -webkit-mask: linear-gradient(
            90deg,
            transparent,
            white 20%,
            white 80%,
            transparent
    );
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.marquee[data-animated="true"] .marquee__inner {
    width: max-content;
    flex-wrap: nowrap;
    animation: scroll var(--_animation-duration, 40s)
    var(--_animation-direction, forwards) linear infinite;
}

.marquee[data-direction="right"] {
    --_animation-direction: reverse;
}

.marquee[data-direction="left"] {
    --_animation-direction: forwards;
}

.marquee[data-speed="fast"] {
    --_animation-duration: 20s;
}

.marquee[data-speed="slow"] {
    --_animation-duration: 60s;
}

@keyframes scroll {
    to {
        transform: translate(calc(-50% - 0.5rem));
    }
}

/* general styles */


.brand-list {
    margin: 0;
    padding-inline: 0;
    list-style: none;
}

.brand-list li {
    padding: 1rem;
    font-size: 100px;
    text-decoration: underline;
}

.brand-list li:nth-child(2n) {
    -webkit-text-stroke: 1px #000;
    color: transparent;
    border: none;
    text-decoration: none;
}

/* for testing purposed to ensure the animation lined up correctly */
.test {
    background: red !important;
}
