*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", serif;
    
}

/* GLOBAL CONFIG */

ul{
    list-style: none;
}

/* COMMON CLASSES */

.flex{
    display: flex;  /* aligne horinzontalment les elements */
}

.flex-column {
    flex-direction: column; /* aligne verticalement les elements */
}

.justify-between{
    justify-content: space-between; /* centrer les elements*/
}

.justify-center{
    justify-content: center; /* centrer les elements*/
}

.justify-end{
    justify-content: flex-end; /* les elements ne flex plus entre eux */
}

.align-center{
    align-items: center;
}

.vertical-center{
    vertical-align: middle;
}

.align-start{
    align-items: flex-start;
}

.wrap{
    flex-wrap: wrap;    /* Pour que les elements reviennent à la ligne s'il n'y a plus de place */
}

.backbeige{
    background-color: #D5BAA4;
}

.backblanccasse{
    background-color: #F7F5F2;
}

.backgrey{
    background-color: #333333;
}

.ecriture-gc{
    color: #f5f5f5;
}

.ecriture-gf{
    color: #333333;
}

.ecriture-white{
    color: white;
}

.ecriture-beige{
    color: #D5BAA4;
}

.ecriture-black{
    color: black;
}

a{
    text-decoration: none;
    font-size: 20px;
}

.text-center{
    text-align: center;
}



    /* Padding */

.p-1{
    padding: 1rem;
}

.p-2{
    padding: 2rem;
}

.p-3{
    padding: 3rem;
}

.p-5{
    padding: 5rem;
}

    /*Marging*/
.m-1{
    margin: 1rem;
}


.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 100px;
} 

    /*Width*/
.w-50{
    width: 50%;
}

.w-16{
    width: 16%;
}

.w-100{
    width: 100%;
}

.w-33{
    width: 33%;
}

.w-25{
    width: 25%;
}
.w30 {
    width: 30px;
}
.w50 {
    width: 50px;
}
.wtry {
    width: 75px;
}

/*Height*/

.h30{
    height: 30px;
}

.h100{
    height: 100px;
}

.hauto{
    height: auto;
}

.font-gras{
    font-weight: bold;
}

a{
    text-decoration: none;
    font-size: 20px;
}

/*GAP*/
.gap10 {
    gap: 50px;
}

.button:hover {
    background-color: #898989;
  }

.menu-burger{
    display: none;
}

.space-y-6 {
    margin-top: 1.5rem;
}

/*Section 3*/
#section-3 a{
    border-radius: 0.5rem;
}



/*CAROUSEL*/
.carousel {
    position: relative;
    width: 80%;
    max-width: 600px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin: auto;
  }
  
  .carousel-container {
    display: flex;
    transition: transform 0.5s ease;
  }
  
  .carousel-item {
    min-width: 100%;
    background-color: #ccc;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    font-size: 24px;
    font-weight: bold;
  }
  
  .carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    font-size: 18px;
  }
  
  .carousel-button.prev {
    left: 10px;
  }
  
  .carousel-button.next {
    right: 10px;
  }
  
  .carousel-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }


  /*Image */
#section-1 img{
    width: 300px;
    /* height: 200px; */
}

#section-2 img{
    width: 500px;
     height: 450px; 
}

#section-4 img{
    width: 700px; 
    height: 450px; 
}

/* #section-5 img{
    width: 700px; 
    height: 600px;
} */
 


.border-t{
    border-top: #333333 solid 2px;
}

.border-b{
    border-bottom: #f1f1f1 solid 2px;
}

.h300{
    height: 200px;
}
  




/* Media Queries pour le responsive design */

/* Pour les écrans de moins de 768px */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-direction: column;
        display: none;
    }

    .menu-burger {
        display: block;
    }

    #section-1 {
        flex-direction: column;
    }

    #section-1 .w-50 {
        width: 100%;
    }

    #section-3 {
        flex-direction: column;
    }

    #section-3 > div {
        margin-bottom: 2rem;
    }

    #section-3 .w-50 {
        width: 100%;
    }

    #section-2 {
        flex-direction: column;
    }

    #section-2 .w-50 {
        width: 100%;
    }

    #section-2 .w-50 {
        width: 100%;
    }

    #section-4 {
        flex-direction: column;
    }

    #section-4 > div {
        margin-bottom: 2rem;
    }

    #section-4 .w-50 {
        width: 100%;
    }
}

/* Pour les écrans de moins de 480px */
@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }

    #section-1 h1 {
        font-size: 1.5rem;
    }

    #section-1 p {
        font-size: 0.9rem;
    }

    #section-2 h1 {
        font-size: 1.5rem;
    }

    #section-2 p {
        font-size: 0.9rem;
    }

    #section-3 h1 {
        font-size: 1.5rem;
    }

    #section-3 p {
        font-size: 0.9rem;
    }

    #section-4 h1 {
        font-size: 1.5rem;
    }

    #section-4 p {
        font-size: 0.9rem;
    }

    .carousel-button {
        padding: 0.5rem;
    }
}