*{
    padding: 0;
    margin: 0;
    font-family: 'Segoe UI';
    box-sizing: border-box;
}
li{
    list-style-type: none;
    text-decoration: none;
}

body{
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    width: 100%;
    overflow-x: hidden;
}

/* Menu de navigation */

/* Fin Menu de navigation */

.reveal{
    opacity: 0;
    transform: translateY(30px);
}

.reveal-visible{
    opacity: 1;
    transform: translateY(0);
    transition: 1s cubic-bezier(.5, 0, 0, 1);
}




.video-bk{
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%; 
    min-height: 100%;
    width: auto; 
    height: auto;
    z-index: -1000;
    overflow: hidden;
    object-fit: contain;
}

  




  .cards{
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: space-evenly;
    gap: 15px;
    flex-wrap: wrap;
    row-gap: 150px;
    position: relative;
    top: 100px;

}

.cards .items{
    width: 250px;
    height: 250px;

    
}
.cards .items a{
    text-decoration: none;
    
}
.cards .items img{
    width: 100%;
    border-radius: 5px;
}
.cards .items h3{
    font-size: calc(.7rem + 1.3vw);
    height: 40px;
}
.cards .items span{
    color:#00FFFF;
    font-weight: bold;
    font-size:  calc(.7rem + 1vw);
}

.cards .items #cadena{
    height: 40px;
    width: 40px;
}

.hover-message {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.6);
            color: white;
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            font-size: calc(.8rem + 1vw);
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 2;
            border-radius: 6px;
            padding: 2px;
        }
        .items.lock:hover .hover-message {
            opacity: 1;
        }

#titre{
    color: white;
    font-size: calc(1rem + 2.7vw);
    width: 93%;
    position:relative ;
    top: 40px;
    left: 20px;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    border-radius: 10px;
    
} 



.video{
    display: flex;
    align-items: center;
    justify-content: start;
    width: 100%;
    position: relative;
    top: 100px;
    padding-left: 50px;
}

iframe{
    border-radius: 8px;
    width: 900px;
    height: 450px;
}

.copy-button {
    cursor: pointer;
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 8px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin-bottom: 10px;
  }
.editeur{
    width:70%;
    position: relative;
    top: 200px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    left: 50px;
    row-gap: 20px;
    height: 700px;
    
}

.langage{
    font-weight: bold;
}
pre{
   background-color: rgb(255, 255, 255);
   width: 100%;
   border-radius: 5px;
   overflow: scroll;
   font-size: calc(.6rem + 1vw);
}

pre #codeBlock {
    position: relative;
    display: flex;
    row-gap: 5px;
    flex-direction: column;
    padding-left: 20px;
    
}



#myBtn {
    position: fixed;
    height: 100px;
    bottom: -30px;
    right: 30px;
    z-index: 99;
  }
  
  #myBtn img {
    width: 50px; /* Ajustez la taille de l'image selon vos besoins */
    height: 50px; /* Ajustez la taille de l'image selon vos besoins */
    border-radius: 50%; /* Assurez-vous que l'image est de forme ronde */
    border: none;
    transition: all 0.3s;
    display: none;
  }
  
  #myBtn:hover img {
    opacity: 0.8; /* Opacité réduite au survol */
    transform: scale(.95);
    
  }

  #myBtn.show {
    display: inline-block;
}
  


/* FOOTER */
/* footer{
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    background-color: #01257D;
    position: relative;
    bottom: 0;
    
    margin-top: 400px;
    padding: 20px;
    flex-shrink: 0;
}
footer a img{
    height: 40px;
    transition: all .8s;
}
footer a img:hover{
    transform: rotateY(180deg);
    
    position: relative;
    top: -5px; 
}
footer p{
    font-size: calc(.8rem + .5vw);
    font-weight: bold;
    color: white;
}
footer div{
    display: flex;
    column-gap: 10px;
    background-color: rgba(245, 245, 245, 0.836);
    padding: 15px;
    border-radius: 7px;
} */








@media (max-width:970px){
    footer{
        flex-direction: column;
        row-gap: 10px;
        /* height: 180px; */
    }
    
    iframe{
        border-radius: 8px;
        width: 800px;
        height: 400px;
    }
    .cards{
        row-gap: 110px;
    }

    .cards .items{
        width: 220px;
        height: 220px;
        
    }
@media (max-width:900px){
      iframe{
        border-radius: 8px;
        width: 725px;
        height: 375px;
    }
    .editeur{
        width: 90%;
        left: 30px;
    }
}

footer a img{
    height: 30px;
    }  
    footer div {
        padding: 10px;
    }
    #formes-items{
        width: 260px;
        height: 260px;
    }
    iframe{
        border-radius: 8px;
        width: 700px;
        height: 350px;
    }
}


@media (max-width:800px){
    #icons{
        display: block;
    }
    #icons::before{
         content: " \2630";  
    }
    .active #icons::before{
        content: "\2715";
    }
    nav ul{
        position: absolute;
        left: -100%;
        flex-direction: column;
        top: 3%;
        background-color:#01257D;
        width: 100%;
        height: 150px;
        text-align: center;
        transition: .8s;
        text-transform: uppercase;
        padding-bottom: 20px;
        padding-top: 20px;
        z-index: 2000;
    }
    nav li{
        padding: 5px 0;
    }
    nav ul{
        font-size: calc(.6rem + 1vw);
    }
    nav li:hover{
        background-color: rgb(162, 214, 234);
    }

    nav.active ul{
        left: 0;
    }

      iframe{
        border-radius: 8px;
        width: 600px;
        height: 300px;
    }
    .editeur{
        width: 90%;
        left: 25px;
    }

    .cards{
        row-gap: 100px;
    }

    .cards .items{
        width: 200px;
        height: 200px;
        
    }

}

@media (max-width: 670px){
    

      iframe{
        border-radius: 8px;
        width: 500px;
        height: 250px;
    }
    .cards{
        row-gap: 110px;
        top: 80px;
    }

    .cards .items{
        width: 180px;
        height: 180px;
        
    }
    .cards .items h3 {
        height: 30px;
    }
}

@media (max-width: 570px){
    
      .video{
        padding: 30px;
      }
      iframe{
        border-radius: 8px;
        width: 400px;
        height: 200px;
    }
    .editeur{
        width: 90%;
        left: 20px;
    }

    .cards .items #cadena{
        height: 30px;
        width: 30px;
    }

}


@media (max-width: 480px){
    footer{
        bottom: -250px;
    }
    .video{
        padding: 20px;
      }
      iframe{
        border-radius: 8px;
        width: 350px;
        height: 200px;
    }
    .editeur{
        width: 90%;
        left: 15px;
    }
}


@media (max-width: 430px){

      /* .cards{
        row-gap: 70px;
      } */
      .cards .items{
        width: 160px;
        height: 160px;
        
    }
    .cards .items h3 {
        height: 30px;
    }

    footer{
        bottom: -100px;
    }
}
@media (max-width: 350px){


      .video{
        padding: 10px;
      }
      iframe{
        border-radius: 8px;
        width: 280px;
        height: 150px;
    }

    .cards .items{
        width: 140px;
        height: 140px;
        
    }
    .cards .items h3 {
        height: 30px;
    }
      
}

@media (max-width: 300px){
    /* .cards{
        row-gap: 70px;
      } */
      .cards .items{
        width: 190px;
        height: 190px;
        
    }
    .cards .items h3 {
        height: 30px;
    }

    footer{
        bottom: -100px;
    }
}