main{
    background-color: rgb(241, 226, 190);
}
/*********************     Général     **********************/
#h1{
    font-family: Lato, sans-serif;
    font-weight: 600;                       /* Style de titre commun aux différentes parties */
    padding-top: 3%;                         /* avec type de police, largeur et taille de police */
    font-size:3.00vw;
}

.paragraphe{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 90%;
    font-size: 1.5vw;
    margin: 5% auto 0% auto;
    font-weight: 600;                   /* Style paragraphe commune aux différentes parties */
    line-height: 2.5vw;                 /* avec largeur,taille de police et marge qui encadre*/
    letter-spacing: 0.03vw;
    height: 30vw;
}

#block_tech_text {
    text-align: justify;
    width: 49%;
}

#block_tech_text > p {
    margin-bottom: 2%;
}

.carousel1-container {
    width: 49%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2%;
  }

  .carousel1 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 350px;
  }
  
  .carousel1-item {
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  
  .carousel1-item.active {
    opacity: 1;
  }
  
  .carousel1-item img {
    width: 30vw;
    height: 25vw;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(0, 0, 0, 1); /* Ajoute une ombre noire */
  }
  
/****************************  Section 1   ********************************/


#titre-rectangle1-main > #h1{
    text-align: center; 
}  

#main-rectangle1{
    background-color: #f1f1f1;
    position: relative;  
    display: block;           /* Taille et couleur du rectangle qui définit la taille de la partie 1 */
}

#main-rectangle1>.paragraphe>div{
    margin-bottom: 5%;
}


#rectangle-marron {
    background-color: rgb(222 117 86);
    width: 100%;
    height: 16.5vw;
    margin-top: -21%;
    z-index: 2;
}

.image {
    box-shadow: 0px 0px 15px 5px rgb(0 0 0 / 10%);      /* ombre des images */
}

#image1 {
    width: 30.7vw; 
    height: 26vw;              /* paramétrage des valeurs de taille et hauteur de l'image 1 */
}

#image2 {
    width : 26vw;                   
    height: 26vw;            /* paramétrage des valeurs de taille et hauteur de l'image 2 */
}

#paragraphe1 {
    display: flex;
    flex-direction: column;
    width: 90%;
    font-size: 1.5vw;
    margin: 2% auto 2% auto;
    font-weight: 600;                   /* Style paragraphe commune aux différentes parties */
    line-height: 2.5vw;                 /* avec largeur,taille de police et marge qui encadre*/
    letter-spacing: 0.03vw;
}

#paragraphe1 #p1 {
    margin-bottom: 1%;
}

/****************************   Section 2   *********************************/

#main-rectangle2{
    display: block;
    height: 33.9vw;
    background-color: #eadcc8;          /* Taille et couleur du rectangle qui définit la taille de la partie 2 */
    position: relative;
}

.titre-rectangle2-main{
    color: #FFBA93;                 
    display: flex;
}

#titre-rectangle2-main{                   /* titre partie 2  */
    text-align: center;
    margin-left: 15%;
    transform: translate(-10%,3%);
}

#h2{
    text-align: center;                  /* sous titre partie 2 */
    padding-top: 2%;
    font-size: 1.7vw;
}




/****************************   Section3    ****************************/

#main-rectangle3{
    height: 20vw;                           /* Taille et couleur du rectangle qui définit la taille de la partie 3 */
    background-color: #a94c39dd;
    position: relative;
    display: flex;                      
    color: white;
}

#titre-rectangle3{
    float: left;
    margin: auto 4% auto 2%;              /* titre partie 3 */
    line-height: 7vw;
    width: 30%;
}   


.vertical-line{
        border-left: 0.35vw solid rgb(255, 255, 255);
        display:block;
        height: 50%;                     /* ligne verticale de séparation */
        margin: 7% 4vw;
        border-radius: 10px;
        top: 7%;
        width: 0%;
}

#paragraphe-rectangle3{
    width: 61.9%;
    font-size: 2.1vw;               /* paramétrage paragraphe de la partie 3 */
    font-weight: 600;
    line-height: 168%;
    letter-spacing: 0.1%;
    margin: auto 2% auto 0%;
}

#link-prestation {
    position: absolute;
    display: inline-block;
    background-color: rgb(246, 238, 229);
    text-decoration: none;
    color: black;
    padding: 0.7% 2.4%;
    border-radius: 2vw;
    font-size: 1.75vw;
    overflow: hidden;
    position: absolute;
    display: block;
    right: 10%;
    bottom: 15%;
    z-index: 1; /* Ajout de la propriété z-index */
  }
  
  #link-prestation::before,
  #link-prestation::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 100%;
    background-color: #912a16;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  z-index: -1; /* Ajout de la propriété z-index */
  }
  
  #link-prestation::after {
    right: 0;
    transform-origin: right;
  }
  
  #link-prestation:hover::before,
  #link-prestation:hover::after {
    transform: translateX(0);
  }
  

/********************************   Section4    **********************************/

   /***      Général      ***/


#main-rectangle4{
    display: flex;
    justify-content: space-evenly;              /* Taille et couleur du rectangle qui définit la taille de la partie 4 */
    height: 5vw;
    flex-flow: row wrap ;                   
    background-color: #f1f1f1;
    position: relative;

}

