* {
    font-family: "Yu Gothic Light", sans-serif ;
    list-style-type: none;
    margin: 0;
}
@font-face {
    font-family: "Yu Gothic Light";
    src: local("Yu Gothic Light"),
        local("YuGothL.ttc");
        
}
@font-face {
    font-family: "Yu Mincho Light";
    src: local("Yu Mincho Light"),
        local("yuminl.ttf");

}


body {
    overflow: auto;
    background-color: rgb(15, 19, 22);
}


.display{
  height: 70vh;
  width: 100%;
    position: fixed;
    display: flex;
    top: 0;  
    left: 0;
    align-items: center;
    justify-content: center;
    background-color: rgb(15, 19, 22);
    z-index: 1;
  }
  
  header{
    display: flex;
    flex-direction: row;
    align-self: end;
    width: 100%;
    animation: slide 3s;
  }
  
  @keyframes slide{
    from{
        
        transform: translateY(-100vh);
        opacity: 0.01;
    }
  
    
    to{
      transform: translateY(0);
        opacity: 1;
    }
  }
  
  h1{
    z-index: 0;
    position: relative;
    font-weight: lighter;
    color: #ffffff;
    margin: 0;
    text-align: right;
    width: 50%;
    line-height: 1.2;
    font-size: 2.4vw;
    align-self: start;
    padding-right: 1%;
    padding-bottom: 1%;
    border-right: #C22D29 solid 2px;
  }
  
  h2{
    z-index: 0;
    text-align: left;
    font-weight: normal;
    font-size: 2vw;
    line-height: 0.8;
    padding-left: 1%;
    color: #ABABAB;
    width: 50%;
    align-self: end;
    padding-bottom: 0.5%;
  }
  
  .screen{
    align-items: center;
    display: flex;
    width: 100%;
    position: absolute;
    justify-content: center;
    height: 62vh;
    align-self: start;
    padding-top: 1vh;
  }
  
  #imageshow{
    max-width:100%;
    max-height:100%;
    z-index: 2;
  }
  
  .galerie{
    display: flex;
    position: relative;
    flex-direction: row;
    flex-wrap: wrap;
    top: 70vh;
    width: 100%;
    justify-content: space-between;
    background-color: #ffffff;
    animation: colorchange 5s;
    z-index: 0;
    padding: 1vh;
  }
  
  @keyframes colorchange{
    from{
      background-color: rgb(15, 19, 22) ;
      
    }
  50%{
    background-color: rgb(15, 19, 22) ;
    
  }
    to{
      background-color: #ffffff;
    }
  }
  
  .galerie img{
      height: 12vh;
      animation-name: Showing;
      animation-duration: 8s;
    }  
    
    @keyframes Showing{
      from{
           opacity: 0;
           
      }
    45%{
      opacity: 0;
      
    }
      to{
        opacity: 1;
      }
    }
  
  picture{
      background: transparent;
      
  }  
  
  .animTonnerre{
    display: grid;
    width: 10vw;
    height: 5vh;
    position: fixed;
    background: none;
    z-index: 1;
  top: 25vh;
  left: 45vw;
}

#Calc1{
    fill:#000;
    stroke: none;
    position: absolute;
    display: grid;
    justify-self: center;
  height: 20px;
  align-self: center;
  opacity: 0;
  animation: font1 5s infinite linear;
  animation-delay: 3s;
}


@keyframes font1 {
    from {
        transform: scale(1);
        fill: none;
        opacity: 1;
    }
    1%{
        fill: #fff;
    }
    2%{
        fill: #C22D29;
    }
    3%{
        fill: #fff;
    }
    5%{
        fill: #C22D29;
    }

    19%{
        transform: scale(1);
        
       
    }
   
    20%{
        transform: scale(1.2) translateY(0px);
        opacity: 1;
       
    }
    21%{
        transform: scale(1.3) translateY(10px);
        opacity: 1;
        filter: blur(0);
    }
    90%{
        opacity: 0.2;
        filter: blur(2px);
    }
    to {
        transform: scale(1.6) translateY(-10px);
       fill: #C22D29;
       opacity: 0;
       filter: blur(2px);
    }
}

#Calc2{
    fill:#000;
    stroke: none;
    position: absolute;
  height: 30px;
  display: grid;
  justify-self: center;
  align-self: center;
  opacity: 0;
  animation: font2 5s linear infinite;
  animation-delay: 3s;
}


@keyframes font2 {
    from {
        transform: scale(1.2);
        fill: #C22D29;
        opacity: 0;
       
    }
    20%{
        transform: scale(1.2);
        opacity: 0;
           
    }
    21%{
        transform: scale(1.3);
        opacity: 1;
           
    }
    30%{
        transform: scale(1.4) translate(0px,0px);
        opacity: 1;
           
    }
    31%{
        transform: scale(1.5) translate(-10px,10px);
        opacity: 0.4;
        filter: blur(0);
           
    }
    90%{
        opacity: 0.2;
        filter: blur(2px);
    }
    to {
        transform: scale(1.6) translate(-30px,20px);
        fill: #C22D29;
        opacity: 0;
        filter: blur(2px);
    }
}



#Calc3{
    fill:none;
    stroke:#000;
    stroke-width:1px;
  position: absolute;
  height: 60px;
  display: grid;
  justify-self: center;
  align-self: center;
  opacity: 0;
  animation: font3 5s linear infinite;
  animation-delay: 3s;
}
@keyframes font3 {
    from {
        transform: scale(1.3);
        fill: rgb(194, 45, 41);
        opacity: 0;
       
    }
    30%{
        transform: scale(1.3);
        opacity: 0;
           
    }
    31%{
        transform: scale(1.4);
        opacity: 1;
           
    }
    40%{
        transform: scale(1.5) translate(0px,0px);
        opacity: 1;        
        stroke:rgba(194, 45, 41,0.5) ;
        stroke-width: 1px;
           
    }
    41%{
        transform: scale(1.5) translate(-20px,10px);
        opacity: 1;
        stroke:#C22D29;
        stroke-width: 1px;
           
    }

    50%{
        fill: rgba(194, 45, 41, 0);
        filter: blur(0);
    }
    90%{
        opacity: 0.2;
        filter: blur(2px);
    }
    to {
        transform: scale(1.7) translate(-25px,40px);
        fill: none;
        stroke:rgb(194, 45, 41) ;
        opacity: 0;
        filter: blur(2px);
      
    }
}
#Calc4{
    fill:none;
    stroke:#000;
    stroke-width:1px;
  position: absolute;
  height: 150px;
  display: grid;
  justify-self: center;
  align-self: center;
  stroke: #C22D29;
  opacity: 0;
  animation: font4 5s linear infinite;
  animation-delay: 3s;
}
@keyframes font4 {
    from {
        transform: scale(1.4);
        stroke: #C22D29;
        opacity: 0;
       
    }
    40%{
        transform: scale(1.4);
        opacity: 0;
           
    }
    41%{
        transform: scale(1.5);
        opacity: 1;
           
    }
    50%{
        transform: scale(1.6) translate(0px,0px);
        stroke-width: 1px;
        opacity: 1;
           
    }
    51%{
        transform: scale(1.7) translate(10px,10px);
        stroke: #C22D29;
        stroke-width: 1.5px;
        opacity: 0.8;
        filter: blur(0);
           
    }
    90%{
        opacity: 0.2;
        filter: blur(2px);
    }
    to {
        transform: scale(1.9) translate(30px,-20px);
        stroke: #C22D29;
        opacity: 0;
        filter: blur(2px);
      
    }
}

#Calc5{
    fill:none;
    stroke:#000;
    stroke-width:1px;
  position: absolute;
  z-index: 5;
  height: 300px;
  display: grid;
  justify-self: center;
  align-self: center;
  fill: none;
  opacity: 0;
  animation: font5 5s linear infinite;
  animation-delay: 3s;
}
@keyframes font5 {
    from {
        transform: scale(1.5) translate(0px,0px);
        stroke: #C22D29;
        opacity: 0;
       
    }
    50%{
        transform: scale(1.5);
        opacity: 0;
           
    }
    51%{
        transform: scale(1.6);
        opacity: 1;
           
    }
    60%{
        transform: scale(1.7);
        stroke-width: 1px;
        opacity: 1;
           
    }
    61%{
        transform: scale(1.8)translate(-10px,-20px);
        stroke: #C22D29;
        stroke-width: 2px;
        opacity: 1;
        filter: blur(0);
    }
    80%{
        opacity: 0.8;
        filter: blur(2px);
    }
    to {
        transform: scale(2) translate(-15px,-40px);
        stroke: #C22D29;
        opacity: 0;
        filter: blur(2px);
      
    }
}




  /*Mobile Portrait*/
@media screen and (max-width:440px) and (orientation: portrait) {

h1{
  font-size: 6vw;
}

h2{
  font-size: 5vw;
  line-height: 1.2vw;
  align-self: center;
}
 .screen{
  height: 63vh;
 }


}









/*Tablette portrait*/
@media screen and (min-width:441px) and (max-width:1279px) and (orientation: portrait){


  h1{
    font-size: 4vw;
    padding-top: 1%;
  }
  
  h2{
    font-size: 3vw;
    padding-top: 1%;
    align-self: center;
  }
   .screen{
    height: 65vh;
   }
  



}






/*mobile paysage*/
@media screen and (max-width:930px) and (orientation: landscape) {

  h1{
    font-size: 3.5vw;
  }
  
  h2{
    font-size: 3vw;
    line-height: 1.2vw;
    align-self: center;
  }

  .display{
    width: 70vw;
  height: 100vh;
  }
   .screen{
    height: 80vh;
   }

   .galerie{
    top: 0;
  left: 70vw;
  width: 29vw;
   }
   .galerie img {
    height: 30vh;
    max-width: 100%;
    max-height: 100%;
  }

}





/*Tablette Paysage*/
@media screen and (min-width:1079px) and (max-width:1260px) and (orientation: landscape), (not(hover)){

h1{
  font-size: 3vw;
  padding-top: 1%;
}  

h2{
  font-size: 2.2vw;
  padding: 1%;
  align-self: center;
}  
.screen{
  height: 63vh;
}


}