/* Scroll-triggered district animations (Animate.css subset + custom) */

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fadeIn {
    animation-name: fadeIn;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -100%, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.fadeInDown {
    animation-name: fadeInDown;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-100%, 0, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.fadeInLeft {
    animation-name: fadeInLeft;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(100%, 0, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.fadeInRight {
    animation-name: fadeInRight;
}

@keyframes fadeInUpMuse {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInUp {
    animation-name: fadeInUpMuse !important;
}

@keyframes space {
    from {
        opacity: 0;
        transform-origin: 50% 50%;
        transform: scale(0.2) translate(0%, 0);
    }
    to {
        opacity: 1;
        transform-origin: 50% 50%;
        transform: scale(1) translate(0%, 0);
    }
}

.space {
    animation-name: space;
}

.d1 {
    animation-delay: 0.2s !important;
}

.d2 {
    animation-delay: 0.3s !important;
}

.d3 {
    animation-delay: 0.4s !important;
}

.d4 {
    animation-delay: 0.6s !important;
}

.d5 {
    animation-delay: 0.8s !important;
}

.d6 {
    animation-delay: 1s !important;
}

.d7 {
    animation-delay: 1.4s !important;
}

.d8 {
    animation-delay: 1.8s !important;
}

.d9 {
    animation-delay: 2s !important;
}

.d10 {
    animation-delay: 3s !important;
}
