/* --- REVEAL (reveal.js) ---
   Entrance animations on scroll: an element marked with data-reveal (or the parts of it it names)
   slides and fades in the first time it comes into view. reveal.js adds the classes below; without
   the script, or when the visitor prefers reduced motion, nothing is hidden or animated.
   Every rule is scoped to the classes reveal.js sets. */

/* waiting to come into view */
.reveal-pending {
    visibility: hidden;
}

/* while a part slides in, the section it slides across does not scroll sideways */
.reveal-host {
    overflow-x: clip;
}

.reveal-run {
    animation-duration: var(--reveal-duration, 1.25s);
    animation-timing-function: var(--reveal-easing, ease);
    animation-fill-mode: both;
}

.reveal-run--fade-in-left {
    animation-name: reveal-fade-in-left;
}

.reveal-run--fade-in-right {
    animation-name: reveal-fade-in-right;
}

.reveal-run--fade-in {
    animation-name: reveal-fade-in;
}

@keyframes reveal-fade-in-left {
    from {
        opacity: 0;
        transform: translate3d(calc(-1 * var(--reveal-distance, 100%)), 0, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes reveal-fade-in-right {
    from {
        opacity: 0;
        transform: translate3d(var(--reveal-distance, 100%), 0, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes reveal-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
