header{
    display: flex;
    justify-content: space-between;
    padding: 0px;
    
   
}

header nav ul{
    display: flex;
    list-style: none;

}
header nav ul li{
    margin: 0 15px;
    font-size: 15px;
    margin-top: -95px;
   
}
header nav ul li a{
   color: rgb(255, 255, 255);
    text-decoration: none;
}
header nav ul li a:hover{
    text-decoration:underline ;
    
}
#div1{
    margin-top: -157px;
    margin-left: -10px;
}
/* Supprimer marges et paddings par défaut sur le corps de la page */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
}

/* Style du header */
header {
    display: flex;
    margin: 0;               /* supprime les marge exterieur */
    padding: 0;              /* et interieures */
    height: 200px;           /* ajuste la hauteur  */
    background-image: url('bleu.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;/* etire l'image */
   background-position: center calc(50% - 170px); /* centre l'image et la monte */
    display: flex;
    justify-content: space-between;    
    align-items: center;     
    font-family: "Montserrat",sans-serif;          
    
}
#section1{
    font-family: "Montserrat",sans-serif;  
    background-image: url(code2.png);
    height: 300px;
    margin-top: -202px;
    background-repeat: no-repeat ;
    background-position: center;
   
}
#text {
    display: block; /* ou inline-block selon besoin */
    padding-left: 39px;
    margin-bottom: -15px;
}
h1{
    color: rgb(0, 153, 255) ;
    font-size: xxx-large;
    text-shadow: -8px 5px 14px rgb(0, 0, 0);
    


}
h2{
    color: white;
}
button{
   background-color: rgb(0, 153, 255);
   border: rgb(0, 153, 255);
   border-radius: 20px 20px;
   size: 20px;
   cursor: pointer;
   width: 150px;
   height: 50px;
   font-size: 22px;
   transition: 0.3s;
    box-shadow: 0px 0px 20px 4px rgb(0, 0, 0);
    
  

}
button:hover{
    background-color: rgb(0, 82, 136) ;
    transform: translateY(5px);
  
    
    
}
main{
    background-color: rgb(255, 255, 255);
    
}
#azerty{
    margin-left: 60px;
    
    margin-right: 60px;
    margin-top: 60px;
    display: flex;
    justify-content: center; /* Centre les boîtes */
    gap: 30px; 


}
   #azer{
    margin-left: 60px;
    margin-top: 60px;
     margin-right: 60px;
    display: flex;
    justify-content: center; /* Centre les boîtes */
    gap: 30px; 


}
footer {
    margin-top: 3rem;
    background-color: rgb(0, 0, 78);
    color: rgb(255, 255, 255);
    display: flex;
    justify-content: space-between; 
    align-items: center; /* Aligne le texte bien au centre verticalement */
    white-space: nowrap; /* Force tout le contenu à rester sur une seule ligne */
}

#cy{
  display: flex;
  gap: 80px; 
  list-style: none;
   flex-direction: row;
   margin-right: 542px;
   
}
#boite {
    background: rgba(167, 167, 167, 0.192);
    border-radius: 18px;
    padding: 25px;
    width: 300px;
    height: 320px;
    transition: 0.3s;
  
   
}
#boite:hover{
    box-shadow: 0 15px 15px rgba(0,0,0,.22);
     transform: translateY(-7px);
}
#boite img{
    width: 120px;
    height:120px;
    object-fit: cover;
    border-radius: 50% ;
    float: left;
    border: 1px solid rgb(1, 113, 187);
   padding: 4px;
   
    margin: 0px 10px 0px 0px

}

#boite2 {
    background: rgb(167, 167, 167, 0.192);
    border-radius: 18px;
    padding: 25px;
    width: 300px;
    height: 320px;
    
    transition: 0.3s;
    
   
}
#boite2:hover{
    box-shadow: 0 15px 15px rgba(0,0,0,.22);
     transform: translateY(-7px);
}
h3{
    position:relative;
    display: inline-block;
}
h3::after{
    content:"";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 4px;
    background-color: rgb(1, 113, 187);
    border-radius: 20px;

}



#boite3 {
    background: rgba(167, 167, 167, 0.192);
    border-radius: 18px;
    padding: 25px;
   width: 300px;
    height: 320px;
    transition: 0.3s;
   
   
}
#boite3:hover{
    box-shadow: 0 15px 15px rgba(0,0,0,.22);
     transform: translateY(-7px);
}


#boite4 {
    background: rgb(167, 167, 167, 0.192);
    border-radius: 18px;
    padding: 25px;
     width: 300px;
    height: 320px;
    transition: 0.3s;
    
   
}
#boite4:hover{
     box-shadow: 0 15px 15px rgba(0,0,0,.22);
     transform: translateY(-7px);
}

#boite5 {
    background: rgb(167, 167, 167, 0.192);
    border-radius: 18px;
    padding: 25px;
     width: 300px;
    height: 320px;
    transition: 0.3s;
    
   
}
#boite5:hover{
    box-shadow: 0 15px 15px rgba(0,0,0,.22);
     transform: translateY(-7px);
}
#boite6 {
    background: rgb(167, 167, 167, 0.192);
    border-radius: 18px;
    padding: 25px;
     width: 300px;
    height: 320px;
    transition: 0.3s;
    
}
#boite6:hover{
     box-shadow: 0 15px 15px rgba(0,0,0,.22);
     transform: translateY(-7px);
}
/* version tel */
@media screen and (max-width: 700px) {

    body {
        width: 100%;
        overflow-x: hidden;
    }
    header {
        text-align: center;
    }
    #div1 img {
        width: 180px;
        height: auto;
    }

    #section1 {
        width: 100%;
        padding: 10px;
    }
    #text h1 {
        font-size: 28px;
    }

    #text h2 {
        font-size: 18px;
    }

    /* Les boîtes passent en colonne */
    #azerty,
    #azer {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #boite,
    #boite2,
    #boite3,
    #boite4,
    #boite5,
    #boite6 {
        width: 90%;
        margin: 10px 0;
    }

    /* Texte plus adapté */
    p {
        font-size: 15px;
        line-height: 1.5;
    }

    h3 {
        font-size: 20px;
    }

    footer ul {
        padding: 0;
        text-align: center;
    }

    footer li {
        list-style: none;
        margin: 10px;
    }
}
body{
     font-family: "Montserrat",sans-serif; 
}
h2{
  text-shadow: black -4px 7px 8px;
}





