* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    height: 100%;
    
}
.text{
    color: blue;
}

header .logo img {
    max-height: 40px;
}
.a{
    color: blue;
}



main {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.products {
    display: flex;
    gap: 50px;
}

.product {
    background-color: white;
    padding: 10px;
    border-radius: 8px;
    width: 300px;
    height: 310px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.vi{
    position: absolute ;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    min-width: 100%;
    min-height: 100%;
}
.product img {
    width: 280px;
    height:;
    
}

.product h3 {
    font-size: 18px;
    margin: 10px 0;
}

.product p {
    font-size: 16px;
    color: #b12704;
}

.product button {
    padding: 8px;
    width: 100%;
    background-color: #ff9900;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.product button:hover {
    background-color: #e68900;
}

footer {
    background-color: #131921;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 20px;
}
.in{
    color:white;
}
.logo img{
width: 50px;
}
.btn{
    background-color: rgba(0, 0, 255, 0.782);
    height: 30px;
    width: 9²0px;
}
.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-image:url(te.jpg) ;
   
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
   

}
nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}
.a{
    color: white;
}

.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 {

    max-inline-size: 100%;
  
}

/* Media Queries */

/* Si l'écran est plus petit que 1200px */
@media (max-width: 1200px) {
    .products {
        flex-direction: row;
        justify-content: space-between;
    }

    .product {
        width: 45%; /* Réduit la largeur des produits à 45% */
    }
}

/* Si l'écran est plus petit que 768px (tablettes) */
@media (max-width: 768px) {
    main {
         /* Réduit l'espace autour du main */
    }

    .products {
        flex-direction: column; /* Affiche les produits en colonne */
        align-items: center; /* Centre les produits */
    }

    .product {
        width: 80%; /* Les produits prennent 80% de la largeur de l'écran */
        margin-bottom: 20px; /* Ajoute un espace entre les produits */
    }

    header .logo img {
        max-height: 30px; /* Réduit la taille du logo */
    }

    nav ul {
/* Affiche la navigation en colonne */
    }

    nav ul li {
        margin: 10px 0; /* Espace entre les liens de navigation */
    }

    .whatsapp-float {
        bottom: 10px;
        right: 10px; /* Ajuste la position du bouton WhatsApp */
    }

    .btn {
        width: 100%; /* Le bouton prend toute la largeur sur les petits écrans */
    }
}

/* Si l'écran est plus petit que 480px (mobiles) */
@media (max-width: 480px) {
    .product h3 {
        font-size: 16px; /* Réduit la taille du titre */
    }

    .product p {
     /* Réduit la taille de la description */
    }

    .product button {
     
    }

    .whatsapp-float {
        bottom: 10px;
        right: 10px;
    }

    .product {
        width: 90%; /* Les produits prennent 90% de la largeur sur mobile */
    }

    .btn {
        width: 80%; /* Le bouton est plus petit sur mobile */
    }
}
