* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    height: 100%;
    
}
.text{
    color: blue;
}

header .logo img {
    max-height: 40px;
}
.a{

    background-color: gray;
    color: rgba(255, 255, 255, 0.699);
    padding: 7px;
    
}



footer {
    background-color: #131921;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 20px;
}
.in{
    color:rgba(0, 0, 0, 0.674);
}
.logo img{
width: 50px;
}
.btn{
    background-color: rgba(0, 0, 255, 0.782);
    height: 30px;
    width: 90px;
}
.img{
    height: 200px;
    width: 200px;
}
.bac{
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;
}

header {
    
    color: white;
    padding: 10px 0;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}
body{
    
    background-color: gainsboro;
   
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
   

}
nav ul li {
    margin: 80px 6px 30px 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    
}
.pp{
    padding-left: 144px;
   
    }
.a{
    color: black;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #fff;
    padding: 10px 15px;
    border-radius: 50px;
    text-decoration: none;
    z-index: 10000; /* Increase the z-index value to ensure it's above the footer */
}

.image{
    margin: 0 40%;
}

/*Dark mode*/
body.dark{
    background: #222;
    color: #fff;
}
body.dark {
    background: #444;
}
body.dark {
    background: #333;
}

.text-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    margin: 10px 30% ;
}

/* Pour les écrans plus petits que 768px (tablettes et petits ordinateurs) */
@media (max-width: 768px) {
    nav ul {
        /* Affiche les liens en colonne sur petits écrans */
    }
    
    .whatsapp-float {
        bottom: 10px;
        right: 10px; /* Ajuste la position du bouton flottant */
    }
   

    .image {
        margin: 0 5%; /* Réduit l'espace autour de l'image */
    }
}

/* Pour les écrans plus petits que 480px (mobiles) */
@media (max-width: 480px) {
    nav ul {
        font-size: 16px; /* Réduit la taille de police des liens sur mobile */
    }

    .btn {
        width: 100%; /* Le bouton occupe toute la largeur de l'écran */
    }

    .whatsapp-float {
        bottom: 20px;
        right: 10px; /* Ajoute plus d'espace au bas de l'écran */
    }

    .image {
        margin: 0; /* Supprime les marges */
    }
}