@keyframes scroll-x {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-45%);
    }
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content>* {
    animation: fade-up .8s ease both;
}

.hero-content>*:nth-child(2) {
    animation-delay: .12s;
}

.hero-content>*:nth-child(3) {
    animation-delay: .2s;
}

.hero-content>*:nth-child(4) {
    animation-delay: .32s;
}

.js .card,
.js .section {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .6s, transform .6s;
}

.js .card.visible,
.js .section.visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *:before,
    *:after {
        animation-duration: .01ms !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}