#intro {
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: #ddd;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  color: #777777;
  font-size: 25px;
}
#intro h4 {
  font-size: 32px;
}

#intro a {
  font-size: 22px;
  color: #777777;
  text-decoration: none;
  text-transform: uppercase;
}
#intro a:hover {
  color: #e88733;
  font-weight: bold;
  cursor: pointer;
}

#panneau {
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: white;
}

.materiaux {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 30px 0;
  align-items: flex-start;
}
.materiaux img {
  width: 75%;
}
#decoupe {
  padding-top: 50px;
  padding-bottom: 50px;

  background-color: #ddd;
}
#boitier {
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: white;
  position: relative;
}
#caisson {
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: #ddd;
}
#drapeau {
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: white;
}
#totem {
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: #ddd;
}
#conseil {
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: #ddd;
  color: #777777;
  text-align: center;
  font-size: 18px;
}
#bache {
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: white;
}

.img-gauche-grid1x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  color: #777777;
}

.grid-gauche-item1 {
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* align-items: flex-start; */
}
.grid-gauche-item1 h3 {
  color: #d72f5a;
}
.grid-droite-item1 h3 {
  color: #d72f5a;
}

.gallerie2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  padding-left: 10px;
  padding-right: 10px;
  width: 80%;
  padding-left: 62px;
}
.gallerie2x2 figure {
  overflow: hidden;
}

.grid-gauche-item2 {
  padding-left: 25px;
  border-left: solid 5px #e88733;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* align-items: flex-start; */
  font-size: 18px;
}

.img-droite-grid1x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  color: #777777;
}

.grid-droite-item1 {
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* align-items: flex-start; */
}

.grid-droite-item2 {
  padding-left: 25px;
  border-left: solid 5px #e88733;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  font-size: 18px;
}

.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;

  /* bottom: -15%; */
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: #777777;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
/* .prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
} */

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

.slideshow-container2,
.slideshow-container3 {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides2,
.mySlides3 {
  display: none;
}

.dot2,
.dot3 {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.prev2,
.next2,
.prev3,
.next3 {
  cursor: pointer;
  position: absolute;
  top: 50%;

  /* bottom: -15%; */
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: #777777;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next2,
.next3 {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.active2,
.dot2:hover,
.active3,
.dot3:hover {
  background-color: #717171;
}

.fade2,
.fade3 {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade2 {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade2 {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

@-webkit-keyframes fade3 {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade3 {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
.img-droite-grid1x2_phone {
  display: none;
}

.gallerie2x2 figure {
  position: relative;
}

.test {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: 0.5s ease;

  color: white;
  font-size: 24px;
}

.hover {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: 0.5s ease;

  color: white;
  font-size: 24px;
}
.figureover {
  position: relative;
}
/* Apparition overlay sur passage souris */
.figureover:hover .hover {
  opacity: 1;
  cursor: pointer;
}
.figureover .hover {
  background-color: rgba(255, 253, 253, 0.452);
}
.gallerie2x2 .test {
  background-color: rgba(0, 0, 0, 0.5);
}

.overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
  cursor: pointer;
}

.text {
  position: absolute;

  top: 55%;
  left: 50%;

  color: white;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}
@media only screen and (max-width: 800px) {
  .img-gauche-grid1x2 {
    display: flex;
    flex-direction: column;
  }
  .img-droite-grid1x2 {
    display: none;
  }
  .img-droite-grid1x2_phone {
    gap: 25px;
    display: flex;
    flex-direction: column;
    color: #777777;
  }
  .gallerie2x2 {
    padding-left: 25px;
  }
  .prev2,
  .next2,
  .prev3,
  .next3 {
    cursor: pointer;
    position: absolute;
    top: 50%;
    /* bottom: -15%; */
    width: 0px;
    margin-top: 0;
    padding: 0;
    color: #777777;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }
}
