*{
    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;
    height: 100vh;
    overflow-x: hidden;
    width: 100%;
}

/* Menu de navigation */
nav{
    background-color: #01257D;
    display: flex;
    height: 90px;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    font-size: calc(0.7rem + 1.2vw);
}
h3{
    color: white;
}
.lg{
    text-decoration: none;
    color: white;
    transition: all .3s;
}
.lg:hover{
    color:#003;
}
span{
    color:#00FFFF;
    font-size: calc(0.9rem + 1.2vw);
}
nav ul{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 60%;
}
.anav{
    text-decoration: none;
    transition: all 0.3s;
    color: #00FFFF;
}
.anav:hover{
    color: white;
}

#icons{
    cursor: pointer;
    display: none;
    font-size: calc(.8rem + 1.2vw);
    color:#00FFFF;
    font-weight: bold;
}
.anav,
.anav:visited{
    text-decoration: none;
}
a:hover{
    color: white;
}
/* 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);
}







.haut{
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    position: relative;
    top: 80px;
    padding: 10px;
    font-size: calc(0.7rem + 1.2vw);
 
}
#titre{
    color: white;
    font-size: calc(1rem + 2.3vw);
    width: 93%;
    position:relative ;
    left: 20px;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    border-radius: 10px;
    
} 
.haut p{
    width: 93%;
    position:relative ;
    left: 20px;
    font-size: calc(1rem + 1.5vw);
    color: white;
}



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


.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: 55px;
}
.cards .items span{
    color:#00FFFF;
    font-weight: bold;
}





#myBtn {
    display: none;
    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;
}
  

.container2 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    position: relative;
    top:250px;

}
.container3 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    position: relative;
    top:150px;

}
.card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 250px;
    text-align: center;
    display:flex;
    flex-direction:column;
    row-gap:10px;
}
.card img {
    width: 100%;
    height: 170px;
    border-radius: 8px;
    object-fit:cover;
}
/* h1 {
    text-align: center;
    color: #333;
} */
#achat {
    text-decoration: none;
    display: block;
    width: 100%;
    background: #007bff;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s ease;
}
#achat2 {
    text-decoration: none;
    display: block;
    width: 100%;
    background: green;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s ease;
}
#achat:hover {
    background: #0056b3;
}
.ann{
    font-size: 30px;
    position: relative;
    top:100px;
}


#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: -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;
}
footer div{
    display: flex;
    column-gap: 10px;
    background-color: rgba(245, 245, 245, 0.836);
    padding: 15px;
    border-radius: 7px;
} */

   



                    /* RESPONSIVE DISIGN */


@media (max-width:950px){
footer{
    flex-direction: column;
    row-gap: 10px;

}
footer a img{
    height: 30px;
    }  
    footer div {
        padding: 10px;
    }
    #formes-items{
        width: 260px;
        height: 260px;
    }
    .cards .items{
        width: 220px;
        height: 220px;
        
    }
    .cards .items h3{
        font-size: calc(.7rem + 1.3vw);
        height: 45px;
        /* padding: 5px; */
    }
}

@media (max-width:600px){
   
        .cards .items{
            width: 200px;
            height: 200px;
            
        }
        .cards .items h3{
            font-size: calc(.7rem + 1.3vw);
            height: 45px;
            /* padding: 5px; */
        }
        footer{
            bottom: -300px;
        }
        #titre{
            left: 10px;
        } 
        .haut{
            padding: 5px;
        }
        .haut p{
            left: 10px;
        }
}


@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: 15%;
        background-color:#01257D;
        width: 100%;
        height: 250px;
        text-align: center;
        justify-content: center;
        row-gap: 10px;
        transition: .8s;
        text-transform: uppercase;
        padding-bottom: 20px;
        padding-top: 20px;
        z-index: 2000;
    }
    nav li{
        padding: 5px 0;
    }
    nav ul{
        font-size: calc(.8rem + 1.2vw);
    }

    nav.active ul{
        left: 0;
    }
    
    .card {
        padding: 20px;
        border-radius: 8px;
        width: 220px;
        row-gap:10px;
    }
    .card img {
        width: 100%;
        height: 150px;
        border-radius: 8px;
        object-fit:contain;
    }
    #achat {
        padding: 8px;
        font-size: .9em;
    }
    #achat2 {

        padding: 8px;
        font-size: .9em;

    }
}



@media (max-width: 480px){
    footer{
        bottom: -300px;
    }

    .cards .items{
        width: 180px;
        height: 180px;
        
    }
    .cards .items h3{
        font-size: calc(.7rem + 1.3vw);
        height: 45px;
       
}
}
@media (max-width: 400px){
    .cards .items{
        width: 150px;
        height: 150px;
        
    }
    .cards .items h3{
        font-size: calc(.7rem + 1.3vw);
        height: 45px;
       
}

#titre{
    left: 5px;
} 
.haut{
    padding: 5px;
}
.haut p{
    left: 5px;
}
}
@media (max-width: 320px){
    .cards .items{
        width: 140px;
        height: 140px;
        
    }
    .cards .items h3{
        font-size: calc(.7rem + 1.3vw);
        height: 45px;
       
}
}