/**************  CHAMBRES  ****************/

.chambre h2 {
  font-size: 2rem;
  background: var(--color-brown);
  background: radial-gradient(ellipse at center, #756650fc, #4c330ffc);
  color: white;
  margin-block: 1rem;
  font-weight: normal;
  text-align: center;
  width: fit-content;
  min-width: max(320px, 40vw);
  border-radius: 0.5rem;
  padding: 1.2rem 2rem;
  margin: 0 auto;
  translate: 0 50%;
  z-index: 3;
  position: relative;
  box-shadow: 0px 0 3px rgba(255, 255, 255, 1);
}

section.chambre {
  max-width: 1200px;
  position: relative;
  margin: auto;
  padding-block: 1rem 3rem;
}
section.chambre:nth-child(1) {
  padding-top: 1rem;
}

.photo-chambre {
  position: relative;
  height: min(96%, 800px);
  overflow: visible;
  background-position: center center;
  background-size: cover;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
  border-radius: 16px;
  margin-inline: 0.5rem;

  background-position: center;
  background-size: cover;
}

.photo-chambre img {
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: min(100vh, 800px);
  transition: 0.8s ease-in-out;
  border-radius: 16px;
  display: block;
}
.photo-chambre img.fade {
  opacity: 1;
}
.photo-chambre img.hide {
  opacity: 0;
  transition: none;
}
#text-photo {
  position: absolute;
  color: white;
  bottom: 50px;
  left: 50%;
  text-wrap: nowrap;
  transform: translateX(-50%);
  font-size: 1.5rem;
  padding-inline: 1rem;
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}
.timbres {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1vw;
  padding: 0.5rem 0;
  position: absolute;
  bottom: 0;
  left: 50%;

  transform: translate(-50%, 50%);
}
.timbres img {
  width: max(10vw, 90px);
  height: max(10vw, 90px);
  max-width: 140px;
  max-height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  border: solid 3px rgba(255, 255, 255, 0.5);
  transition: 0.2s ease-in-out;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
@media screen and (min-width: 600px) {
  .timbres img.show {
    border: solid 3px rgba(255, 255, 255, 1);
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  }
}

@media screen and (max-width: 600px) {
  .photo-chambre {
    box-shadow: none;
    background-image: none !important;
    height: auto;
  }
  .photo-chambre > img {
    display: none;
  }
  .timbres {
    flex-direction: column;
    gap: 10px;
    position: relative;
    bottom: auto;
    left: auto;
    bottom: auto;
    left: auto;

    transform: none;
  }
  .timbres img {
    position: relative;
    width: 100%;
    height: auto;
    max-width: none;
    max-height: none;
    border: none;
    transform: none;
    border-radius: 16px;
    margin-inline: 0.5rem;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
  }
}

div.photo-chambre + div.texte {
  margin-top: max(7vw, 65px);
}
.chambre-description {
  max-width: 800px;
  margin-inline: auto;
  margin-top: 5rem;
}
.chambre-description p {
  font-size: 1.2rem;
}
.chambre-description ul {
  padding-left: 3rem;
  font-size: 1.2rem;
  width: fit-content;
  margin-top: 12px;
  margin-inline: auto;
  column-count: 2;
  column-gap: 20px;
}
.chambre-description li {
  break-inside: avoid;
}
.chambre-prix {
  /* --color-brown: #4c330ffc;
  --color-brown-light: #a2988bfc; */
  width: fit-content;
  display: block;
  background: radial-gradient(ellipse at center, #615442fc, #4c330ffc);
  background: #b59b78;
  margin-inline: auto;
  margin-top: 12px;
  padding-block: 0.8rem;
  padding-inline: 1.5rem;
  color: #fff;
  border-radius: 12px;
  line-height: 1.5;
}
.chambre-prix p {
  font-size: 1.4rem;
}
.chambre-prix ul {
  padding-left: 2rem;
  padding-block: 1rem;
}

.chambre-prix li {
  font-size: 1.25rem;
}
.chambre-prix li > span {
  font-size: 1.35rem;
  margin-inline: 0 0.3ch;
}
