/* ================================================================
   SIMPLE ENTRANCE ANIMATIONS
   Used on homepage and special-offer content
   ================================================================ */

.animate {
    animation-duration: 0.7s;
    animation-fill-mode: both;
    animation-timing-function: ease-out;
}

.animate-delay {
    animation-delay: 0.2s;
}


/* ================================================================
   FADE IN DOWN
   ================================================================ */

@keyframes fade-in-down {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-down {
    animation-name: fade-in-down;
}


/* ================================================================
   FADE IN UP
   ================================================================ */

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation-name: fade-in-up;
}


/* ================================================================
   FADE IN LEFT
   ================================================================ */

@keyframes fade-in-left {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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


/* ================================================================
   FADE IN RIGHT
   ================================================================ */

@keyframes fade-in-right {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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


/* ================================================================
   ACCESSIBILITY
   Respect the visitor's reduced-motion preference
   ================================================================ */

@media (prefers-reduced-motion: reduce) {

    .animate {
        animation: none;
    }

}