.quiqqer-animate-scroll-visible {
    opacity: 1 !important;
}

.scrolled {
    --_animation-duration: var(--qui-animate-scroll-animation-duration, 750ms);
    --_animation-easing: var(--qui-animate-scroll-animation-easing, ease-in-out);
    --_animation-fill-mode: var(--qui-animate-scroll-animation-fill-mode, both);
    --_offset: var(--qui-animate-scroll-offset, 30px);

    animation-duration: var(--_animation-duration);
    animation-timing-function: var(--_animation-easing);
    animation-fill-mode: var(--_animation-fill-mode);
}

.scrolled.fade-in {
    --_animation-name: var(--qui-animate-scroll-animation-name, fade-in);

    animation-name: var(--_animation-name);
}

.scrolled.fade-in-from-bottom {
    --_animation-name: var(--qui-animate-scroll-animation-name, fade-in-from-bottom);

    animation-name: var(--_animation-name);
}

.scrolled.fade-in-from-left {
    --_animation-name: var(--qui-animate-scroll-animation-name, fade-in-from-left);

    animation-name: var(--_animation-name);
}

.scrolled.fade-in-from-right {
    --_animation-name: var(--qui-animate-scroll-animation-name, fade-in-from-right);

    animation-name: var(--_animation-name);
}

.scrolled.fade-in-from-top {
    --_animation-name: var(--qui-animate-scroll-animation-name, fade-in-from-top);

    animation-name: var(--_animation-name);
}

@media (prefers-reduced-motion: reduce) {
    .js-scroll,
    .scrolled,
    .fade-in,
    .fadein-from-bottom,
    .fadeIn-from-bottom,
    .fade-in-from-bottom,
    .fadein-from-left,
    .fadeIn-from-left,
    .fade-in-from-left,
    .fadein-from-right,
    .fadeIn-from-right,
    .fade-in-from-right,
    .fade-in-from-top {
        animation: none !important;
        opacity: 1 !important;
    }
}

/* keyframes */
@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fade-in-from-top {
    from {
        opacity: 0;
        transform: translateY(calc(-1 * var(--_offset)));
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-from-bottom {
    0% {
        transform: translateY(var(--_offset));
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fade-in-from-left {
    0% {
        transform: translateX(calc(-1 * var(--_offset)));
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fade-in-from-right {
    0% {
        transform: translateX(var(--_offset));
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
