*{
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  font-family: "Lato-Regular", sans-serif;
}
  /*------------------------------------------------------ BANNIERE ---------------------------------------------- */
  
  html, body {
    overflow-x: hidden;
  }
  
.container {
    text-align: center;
    width: 100%;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url(../assets/img/chauffage/banniere.webp);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: #F2F3F2;

    }
    
    
    h1 {
      font-weight: 700;
      font-size: 3rem;
      font-family: "Lato-Bold", sans-serif;
    }

  /*------------------------------------------------------ BANNIERE ---------------------------------------------- */

  /*------------------------------------------------------ INTRO ---------------------------------------------- */
    
  #logo {
    width: 30%; 
    max-width: 300px; 
    height: auto;
    margin: 0 auto; 
    display: block; 
  }
  
  
  #texte {
    padding-right: 5%;
    padding-bottom: 5%;
    padding-top: 4%;
  }
  
  
  #img {
    flex: 1;
  }
  
  #texte {
    flex: 2;
  }
  
  
  div[style*="display: flex;"] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; 
    padding: 20px;
    
  }
  
  
  /*------------------------------------------------------ INTRO ---------------------------------------------- */

  /*------------------------------------------------------ CARTE ---------------------------------------------- */

.blank,
.other {
  width: 100%;
  min-height: 20vh;
  background-color: #F2F3F2;
}

.second {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around; 
  align-items: center; 
  background-image: url(../assets/img/chauffage/background.webp);
  background-size: cover; 
  background-position: center center; 
  background-attachment: fixed;
  min-height: 90vh;
  }
  
  .item {
    display: flex;
    width: 100%;
    max-width: 320px;
    background-color: #F2F3F2;
    flex-direction: column;
    align-items: center;
    border-radius: 0.5em;
    box-shadow: 0px 29px 38px -15px rgba(0, 0, 0, 0.43);
    margin: 1.6em auto; 
    text-align: center;
    }

.img {
  width: 90%;
  height: 200px;
  background-color: lightgrey;
  background-size: cover;
  background-position: center;
  margin-top: 20px;
  border-radius: 0.3em;
}

.img-first {
  background-image: url(../assets/img/chauffage/installation.webp);
}

.img-second {
  background-image: url(../assets/img/chauffage/depannage.webp);
}

.img-third {
  background-image: url(../assets/img/chauffage/remplacement.webp);
}

.titreCarte {
  font-weight: 700;
  font-size: 1.6rem;
  padding: 5%;
  text-align: center;
  font-family: "Lato-Bold", sans-serif;
}

.paraCarte {
  padding: 5%;
  text-align: center;
}

  /*------------------------------------------------------ CARTE ---------------------------------------------- */

/*------------------------------------------------------ QUESTION ---------------------------------------------- */

  #logoimg{
    width: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    }

    #quest{
    text-align: center;
    margin: 0;
    font-size: 3vh;
    font-weight: bolder;
    padding-top: 3%;

    }

    #aide{
    text-align: center;
    margin-top: 1%;
    font-weight: lighter;
    }
   
    .containerBtn {
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      margin-top: 2%;
      margin-bottom: 2%;
    }
    
    .Button {
      padding: 16px 23px;
      background: #242424;
      color: #FFFFFF;
      border-radius: 15px;
      font-size: 16px;
      border: none;
      cursor: pointer;
    }
    
    .Button:hover {
      background-color: #474747;
      color: #ffffff;
    }
    
    .Button2 {
      padding: 16px 23px;
      background: #474747;
      color: #FFFFFF;
      border-radius: 15px;
      font-size: 16px;
      border: none;
    }
    
    .Button2:hover {
      box-shadow: 0 2px 10px #242424;
    }
    
    

  /*------------------------------------------------------ QUESTION ---------------------------------------------- */
  

  /*------------------------------------------------------ MEDIA QUERIES ---------------------------------------------- */

  @media screen and (max-width: 860px) {
    .container {
      background-attachment: unset !important;
    }
    .second{
      background-attachment: unset;
    }
}
  @media (min-width: 769px) {
    .second {
      flex-direction: row;
      justify-content: space-around;
    }
    
    .item {
      width: 30%;
    }
    }
    
    
  @media (max-width: 768px) {
    div[style*="display: flex;"] {
      flex-direction: column; 
      text-align: center; 
  }
  
  #logo {
      padding-left: 0; 
      margin-bottom: 20px; 
      width: 50%; 
  }
  
  #texte {
      padding-right: 0; 
      padding-top: 0; 
  }
    
    .second {
      flex-direction: column;
      align-items: center;
    }
    
    .item {
      width: 90%;
      max-width: 100%;
    }
    
    .img {
      width: 100%;
      height: 150px;
    }
    
    #titreCarte {
      font-size: 1.4rem;
    }
    
    #paraCarte {
      font-size: 1rem;
    }
  
    h1 {
      font-weight: 700;
      font-size: 1.7rem;
    }
  
    #quest{
      padding-top: 5%;
    }
    .containerBtn {
      margin-bottom: 5%;
    }
    p {
      max-width: 52ch;
      line-height: 1.5;
      padding: 1em;
      font-size: 15px;
      color: #242424;
    }
    
    
    }
  
  
  @media (max-width: 480px) {
  
    .arrow {
      width: 25px;
      height: 25px;
    }
  
    .prev {
      left: 2px;
    }
  
    .next {
      right: 2px;
    }
    
    #carousel img {
      width: 100%;
    }
  }
  /*------------------------------------------------------ MEDIA QUERIES ---------------------------------------------- */

  
  


