
/* ---------------------------------------------- */
/* ---  Animation CSS pour les Grands Challenges ---*/
/* ---------------------------------------------- */

.watchMeButton {
  /* transition: 1s ease-in;  */
  /* transition-property: scale, rotate; */
  /* border-width: 4px; */
  /* border-image: linear-gradient(45deg, var(--black_smooth) 0%, var(--secondary_light) 100%) 1; */
  animation: scale_up_rorate_and_back 2.6s infinite;
}

@keyframes scale_up_rorate_and_back {
  0% {
    scale: 1;
    rotate: 0deg;
  }
  50% {
    scale: 1;
    rotate: 0deg;
  }
  70% {
    scale: 1.1;
    rotate: 10deg;
  }
  80% {
    rotate: -8deg;
  }
  85% {
    rotate: 6deg;
  }
  90% {
    rotate: -4deg;
  }
  95% {
    rotate: 2deg;
  }
  100% {
    scale: 1;
    rotate: 0deg;
  }
}

.clickMe {
    scale : 1;
    rotate: 0deg;
}

.clickMe:hover {
    scale : 1.2;
    rotate: 20deg;
    animation: ease-in-out 1s;
}

/* --------------------------------- */

.zoomOscillation {
    /* scale : 1; */
    animation: scale_oscillation_20 1.6s infinite ease-in-out;
}

@keyframes scale_oscillation_20 {
    0% {
        scale : 0.95;
    }
    50% {
        scale : 1.2;
    }
    100% {
        scale : 0.95;
    }
}

.zoomOscillation_sm {
    /* scale : 1; */
    animation: scale_oscillation_5 2s infinite ease-in-out;
}

@keyframes scale_oscillation_5 {
    0% {
        scale : 1;
    }
    50% {
        scale : 1.05;
    }
    100% {
        scale : 1;
    }
}

/* --------------------------------- */

.happyPlayer {
    aspect-ratio: 1/1;
    animation: vertical_jump_6px 1.6s infinite ease-in-out;
}

@keyframes vertical_jump_6px {
    0% {
        scale: 1;
        transform: translate3d(0px, 0px, 0px);
        aspect-ratio: 1/1;
    }
    25% {
        transform: translate3d(0px, -6px, 0px);
        aspect-ratio: 3/2;
        scale:1.05;
    }
    50% {
        transform: translate3d(0px, 0px, 0px);
        aspect-ratio: 1/1;
        scale: 1;
    }
}

/* --------------------------------- */

.moving_arrow {
    animation: horizontal_oscillation_text 1.2s infinite;
}

@keyframes horizontal_oscillation_text {
    0% {
        transform: translateX(0px);
    }
    50% {
        transform: translateX(-8px);
    }
    100% {
        transform: translateX(0px);
    }
}

.moving_arrow_vertical {
    animation: vertical_oscillation_text 1.2s infinite;
}

@keyframes vertical_oscillation_text {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* @keyframes vertical_jump_4px {
    0% {
        transform: translate3d(-2px, 0px, 0px);
        aspect-ratio: 1/1;
    }
    25% {
        transform: translate3d(1px, -4px, 0px);
        aspect-ratio: 3/2;
    }
    50% {
        transform: translate3d(2px, 0px, 0px);
        aspect-ratio: 1/1;
    }
    75% {
        transform: translate3d(-1px, -4px, 0px);
        aspect-ratio: 3/2;
    }
    100% {
        transform: translate3d(-2px, 0px, 0px);
        aspect-ratio: 1/1;
    }
} */

/* --------------------------------- */

/* .appearing_on_scroll {
    animation: scroll_anim_defi_de_la_terre linear 2s;
    animation-timeline: view();
    animation-range-start: cover 0%;
    animation-range-end: contain 50%;
}

@keyframes scroll_anim_defi_de_la_terre {
    from {
        transform: scale(0);
        opacity: 0.2;
    }
    from {
        transform: scale(1);
        opacity: 1;
    }
} */


/* --------------------------------- */

.zoomInRotate {
    scale : 1.6;
    animation: zoom_in_rotate 0.6s ease-in-out;
}

@keyframes zoom_in_rotate {
    0% {
        scale : 1;
        rotate: 0deg;
    }
    100% {
        scale : 1.6;
        rotate: 359deg;
    }
}


/* --------------------------------- */

.nonono {
    animation: nonono 0.6s ease-in-out;
}

@keyframes nonono {
    0% {
        transform: translateX(0px);
    }
    10% {
        transform: translateX(-8px);
    }
    30% {
        transform: translateX(8px);
    }
    50% {
        transform: translateX(-8px);
    }
    70% {
        transform: translateX(8px);
    }
    90% {
        transform: translateX(-8px);
    }
    100% {
        transform: translateX(0px);
    }
}

.yesyesyes {
    rotate : 0deg;
    scale:1;
    animation: yesyesyes 0.6s ease-in-out;
}

@keyframes yesyesyes {
    0% {
        rotate : 0;
    }
    10% {
        scale:1.05;
        rotate : -4deg;
    }
    30% {
        rotate : 4deg;
    }
    50% {
        rotate : -4deg;
    }
    70% {
        rotate : 4deg;
    }
    90% {
        rotate : -4deg;
    }
    100% {
        scale:1;
        rotate : 0;
    }
}


/* --------------------------------- */

.smoothOscillation {
    scale: 1.1;
    animation: smooth_floating 6s infinite ease-in-out;
}

@keyframes smooth_floating {
    0% {
        rotate: 0;
        scale: 1.1;
    }
    25% {
        rotate: 10deg;
        scale: 0.9;
    }
    50% {
        rotate: 0;
        scale: 1.1;
    }
    75% {
        rotate: -10deg;
        scale: 0.9;
    }
    100% {
        rotate: 0;
        scale: 1.1;
    }
}

/* --------------------------------- */

.verySmoothOscillation {
    scale: 1.02;
    animation: very_smooth_floating 6s infinite ease-in-out;
}

@keyframes very_smooth_floating {
    0% {
        rotate: 0;
        scale: 1.02;
    }
    25% {
        rotate: 3deg;
        scale: 0.98;
    }
    50% {
        rotate: 0;
        scale: 1.02;
    }
    75% {
        rotate: -3deg;
        scale: 0.98;
    }
    100% {
        rotate: 0;
        scale: 1.02;
    }
}

/* --------------------------------- */

.rotateOscillation{
    scale: 1.1;
    animation: rotate_10deg 6s infinite ease-in-out;
}

.rotateOscillation2{
    scale: 1.1;
    animation: rotate_10deg 6s infinite ease-in-out;
    animation-delay: 2s;
}

@keyframes rotate_10deg {
    0% {
        rotate: 0;
    }
    25% {
        rotate: 8deg;
    }
    50% {
        rotate: 0;
    }
    75% {
        rotate: -8deg;
    }
    100% {
        rotate: 0;
    }
}

/* ----------------------------------- */

.slideInFade {
    scale: 1;
    animation: slide_in_and_fade_in 1.2s;
}

.slideInFadeFast {
    scale: 1;
    animation: slide_in_and_fade_in 0.8s;
}

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

/* ----------------------------------- */
.rotateContinue{
    rotate: 0deg;
    animation: rotate_continue_l 3s infinite linear;
}

@keyframes rotate_continue_l {
    0%{
        rotate: 0deg;
    }
    100%{
        rotate: 360deg;      
    }
}

/* ----------------------------------- */
.rotate180{
    animation: rotate_180_l 0.6s;
}

@keyframes rotate_180_l {
    from{
        rotate: -180deg;
    }
    to{
        rotate: 0deg;      
    }
}

/* ----------------------------------- */
.rotatePlus90{
    animation: rotate_plus_90 0.6s;
}

@keyframes rotate_plus_90 {
    from{
        rotate: -90deg;
    }
    to{
        rotate: 0deg;      
    }
}

/* ----------------------------------- */
.rotateMinus90{
    animation: rotate_minus_90 0.6s;
}

@keyframes rotate_minus_90 {
    from{
        rotate: +90deg;
    }
    to{
        rotate: 0deg;      
    }
}

/* ----------------------------------- */
.floatingFloppy{
    scale: 1;
    animation: floating_h 7.2s ease-in-out infinite;
}

@keyframes floating_h {
    0% {
        transform: translate3d(3px, -2px, 0px);
        scale: 1;
        rotate: 5deg;   
    }
    25% {
        transform: translate3d(0px, 2px, 0px);
    }
    50%{
        transform: translate3d(-3px, -2px, 0px);
        scale: 0.95;
        rotate: -5deg;   
    }
    75% {
        transform: translate3d(0px, 2px, 0px);
    }
    100%{
        transform: translate3d(3px, -2px, 0px);
        scale: 1;
        rotate: 5deg;   
    }
}

/* .rotateUpLeftDown{

} */


/* ----------------------------------- */
.extendingPanel{
    width: 320px;
    animation: extend_panel 0.15s ease-in-out;
}

@keyframes extend_panel {
    0% {
        width: 320px ;
    }
    100%{
        width: 640px ;
    }
}

.compressPanel{
    width: 640px;
    animation: compress_panel 0.3s ease-in-out;
}

@keyframes compress_panel {
    0% {
        width: 640px ;
    }
    100%{
        width: 320px ;
    }
}

.delayFadeDisplay{
    animation: delay_fade_visibility 0.1s ease-in;    
}

@keyframes delay_fade_visibility {
    0% {
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}

.growingWidthTo100{
    animation: growing_width_100 0.4s ease-in;
}
@keyframes growing_width_100 {
    0% {
        width: 0%;
    }
    100%{
        width: 100%;
    }
}

/* ----------------------------------- */
.verticalExpand{
    overflow: hidden;
    animation: vertical_expand 0.4s ease-in;
}
@keyframes vertical_expand {
    0% {
        height: 0px;
    }
    100%{
        height: 100%;
    }
}

/* ----------------------------------- */

.slowFadeInAndOut {
    opacity: 0;
    animation: slow_fade_in_and_out 4s;
}

@keyframes slow_fade_in_and_out {
    0%{
        opacity: 0;
        
    }
    10%{
        opacity: 0;
        
    }
    40%{
        opacity: 1;
        
    }
    70%{
        opacity: 1;
        
    }
    100%{
        opacity: 0;
        
    }
}

/* ----------------------------------- */

.slowFadeAndZoomInAndOut {
    opacity: 1;
    scale: 1;
    animation: slow_fade_and_zoom_in 1.6s;
}

@keyframes slow_fade_and_zoom_in {
    0%{
        opacity: 0;
        scale: 0;
    }
    100%{
        opacity: 1;
        scale :1;
    }
}

/* ----------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------- */

.unzoomInAndLeft {
    opacity: 1;
    scale: 1;
    rotate : 0deg;
    animation: zoom_mimus_and_go_left 0.6s ease-out;
}

@keyframes zoom_mimus_and_go_left {
    0%{
        scale: 1.3;
        rotate : 4deg;
        opacity : 0.8;
        /* padding-left: 24px; */
    }
    30%{
        scale :1;
        opacity : 1;
        rotate : -2deg;
        /* padding-left: 24px; */
    }
    100%{
        scale :1;
        opacity : 1;
        rotate : 0deg;
        padding-left: 0px;
    }
}



.unzoomIn {
    opacity: 1;
    scale: 1;
    rotate : 0deg;
    animation: zoom_mimus 0.6s ease-out;
}

@keyframes zoom_mimus {
    0%{
        scale: 1.3;
        opacity : 0.8;
    }
    30%{
        scale :1;
        opacity : 1;
    }
    100%{
        scale :1;
        opacity : 1;
    }
}

.zoomSlow {
    opacity: 1;
    scale: 1;
    animation: zoom_slow 6s ease-in-out;
}

@keyframes zoom_slow {
    0%{
        scale: 1;
    }
    100%{
        scale :1.1;
    }
}

.floatingCircle{
    scale: 1;
    rotate : -4deg;
    animation: floating_circle 9s ease-in-out infinite;
}

@keyframes floating_circle {
    0% {
        transform: translate3d(12px, -8px, 0px);
        scale: 1; 
        rotate : -4deg;
    }
    25% {
        transform: translate3d(0px, 8px, 0px);
    }
    50%{
        transform: translate3d(-12px, -8px, 0px);
        scale: 0.85; 
        rotate : 6deg;
    }
    75% {
        transform: translate3d(0px, 8px, 0px);
    }
    100%{
        transform: translate3d(12px, -8px, 0px);
        scale: 1; 
        rotate : -4deg;
    }
}

.floatingCircle2{
    scale: 1;
    rotate : 6deg;
    animation: floating_circle2 8.2s ease-in-out infinite;
}

@keyframes floating_circle2 {
    0% {
        transform: translate3d(12px, 8px, 0px);
        rotate : 6deg;
        scale: 1; 
    }
    25% {
        transform: translate3d(0px, -8px, 0px);
    }
    50%{
        transform: translate3d(-4px, 8px, 0px);
        scale: 1.1; 
        rotate : -2deg;
    }
    75% {
        transform: translate3d(0px, -8px, 0px);
    }
    100%{
        transform: translate3d(12px, 8px, 0px);
        scale: 1; 
        rotate : 6deg;
    }
}