@charset "UTF-8";

html {
    font-size: 8vw;
    
}

@font-face{
    font-family: "RivieraNightsTrial-BlackItalic";
    src: url(../fonts/RivieraNightsTrial-BlackItalic.otf);
  }
  @font-face{
    font-family: "Nunito-sans";
    src: url(../fonts/Genath-Bold.otf);
  }

  @font-face{
    font-family: "Genath-Bold";
    src: url(../fonts/NunitoSans-Black.ttf);
  }
  
  @font-face{
    font-family: "Akkurat";
    src: url(../fonts/Akkurat.otf);
  }


   .title{
    margin-top: -10%;;
    margin-bottom: -20%;
    cursor: pointer;
   }

   .title2{
    margin-top: 38%;;
    margin-bottom: auto;
    cursor: pointer;
   }



  body {
    margin: 0;
    margin-right: 1.5%;
    background-color: rgb(64, 64, 64);
    font-family: "Akkurat", sans-serif; 
  overflow-x: hidden;
  hyphens: auto;
  text-align: justify;
  -ms-text-kashida-space: 100%;
  color: #000000;
  }


  h1 {
    font-size: 20px;
    font-size: 2rem;
    margin: 20px;
   
    /* font-family: "Genath-Bold", sans-serif;  */
    text-align: center;

    
}



h3 {
  font-size: 1vw;
  font-size: 1rem;
  margin: 0.2vw;
  max-width: 400px;
  font-family: "Genath-Bold", sans-serif; 
  text-align: center;
  
}

h1:hover {
    animation-name: h1-anim;
    animation-duration: 0.3s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    font-size: 20px;
    font-size: 2rem;
    margin: 20px;
     /* font-family: "Genath-Bold", monospace;   color: rgb(0, 0, 0); */
     text-align: center;
}



@keyframes h1-anim {
    0%{
        
        color: rgb(255, 0, 0);
    }
    50%{
        
        color: rgb(128, 255, 0);
    }
   100%{
    
    color: rgb(0, 60, 255);
    }
}




h2 {
    

    font-size: 20px;
    font-size: 2rem;
    margin-bottom: 3vw;
    color: black;
    line-height: 80%;
     text-align: center;
     margin-right: -1.5%;
       font-family: "Genath-Bold", sans-serif;   color: rgb(0, 0, 0);
}

h2:hover {
    animation-name: text-shadow;
    animation-duration: 0.3s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
 /* padding-left: 10vw; */
    font-size: 0.2vw;
    font-size: 2rem;
    margin-bottom: 3vw;
    margin-right: -1.5%;
    line-height: 80%;
    text-align: center;

    font-family: "Genath-Bold", sans-serif; color: rgb(255, 255, 255);
}



@keyframes text-shadow {
    0%{
        text-shadow: -16px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    }
    50%{
        text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
        
    }
   100%{
    text-shadow: -16px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
 
    }
}



p {
    font-size: 2rem;
    font-size: 4vh;
    padding-left: 1.5%;
    
    
}

 /* ul {
    font-size: 2rem;
    font-size: 6vh;
    font-family: "Genath-Bold", sans-serif; 
}

ul{
    list-style-type:none;
    padding: 0;
    margin: 2%;
    font-family: "Akkurat", sans-serif; 
   
  } */
  li{
    padding-left: 1.5%;
    
  }
  li::before{
    content: "🧨";
    padding-left: 13%;
    color: green;
  }


  ul {
    animation-name: liste-puce;
    animation-duration: 0.3s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
 padding-left: 13%;

 font-size: 2rem;
 font-size: 6vh;
 font-family: "Genath-Bold", monospace; 
    
}


  .in {
    padding-left: 8%;
  }




@keyframes liste-puce {
  0%{
      content: "🧨";
      padding-right: 1.5%;
      color: rgb(255, 255, 0);
  }
  50%{
      content: "💥";
      padding-right: 1.5%;
      color: rgb(255, 255, 0);
  }
  100%{
      content: "🧨";
      padding-right: 1.5%;
      color: rgb(255, 255, 0);
  }
}


ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul li::before {
  animation: liste-puce 2s infinite;
}


.container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.fireworks {
  position: absolute;
  width: 1%;
  height: 1%;
}

.fireworks:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  opacity: 0.5;
}

.fireworks canvas {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.fireworks h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 6rem;
  font-weight: bold;
  text-align: center;
  text-shadow:  2% 2% rgba(0, 0, 0, 0.8);
}

.link {
  display: block;
  width: 20vw;
  height: 5vw;
  line-height: 200%;
  text-align: center;
  font-size: 2.6vw;
  color: rgb(69, 69, 69);
  background-color: #1b1b1b;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-family: 'Joyride-Regular', monospace;
  -webkit-text-stroke: 0.13vw rgb(255, 0, 0);
  color: rgb(255, 255, 0);
  position: absolute;
  }
  

  .sites3 {
    position: absolute;
    left: 78%;

    height: 10vh;
    width: auto;
    margin-bottom: 20%;
    
  }
  
  .sites3 .link {
   
   
    display: block;
    width: 12vw;
    height: 3vw;
    line-height: 160%;
    text-align: center;
    font-size: 1.9vw;
    
    }

    .video-link {
      width: 43%;
      height: auto;
      overflow: hidden;
      cursor: pointer;
      transition: transform 0.2s ease-in-out;
      border: 5px solid rgb(255, 0, 0);
     
    }
    
    .video-link img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    
    /* .video-link:hover {
      transform: scale(1.5);
    } */

    
    .video-popup {
      display: none;
      position: fixed;
      z-index: 999;
      top: 0;
      left: 0;
      min-width: 100%;
      min-height: 100%;
      width: auto;
      height: auto;
      background-color: rgba(0, 0, 0, 0.9);
    }
    
    .video-popup video {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      max-width: 90%;
      max-height: 90%;
    }
    
    .video-popup .close-button {
      position: absolute;
      top: 1vw;
      right: -3vw;
      font-size: 36px;
      color: #ff0000;
      background-color: transparent;
      border: none;
      cursor: pointer;
      padding-right: 8%;
    }
  
    .image-container {
      display: flex;
      flex-wrap: wrap;
      gap: 30px;
     padding: 1%;
     justify-content: center;
    }
    
    .image-container-random {
      display: flex;
      flex-wrap: nowrap;
      gap: 30px;
     padding: 1%;
     justify-content: center;
    }



.all-videos {
  width: 100vw;
  height: 100vh;

  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  
}


.video-container {
  /* position: absolute;
  transform: translate(-50%,-50%); */
  width: 50%;
  height: 40%;
  /* height: auto; */
  
}

.video-container video {
  width: 100%;
  height: auto;
  border: 0.2vh solid #ff0000;
}
/* 
.video-container:nth-child(1){
  left:30%;
  margin-top: 14%;
  
}

.video-container:nth-child(3){
  left:70%;
  margin-top: 14%;
  
}

.video-container:nth-child(2){
  left:30%;
  margin-top: 36.4%;
  
}

.video-container:nth-child(8){
  left:70%;
  margin-top: 36.37%;
 
}

.video-container:nth-child(5){
  left:30%;
  margin-top: 59%;
  
}

.video-container:nth-child(4){
  left:70%;
  margin-top: 58.1%;
 
} 



.video-container:nth-child(6){
  left:30%;
  margin-top: 80.7%;
  
}

.video-container:nth-child(7){
  left:70%;
  margin-top: 80.7%;
  
}
*/



@media only screen and (max-width: 600px) {

  
     .title{
      margin-top: -10%;;
      margin-bottom: -20%;
      cursor: pointer;
     }
  
     .title2{
      margin-top: 0%;;
      margin-bottom: auto;
      cursor: pointer;
     }

     .all-videos {
      box-sizing: border-box;
      flex-direction: column;
      height: auto;
      width: 100vw;
     }
     .video-container {
      width: 100%;
     }
  
  
  
    body {
      margin: 0;
      background-color: rgb(64, 64, 64);
      /* margin-left: 2.1%;
      margin-right: 2.1%; */
      font-family: "Akkurat", sans-serif; 
    overflow-x: hidden;
    text-align: left;
    hyphens: auto;
    -ms-text-kashida-space: 100%;
    color: #000000;
    }
  
  
    h1 {
      font-size: 20px;
      font-size: 2rem;
      margin: 20px;
     
      /* font-family: "Genath-Bold", sans-serif;  */
      text-align: center;
  
      
  }
  
  
  
  h3 {
    font-size: 1vw;
    font-size: 1rem;
    margin: 0.2vw;
    max-width: 400px;
    font-family: "Genath-Bold", sans-serif; 
    text-align: center;
    
  }
  
  h1:hover {
      animation-name: h1-anim;
      animation-duration: 0.3s;
      animation-iteration-count: infinite;
      animation-timing-function: linear;
      font-size: 20px;
      font-size: 2rem;
      margin: 20px;
       /* font-family: "Genath-Bold", monospace;   color: rgb(0, 0, 0); */
       text-align: center;
  }
  
  
  
  @keyframes h1-anim {
      0%{
          
          color: rgb(255, 0, 0);
      }
      50%{
          
          color: rgb(128, 255, 0);
      }
     100%{
      
      color: rgb(0, 60, 255);
      }
  }
  
  
  
  
  h2 {
      
  
      font-size: 20px;
      font-size: 2rem;
      margin-bottom: 3vw;
      color: black;
      line-height: 80%;
       text-align: center;
    
         font-family: "Genath-Bold", sans-serif;   color: rgb(0, 0, 0);
  }
  
  h2:hover {
      animation-name: text-shadow;
      animation-duration: 0.3s;
      animation-iteration-count: infinite;
      animation-timing-function: linear;
   /* padding-left: 10vw; */
      font-size: 0.2vw;
      font-size: 2rem;
      margin-bottom: 3vw;
      line-height: 80%;
      text-align: center;
  
      font-family: "Genath-Bold", sans-serif; color: rgb(255, 255, 255);
  }
  
  
  
  @keyframes text-shadow {
      0%{
          text-shadow: -16px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
      }
      50%{
          text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
          
      }
     100%{
      text-shadow: -16px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
   
      }
  }
  
  
  
  p {
      font-size: 2rem;
      font-size: 4vh;
      padding-left: 1.5%;
      
      
  }
  
   /* ul {
      font-size: 2rem;
      font-size: 6vh;
      font-family: "Genath-Bold", sans-serif; 
  }
  
  ul{
      list-style-type:none;
      padding: 0;
      margin: 2%;
      font-family: "Akkurat", sans-serif; 
     
    } */
    li{
      padding-left: 1.5%;
      
    }
    li::before{
      content: "🧨";
      padding-left: 13%;
      color: green;
    }
  
  
    ul {
      animation-name: liste-puce;
      animation-duration: 0.3s;
      animation-iteration-count: infinite;
      animation-timing-function: linear;
   padding-left: 13%;
  
   font-size: 2rem;
   font-size: 6vh;
   font-family: "Genath-Bold", monospace; 
      
  }
  
  
    .in {
      padding-left: 8%;
    }
  
  
  
  
  @keyframes liste-puce {
    0%{
        content: "🧨";
        padding-right: 1.5%;
        color: rgb(255, 255, 0);
    }
    50%{
        content: "💥";
        padding-right: 1.5%;
        color: rgb(255, 255, 0);
    }
    100%{
        content: "🧨";
        padding-right: 1.5%;
        color: rgb(255, 255, 0);
    }
  }
  
  
  ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  ul li::before {
    animation: liste-puce 2s infinite;
  }
  
  
  .container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
  
  .fireworks {
    position: absolute;
    width: 0.1%;
    height: 0.1%;
  }
  
  .fireworks:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    opacity: 0.5;
  }
  
  .fireworks canvas {
    width: 100%;
    height: 30%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    top: 80%;
    pointer-events: none;
  }
  
  .fireworks h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 6rem;
    font-weight: bold;
    text-align: center;
    text-shadow:  2% 2% rgba(0, 0, 0, 0.8);
  }
  
  .link {
    display: block;
    width: 20vw;
    height: 5vw;
    line-height: 200%;
    text-align: center;
    font-size: 2.6vw;
    color: rgb(69, 69, 69);
    background-color: #1b1b1b;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-family: 'Joyride-Regular', monospace;
    -webkit-text-stroke: 0.13vw rgb(255, 0, 0);
    color: rgb(255, 255, 0);
    position: absolute;
    }
    
  
    .sites3 {
      position: absolute;
      left: 78%;
  
      height: 10vh;
      width: auto;
      margin-bottom: 20%;
      
    }
    
    .sites3 .link {
     
     
      display: block;
      width: 12vw;
      height: 3vw;
      line-height: 160%;
      text-align: center;
      font-size: 1.9vw;
      
      }
  
      .video-link {
        width: 43%;
        height: auto;
        overflow: hidden;
        cursor: pointer;
        transition: transform 0.2s ease-in-out;
        border: 5px solid rgb(255, 0, 0);
       
      }
      
      .video-link img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
      
      /* .video-link:hover {
        transform: scale(1.5);
      } */
  
      
      .video-popup {
        display: none;
        position: fixed;
        z-index: 999;
        top: 0;
        left: 0;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        background-color: rgba(0, 0, 0, 0.9);
      }
      
      .video-popup video {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 90%;
        max-height: 90%;
      }
      
      .video-popup .close-button {
        position: absolute;
        top: 58vw;
        right: -3vw;
        font-size: 36px;
        color: #ff0000;
        background-color: transparent;
        border: none;
        cursor: pointer;
        padding-right: 8%;
      }
    
      .image-container {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
       padding: 1%;
       justify-content: center;
      }
      
      .image-container-random {
        display: flex;
        flex-wrap: nowrap;
        gap: 30px;
       padding: 1%;
       justify-content: center;
      }
  
/*   
  
  .all-videos {
    width: 100%;
    height: 100%;
    
  }
  
  
  .video-container {
    position: absolute;
    transform: translate(-50%,-50%);
   
    width: 40%;
    height: auto;
    
  }
  
  .video-container video {
    width: 100%;
    height: auto;
    border: 0.2vh solid #ff0000;
  }
  
  .video-container:nth-child(1){
    left:30%;
    margin-top: 14%;
    
  }
  
  .video-container:nth-child(3){
    left:70%;
    margin-top: 14%;
    
  }
  
  .video-container:nth-child(2){
    left:30%;
    margin-top: 36.4%;
    
  }
  
  .video-container:nth-child(8){
    left:70%;
    margin-top: 36.37%;
   
  }
  
  .video-container:nth-child(5){
    left:30%;
    margin-top: 59%;
    
  }
  
  .video-container:nth-child(4){
    left:70%;
    margin-top: 58.1%;
   
  }
  
  
  
  .video-container:nth-child(6){
    left:30%;
    margin-top: 80.7%;
    
  }
  
  .video-container:nth-child(7){
    left:70%;
    margin-top: 80.7%;
    
  } */


}

























/* 
#recipe {
  background-color: rgb(64, 64, 64);
  color: rgb(0, 0, 0);
  padding: 0px;
  border: 1px solid rgb(64, 64, 64);

  height: 4000vh; /* Fait la hauteur de la fenêtre du navigateur 
  width: 100vw; /* Fait la largeur de la fenêtre du navigateur 
}

 
  
  




@keyframes text-shadow {
    0%{
        text-shadow: -10px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    }
    50%{
        text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
        
    }
   100%{
    text-shadow: -10px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
 
    }
} */


/* 

  #recipe {
    transform: scale(1);
  }

  .boum {
    animation-delay: 2s;
    animation: resize 2s ease 1 !important;
    animation-fill-mode: forwards;
  }
  
 
 

  @keyframes resize {
    0% {
      transform: scale(1);
    }
    10% {
      transform: scale(1);
    }
    20% {
      transform: scale(0.8);
    }
    90% {
      transform: scale(0.8);
    }
    100% {
      transform: scale(1);
    }
  }
  


  
  #bouton2 {
    position: absolute;
    width: 50vw;
    height: 50vw;
    left: 50%;
    top: 55%;
    transform: translate(-50%, -50%);
    background-image: url('file:///Users/marcfacchinetti/Desktop/Ecal%202022/Perso/cours/block%20s2/matie%CC%80re%20block%20v1/essais%20site%20v2/00-v3/artifices-ecploser%20arrie%CC%80re/artifice%20test%203/images/39181.gif'); /* Remplacez par le chemin de votre image 
    background-size: cover; /* Pour que l'image couvre entièrement le bouton 
    background-repeat: no-repeat; /* Pour éviter la répétition de l'image 
    background-position: center center; /* Pour centrer l'image dans le bouton 
  }
    */