* {
  box-sizing: border-box;
}

body {
  background-color: #F3F2E2;
  margin: 0;
  padding: 0;
}
body main .titre {
  font-size: 5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  margin-top: 25px;
}
body main .section-cartes {
  margin-top: 100px;
  padding: 40px;
}
body main .section-cartes .conteneur {
  display: flex;
  gap: 80px;
  justify-content: space-evenly;
}
body main .section-cartes .conteneur .carte {
  width: 280px;
  background-color: #E9E8D7;
  text-align: center;
  border-radius: 8px;
  padding: 24px;
}
body main .section-cartes .conteneur .carte p {
  padding: 10px;
}
body main .section-cartes .conteneur .carte .img {
  width: 80%;
  height: auto;
}
body main .section-cartes .conteneur .carte h3 {
  font-size: 1.5rem;
  background-image: linear-gradient(to bottom, transparent 70%, #26301D);
}
body main .section-cartes .carrousel {
  width: 100%;
  height: 450px;
  position: relative;
  overflow: hidden;
  display: none;
}
body main .section-cartes .carrousel-item {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: absolute;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s;
}
body main .section-grille {
  margin-top: 80px;
}
body main .section-grille .conteneur {
  display: grid;
  gap: 15px;
  width: 98vw;
  height: 200px;
  grid-template-columns: 75% 25%;
}
body main .section-grille .conteneur .carre1 {
  background-color: #26301D;
  grid-column: 1/2;
  margin-left: 60px;
}
body main .section-grille .conteneur .carre1 #overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 5;
}
body main .section-grille .conteneur .carre1 #overlay img {
  max-width: 80%;
  max-height: 80%;
  cursor: pointer;
}
body main .section-grille .conteneur .carre1 h3 {
  color: white;
  text-align: center;
  font-size: 2rem;
  padding: 8px;
  margin-top: 70px;
}
body main .section-grille .conteneur .carre2 {
  background-color: #485133;
  grid-column: 2/2;
  margin-right: 60px;
}
body main .section-grille .conteneur .carre2 h3 {
  color: white;
  text-align: center;
  font-size: 1.2rem;
  padding: 8px;
  margin-top: 70px;
}
body main .section-grille .conteneur2 {
  display: grid;
  gap: 15px;
  width: 98vw;
  height: 200px;
  grid-template-columns: 60% 40%;
  margin-top: 15px;
}
body main .section-grille .conteneur2 .carre3 {
  background-color: #0D150E;
  grid-column: 1/2;
  margin-left: 60px;
}
body main .section-grille .conteneur2 .carre3 h3 {
  color: white;
  text-align: center;
  font-size: 1.2rem;
  padding: 8px;
  margin-top: 70px;
}
body main .section-grille .conteneur2 .carre4 {
  background-color: #BBA490;
  grid-column: 2/2;
  margin-right: 60px;
}
body main .section-grille .conteneur2 .carre4 h3 {
  color: black;
  text-align: center;
  font-size: 1.2rem;
  padding: 8px;
  margin-top: 70px;
}
body main .section-rectangles {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px 0;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}
body main .section-rectangles .background-map {
  display: block;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  z-index: 0;
  background-image: url("../images/carte.png");
  background-size: 80vw auto;
  background-repeat: no-repeat;
  background-position: center;
  height: 100dvh;
  width: 100dvw;
}
body main .section-rectangles .rectangle {
  display: flex;
  align-items: center;
  position: relative;
  justify-content: center;
  flex-direction: column;
  width: 45%;
  height: auto;
  min-height: 60px;
  background-color: #D1D2BE;
  border-radius: 10px;
  padding: 0 15px;
  color: black;
  font-size: 1rem;
}
body main .section-rectangles .rectangle h3 {
  font-size: 1.5rem;
  position: absolute;
  transform: translate(-50%, 0%);
  top: 0%;
  left: 50%;
  margin-top: 15px;
}
body main .section-rectangles .rectangle .icon {
  position: absolute;
  width: 20px;
  height: 20px;
  top: 10px;
  right: 10px;
  font-size: 2.2rem;
  color: #BBA490;
  cursor: pointer;
  transition: transform 0.1s ease;
  transform-origin: center;
}
body main .section-rectangles .rectangle .rotation {
  transform: rotate(45deg);
  margin-top: 2px;
  margin-left: 3px;
}
body main .section-rectangles .rectangle .contenu-cache {
  display: none;
  align-items: end;
  margin-top: 100px;
  width: 100%;
}
body main .section-rectangles .rectangle .contenu-cache p {
  font-size: 1.2rem;
  margin: 25px;
  text-align: left;
  width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  overflow: hidden;
  white-space: normal;
  box-sizing: border-box;
}
body main .section-rectangles .rectangle .agrandi {
  display: block;
}

@media screen and (max-width: 1000px) {
  body main .titre {
    font-size: 3.5rem;
    margin: 25px;
  }
  body main .section-cartes .carrousel {
    display: block;
  }
  body main .section-cartes .carte {
    width: 280px;
    background-color: #E9E8D7;
    text-align: center;
    border-radius: 8px;
    padding: 24px;
  }
  body main .section-cartes .carte .img {
    width: 80%;
    height: auto;
  }
  body main .section-cartes .carte h3 {
    font-size: 1.5rem;
    background-image: linear-gradient(to bottom, transparent 70%, #26301D);
  }
  body main .section-cartes .conteneur {
    display: none;
  }
  body main .section-grille .conteneur {
    grid-template-columns: 60% 40%;
  }
  body main .section-grille .conteneur .carre1 h3, body main .section-grille .conteneur .carre2 h3 {
    font-size: 0.9rem;
  }
  body main .section-grille .conteneur2 {
    grid-template-columns: 55% 45%;
  }
  body main .section-grille .conteneur2 .carre3 h3, body main .section-grille .conteneur2 .carre4 h3 {
    font-size: 0.9rem;
  }
  body main .section-rectangles {
    background-size: 150vw auto;
  }
  body main .section-rectangles .rectangle {
    width: 70%;
  }
  body main .section-rectangles .rectangle h3 {
    font-size: 1.1rem;
  }
  body main .section-rectangles .rectangle .contenu-cache p {
    font-size: 0.8rem;
  }
}/*# sourceMappingURL=bienfait-sante.css.map */