@charset 'utf-8';

/*  ========================================================================
    JUICE -> ANIMATIONS -> FLIP -> ENTRANCE -> FLIP IN DOWN
    ========================================================================  */

// Check if the animations with flip in down should be imported
@if $import-animations and $import-animation-flip-in-down {
    .has-animation {
        // Nested selectors
        &.flip-in-down {
            @keyframes flip-in-down {
                from {
                    transform: perspective($animation-flip-in-perspective) rotate3d(1, 0, 0, 90deg);
                }

                to {
                    transform: perspective($animation-flip-in-perspective) rotate3d(1, 0, 0, 0deg);
                }
            }

            animation-delay: $animation-flip-in-delay;
            animation-duration: $animation-flip-in-duration;
            animation-name: flip-in-down;
            animation-timing-function: $animation-flip-in-easing;
        }
    }
}
