﻿html {
    scroll-behavior:smooth;   
    height: 100%
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

@keyframes fadeCycle {
    /* 0% to 5%: Fade In */
    0%, 2% {
        opacity: 0;
        transform: translateY(10px);
        visibility: hidden;
    }

    5% {
        visibility: visible;
    }
    /* 5% to 20%: Fully Visible (Approx 3.2 seconds) */
    5%, 20% {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }
    /* 20% to 25%: Fade Out */
    25% {
        opacity: 0;
        transform: translateY(-10px);
        visibility: hidden;
    }
    /* 25% to 100%: Stay Hidden while others play */
    26%, 100% {
        opacity: 0;
        visibility: hidden;
    }
}

.animate-fade-cycle-1 {
    animation: fadeCycle 16s infinite;
}

.animate-fade-cycle-2 {
    animation: fadeCycle 16s infinite 4s;
}

.animate-fade-cycle-3 {
    animation: fadeCycle 16s infinite 8s;
}
.animate-fade-cycle-4 {
    animation: fadeCycle 16s infinite 12s;
}