/* Copier la partie du code souhaitée dans public/css/theme.css */


/*
==============================================
Masquer les éléments animés au scroll avant
le déclenchement de l'animation
==============================================
*/

.onScroll {
    opacity: 0;
}

.animated {
    opacity: initial;
}


/*
  ==============================================
  Ajouter un délai
  ==============================================
  */

[class*="delay"] {
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.delay200 {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

.delay400 {
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

.delay600 {
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s;
}

.delay800 {
    -webkit-animation-delay: 0.8s;
    animation-delay: 0.8s;
}

.delay1500 {
    -webkit-animation-delay: 1.5s;
    animation-delay: 1.5s;
}

/*
  ==============================================
 OPACITY
  ==============================================
  */

.show-on.animated {
    -webkit-animation-name: show-on;
    animation-name: show-on;
    -webkit-animation-duration: 5s;
    animation-duration: 5s;
    -webkit-animation-timing-function: ease;
    animation-timing-function: ease;
}

@keyframes show-on {
    0% {

        display: none;
    }

    100% {
        display: block;
    }
}

@-webkit-keyframes show-on {
    0% {

        display: none;
    }

    100% {
        display: block;
    }
}


/*
  ==============================================
 OPACITY
  ==============================================
  */

.opacity.animated {
    -webkit-animation-name: opacity;
    animation-name: opacity;
    -webkit-animation-duration: 5s;
    animation-duration: 5s;
    -webkit-animation-timing-function: ease;
    animation-timing-function: ease;
}

@keyframes opacity {
    0% {

        opacity: 0;
    }

    25% {
        opacity: .3;
    }

    50% {
        opacity: .7;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes opacity {
    0% {

        opacity: 0;
    }

    25% {
        opacity: .3;
    }

    50% {
        opacity: .7;
    }

    100% {
        opacity: 1;
    }
}




/*
  ==============================================
  height-img
  ==============================================
  */

.height-img.animated {
    -webkit-animation-name: height-img;
    animation-name: height-img;
    -webkit-animation-duration: 5s;
    animation-duration: 5s;
    -webkit-animation-timing-function: ease;
    animation-timing-function: ease;
}

@keyframes height-img {
    0% {
        height: 976px;

    }

    25% {
        height: 800px;
    }

    50% {
        height: 700px;
    }

    75% {
        height: 600px;
    }

    100% {
        height: 500px;
    }
}

@-webkit-keyframes height-img {
    0% {
        height: 976px;
    }

    25% {
        height: 800px;
    }

    50% {
        height: 700px;
    }

    75% {
        height: 600px;
    }

    100% {
        height: 500px;
    }
}



/*
  ==============================================
  height-auto
  ==============================================
  */

.height-auto.animated {
    -webkit-animation-name: height-auto;
    animation-name: height-auto;
    -webkit-animation-duration: 4s;
    animation-duration: 4s;
    -webkit-animation-timing-function: ease;
    animation-timing-function: ease;
}

@keyframes height-auto {
    0% {
        height: 0;
        overflow: hidden;
    }

    25% {
        height: 50px;
        overflow: hidden;
    }

    50% {
        height: 150px;
        overflow: hidden;
    }

    75% {
        height: 350px;
        overflow: hidden;
    }

    100% {
        height: auto;
        overflow: hidden;

    }
}

@-webkit-keyframes height-auto {
    0% {
        height: 0;
        overflow: hidden;
    }

    25% {
        height: 50px;
        overflow: hidden;
    }

    50% {
        height: 150px;
        overflow: hidden;
    }

    75% {
        height: 350px;
        overflow: hidden;
    }

    100% {
        height: auto;
        overflow: hidden;
    }
}


/*
  ==============================================
  slideDown
  ==============================================
  */

.slideDown.animated {
    -webkit-animation-name: slideDown;
    animation-name: slideDown;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-timing-function: ease;
    animation-timing-function: ease;
}

@keyframes slideDown {
    0% {
        transform: translateY(-4rem);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@-webkit-keyframes slideDown {
    0% {
        -webkit-transform: translateY(-4rem);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0);
        opacity: 1;
    }
}


/*
  ==============================================
  slideUp
  ==============================================
  */

.slideUp.animated {
    -webkit-animation-name: slideUp;
    animation-name: slideUp;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-timing-function: ease;
    animation-timing-function: ease;
}

@keyframes slideUp {
    0% {
        transform: translateY(4rem);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@-webkit-keyframes slideUp {
    0% {
        -webkit-transform: translateY(4rem);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0);
        opacity: 1;
    }
}


/*
  ==============================================
  slideRight
  ==============================================
  */

.slideRight.animated {
    -webkit-animation-name: slideRight;
    animation-name: slideRight;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
}

@keyframes slideRight {
    0% {
        transform: translateX(-4rem);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@-webkit-keyframes slideRight {
    0% {
        -webkit-transform: translateX(-4rem);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateX(0);
        opacity: 1;
    }
}


/*
  ==============================================
  slideLeft
  ==============================================
  */

.slideLeft.animated {
    -webkit-animation-name: slideLeft;
    animation-name: slideLeft;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
}

@keyframes slideLeft {
    0% {
        transform: translateX(4rem);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@-webkit-keyframes slideLeft {
    0% {
        -webkit-transform: translateX(4rem);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateX(0);
        opacity: 1;
    }
}


/*
  ==============================================
  fadeIn
  ==============================================
  */

.fadeIn.animated {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
}

@keyframes fadeIn {
    0% {
        transform: scale(0.95);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        -webkit-transform: scale(0.95);
        opacity: 0;
    }

    100% {
        -webkit-transform: scale(1);
        opacity: 1;
    }
}


/*
  ==============================================
  expandIn
  ==============================================
  */

.expandIn.animated {
    -webkit-animation-name: expandIn;
    animation-name: expandIn;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-timing-function: ease;
    animation-timing-function: ease;
}

@keyframes expandIn {
    0% {
        letter-spacing: -0.5em;
        opacity: 0;
    }

    40% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes expandIn {
    0% {
        letter-spacing: -0.5em;
        opacity: 0;
    }

    40% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}


/*
  ==============================================
  focusIn
  ==============================================
  */

.focusIn.animated {
    -webkit-animation-name: focusIn;
    animation-name: focusIn;
    -webkit-animation-duration: 1.5s;
    animation-duration: 1.5s;
    -webkit-animation-timing-function: ease;
    animation-timing-function: ease;
}

@keyframes focusIn {
    0% {
        filter: blur(12px);
        opacity: 0;
    }

    100% {
        filter: blur(0);
        opacity: 1;
    }
}

@-webkit-keyframes focusIn {
    0% {
        -webkit-filter: blur(12px);
        opacity: 0;
    }

    100% {
        -webkit-filter: blur(0);
        opacity: 1;
    }
}


/*
  ==============================================
  bounceIn
  ==============================================
  */

.bounceIn.animated {
    -webkit-animation-name: bounceIn;
    animation-name: bounceIn;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-timing-function: ease;
    animation-timing-function: ease;
}

@keyframes bounceIn {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-1rem);
    }

    60% {
        transform: translateY(-0.5rem);
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes bounceIn {

    0%,
    20%,
    50%,
    80%,
    100% {
        -webkit-transform: translateY(0);
    }

    40% {
        -webkit-transform: translateY(-1rem);
    }

    60% {
        -webkit-transform: translateY(-0.5rem);
    }
}


/*
  ==============================================
  bounce
  ==============================================
  */

.bounce {
    display: inline-block;
    -webkit-animation-name: bounce;
    animation-name: bounce;
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-timing-function: ease;
    animation-timing-function: ease;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-1rem);
    }

    60% {
        transform: translateY(-0.5rem);
    }
}

@-webkit-keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        -webkit-transform: translateY(0);
    }

    40% {
        -webkit-transform: translateY(-1rem);
    }

    60% {
        -webkit-transform: translateY(-0.5rem);
    }
}


/*
  ==============================================
  rotate
  ==============================================
  */

.rotate {
    -webkit-animation-name: rotate;
    animation-name: rotate;
    -webkit-animation-duration: 6s;
    animation-duration: 6s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes rotate {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}


/*
  ==============================================
  ANIMATION
  ==============================================
  */

.onScroll {
    opacity: 0;
}

.animated {
    opacity: initial;
}


/*
  ==============================================
  fadeIn
  ==============================================
  */

.fadeIn.animated {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
}

@keyframes fadeIn {
    0% {
        transform: scale(0.95);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        -webkit-transform: scale(0.95);
        opacity: 0;
    }

    100% {
        -webkit-transform: scale(1);
        opacity: 1;
    }
}