@charset "UTF-8";
@font-face {
  font-family: "larken";
  src: url("../assets/fonts/larken/LarkenDEMO-Black.otf");
  font-display: swap;
}
@font-face {
  font-family: "cormoran";
  src: url("../assets/fonts/cormoran/CormorantUpright-SemiBold.ttf");
  font-display: swap;
}
@font-face {
  font-family: "young";
  src: url("../assets/fonts/YoungSerif-Regular.ttf");
  font-display: swap;
}
@font-face {
  font-family: "neon";
  src: url("../assets/fonts/Neonderthaw-Regular.ttf");
  font-display: swap;
}
@font-face {
  font-family: "yarn";
  src: url("../assets/fonts/Yarndings20-Regular.ttf");
  font-display: swap;
}
@font-face {
  font-family: "elite";
  src: url("../assets/fonts/SpecialElite-Regular.ttf");
  font-display: swap;
}
@font-face {
  font-family: "typewriter";
  src: url("../assets/fonts/SpecialElite-Regular.ttf");
  font-display: swap;
}
@font-face {
  font-family: "angel";
  src: url("../assets/fonts/Angel_min-Regular.ttf");
  font-display: swap;
}
@font-face {
  font-family: "radio";
  src: url("../assets/fonts/RadioCanadaBig-VariableFont_wght.ttf");
  font-display: swap;
}
@font-face {
  font-family: "hatton";
  src: url("../assets/fonts/PPHattonMedium500.otf");
  font-display: swap;
}
body {
  font-family: sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: #444;
}

.title {
  color: #e41612;
}

body {
  overflow-x: hidden;
  margin: 0;
}
body p {
  font-family: young;
  line-height: 1.6;
}

body::-webkit-scrollbar {
  width: 12px;
}

body::-webkit-scrollbar-track {
  background: #101010;
}

body::-webkit-scrollbar-thumb {
  background-color: #665736;
  border-radius: 20px;
  border: 3px solid #101010;
}

::-moz-selection {
  color: #101010;
  background-color: #cdb581;
}

::selection {
  color: #101010;
  background-color: #cdb581;
}

.sources {
  width: 100vw;
  height: 50px;
  display: flex;
  align-items: center;
  position: fixed;
}
.sources i {
  color: #fafafa;
  align-items: center;
  display: flex;
  margin: 0 5px;
  cursor: pointer;
}
.sources__container {
  display: flex;
}
.sources__switch {
  position: relative;
  display: inline-block;
  height: 20px;
  width: 40px;
  align-items: center;
}
.sources__switch input {
  opacity: 0;
  height: 0;
  width: 0;
}
.sources__switch input:checked + .sources__slider:before {
  transform: translateX(15px) translateY(-50%);
  background-color: #fff;
}
.sources__switch input:checked + .sources__slider {
  background-color: #cdb581;
}
.sources__slider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #000;
  border-radius: 40px;
  transition: 0.3s;
}
.sources__slider:before {
  position: absolute;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
  content: "";
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #fff;
  transition: 450ms cubic-bezier(0.34, 0.89, 1, 1.29);
  cursor: pointer;
}

.intro {
  color: #fafafa;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow-x: hidden;
}
.intro__video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: -1;
}
.intro__content {
  margin: 0 15px;
  max-width: 960px;
}
.intro .title {
  font-family: cormoran;
  font-size: 50px;
  position: relative;
  top: 0px;
  -webkit-animation: title 2s ease-in forwards;
          animation: title 2s ease-in forwards;
  color: #fafafa;
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
}
.intro .title--chronos {
  font-size: 50px;
  margin-bottom: 0;
  margin-top: 70px;
}
.intro__txt {
  margin: auto;
  position: relative;
  bottom: 0;
  -webkit-animation: content 2s ease-in forwards;
          animation: content 2s ease-in forwards;
  font-family: young;
  padding: 25px;
  margin-top: 44px;
  font-size: 18px;
  text-align: left;
}
.intro__txt:first-of-type {
  padding-bottom: 0;
  text-align: left;
}
.intro__txt:nth-of-type(2) {
  margin-bottom: 28px;
  margin-top: 0;
}
.intro__txt:nth-of-type(3) {
  margin-top: 70px;
  margin-bottom: 179px;
  font-size: 18px;
}
.intro__txt--center {
  text-align: center;
}
.intro__btn {
  font-family: young;
  border: 2px solid #fafafa;
  color: #fafafa;
  padding: 0.5rem 1rem;
  text-decoration: none;
  text-transform: uppercase;
  opacity: 0;
  transition: all 0.3s linear;
  -webkit-animation: btn 1.5s ease-in 1.5s forwards;
          animation: btn 1.5s ease-in 1.5s forwards;
  margin-top: 25px;
}
.intro__btn:hover {
  background-color: #fafafa;
  color: #101010;
  font-weight: bold;
  cursor: pointer;
}

.but {
  margin: 0 15px;
  margin-bottom: 112px;
  padding: 25px;
  justify-content: center;
  display: flex;
  flex-direction: column;
}
.but__title {
  font-family: cormoran;
  font-size: 50px;
  color: #fafafa;
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
  text-align: center;
}
.but__txt {
  margin: auto;
  margin-top: 18px;
  max-width: 960px;
  font-family: young;
  font-size: 18px;
  color: #fafafa;
}

.italic {
  font-style: italic;
}

@-webkit-keyframes title {
  0% {
    top: -100vh;
  }
  100% {
    top: 0;
  }
}

@keyframes title {
  0% {
    top: -100vh;
  }
  100% {
    top: 0;
  }
}
@-webkit-keyframes content {
  0% {
    bottom: -100vh;
  }
  100% {
    bottom: 0;
  }
}
@keyframes content {
  0% {
    bottom: -100vh;
  }
  100% {
    bottom: 0;
  }
}
@-webkit-keyframes btn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes btn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@media screen and (min-width: 600px) {
  .intro .title {
    font-size: 51px;
  }
  .intro .title--chronos {
    font-size: 105px;
  }
  .intro__txt {
    font-size: 20px;
  }

  .but .title {
    font-size: 51px;
  }
  .but__txt {
    font-size: 20px;
    margin-top: 20px;
  }
}
@media screen and (min-width: 781px) {
  .intro .title {
    font-size: 96px;
  }
  .intro .title--chronos {
    font-size: 125px;
  }
  .intro__txt {
    font-size: 24px;
  }

  .but .title {
    font-size: 96px;
  }
  .but__txt {
    font-size: 24px;
    margin-top: 24px;
  }
}
.chapitre1,
.chapitre2,
.chapitre3,
.chapitre4,
.chapitre5 {
  padding: 0;
  margin: 0%;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
.chapitre1 .sources,
.chapitre2 .sources,
.chapitre3 .sources,
.chapitre4 .sources,
.chapitre5 .sources {
  position: absolute;
  z-index: 1000;
}
.chapitre1 button,
.chapitre2 button,
.chapitre3 button,
.chapitre4 button,
.chapitre5 button {
  background: transparent;
  border: 0;
  color: #666666;
  cursor: pointer;
  display: inline-block;
  font-size: 1rem;
  font-weight: bold;
  padding: 0 1rem;
  text-transform: uppercase;
}
.chapitre1 button:hover,
.chapitre2 button:hover,
.chapitre3 button:hover,
.chapitre4 button:hover,
.chapitre5 button:hover {
  color: #101010;
  transition: 0.3s ease-in-out;
  cursor: pointer;
}
.chapitre1 button.open-modal,
.chapitre2 button.open-modal,
.chapitre3 button.open-modal,
.chapitre4 button.open-modal,
.chapitre5 button.open-modal {
  background: #101010;
  border-radius: 5px;
  color: #fafafa;
  display: inline-block;
  margin: 1rem 0.5rem;
  padding: 1rem;
}

.modal__img--hover:hover {
  transform: scale(2);
  transition: 0.5s ease-in-out;
  cursor: pointer;
}

.chapitre1 {
  position: relative;
}
.chapitre1::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgb(0, 0, 0) 100%);
  -webkit-animation: flicker 5s infinite;
          animation: flicker 5s infinite;
  mix-blend-mode: screen;
  /* Optionnel */
  z-index: 10;
}

@-webkit-keyframes flicker {
  0% {
    opacity: 0.2;
  }
  3% {
    opacity: 0.6;
  }
  5% {
    opacity: 0.1;
  }
  9% {
    opacity: 0.5;
  }
  11% {
    opacity: 0.2;
  }
  13% {
    opacity: 0.6;
  }
  20% {
    opacity: 0.3;
  }
  40% {
    opacity: 0.5;
  }
  70% {
    opacity: 0.15;
  }
  90% {
    opacity: 0.4;
  }
  100% {
    opacity: 0.3;
  }
}

@keyframes flicker {
  0% {
    opacity: 0.2;
  }
  3% {
    opacity: 0.6;
  }
  5% {
    opacity: 0.1;
  }
  9% {
    opacity: 0.5;
  }
  11% {
    opacity: 0.2;
  }
  13% {
    opacity: 0.6;
  }
  20% {
    opacity: 0.3;
  }
  40% {
    opacity: 0.5;
  }
  70% {
    opacity: 0.15;
  }
  90% {
    opacity: 0.4;
  }
  100% {
    opacity: 0.3;
  }
}
.salle1,
.salle2,
.salle3,
.salle4,
.salle5 {
  height: 100vh;
  margin: 0;
  padding: 0;
  position: relative;
  overflow-x: scroll;
  overflow-y: hidden;
}
.salle1__bg,
.salle2__bg,
.salle3__bg,
.salle4__bg,
.salle5__bg {
  height: 100%;
  width: auto;
  display: block;
  position: relative;
}
.salle1__img,
.salle2__img,
.salle3__img,
.salle4__img,
.salle5__img {
  cursor: pointer;
  position: absolute;
}
.salle1__etagereVide,
.salle2__etagereVide,
.salle3__etagereVide,
.salle4__etagereVide,
.salle5__etagereVide {
  width: calc(12% + 50px);
  top: 35%;
  left: 25%;
}
.salle1__horloge,
.salle2__horloge,
.salle3__horloge,
.salle4__horloge,
.salle5__horloge {
  width: calc(8% + 50px);
  top: 35%;
  right: 15%;
}
.salle1__journaux,
.salle2__journaux,
.salle3__journaux,
.salle4__journaux,
.salle5__journaux {
  width: 175px;
  bottom: 17%;
  right: 45%;
}
.salle1__coffre,
.salle2__coffre,
.salle3__coffre,
.salle4__coffre,
.salle5__coffre {
  width: calc(10% + 50px);
  bottom: 5%;
  left: 60%;
  filter: grayscale(0.5);
}
.salle1__etagere,
.salle2__etagere,
.salle3__etagere,
.salle4__etagere,
.salle5__etagere {
  width: calc(10% + 50px);
  top: 45%;
  left: 12%;
}
.salle1__poesie,
.salle2__poesie,
.salle3__poesie,
.salle4__poesie,
.salle5__poesie {
  width: calc(3% + 50px);
  bottom: 5%;
  left: 38%;
  filter: grayscale(0.4) saturate(0.6);
}
.salle1__roman,
.salle2__roman,
.salle3__roman,
.salle4__roman,
.salle5__roman {
  width: calc(6% + 50px);
  top: 25%;
  left: 58%;
}
.salle1__modal,
.salle2__modal,
.salle3__modal,
.salle4__modal,
.salle5__modal {
  z-index: 100;
}
.salle1 .modal,
.salle2 .modal,
.salle3 .modal,
.salle4 .modal,
.salle5 .modal {
  height: 100%;
  padding: 2rem;
  position: fixed;
  top: 0;
  width: 100%;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 500;
}
.salle1 .modal__cadre,
.salle2 .modal__cadre,
.salle3 .modal__cadre,
.salle4 .modal__cadre,
.salle5 .modal__cadre {
  position: absolute;
  width: 50%;
  top: 0%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.salle1 .modal__text--italic,
.salle2 .modal__text--italic,
.salle3 .modal__text--italic,
.salle4 .modal__text--italic,
.salle5 .modal__text--italic {
  font-style: italic;
}
.salle1 .modal p,
.salle2 .modal p,
.salle3 .modal p,
.salle4 .modal p,
.salle5 .modal p {
  font-size: 18px;
}
.salle1 .modal__backdrop,
.salle2 .modal__backdrop,
.salle3 .modal__backdrop,
.salle4 .modal__backdrop,
.salle5 .modal__backdrop {
  background: rgba(0, 0, 0, 0.7);
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
}
.salle1 .modal__content,
.salle2 .modal__content,
.salle3 .modal__content,
.salle4 .modal__content,
.salle5 .modal__content {
  background: #fff;
  background: #a89985;
  background: radial-gradient(circle, rgb(218, 199, 175) 0%, rgb(247, 236, 214) 50%, rgb(218, 187, 123) 100%);
  border: 5px solid #cdb581;
  border-radius: 5px;
  width: 80%;
  position: fixed;
  top: -110%;
  transition: all 0.6s ease;
  z-index: 1000;
  position: absolute;
  right: 50%;
  transform: translateX(50%) scale(-1);
}
.salle1 .modal__content--dragula,
.salle2 .modal__content--dragula,
.salle3 .modal__content--dragula,
.salle4 .modal__content--dragula,
.salle5 .modal__content--dragula {
  width: 65%;
  max-width: 1500px;
}
.salle1 .modal__content::after,
.salle2 .modal__content::after,
.salle3 .modal__content::after,
.salle4 .modal__content::after,
.salle5 .modal__content::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../assets/images/allnoisy.png");
  opacity: 0.5;
  mix-blend-mode: multiply;
  pointer-events: none;
  background-size: cover;
}
.salle1 .modal__header,
.salle2 .modal__header,
.salle3 .modal__header,
.salle4 .modal__header,
.salle5 .modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ccc;
  padding: 1.5rem;
  font-family: hatton;
  font-size: 28px;
}
.salle1 .modal__header .close-modal,
.salle2 .modal__header .close-modal,
.salle3 .modal__header .close-modal,
.salle4 .modal__header .close-modal,
.salle5 .modal__header .close-modal {
  font-size: 2rem;
  padding: 0;
  margin: 0;
  height: 30px;
  width: 30px;
  text-align: center;
  font-family: hatton;
}
.salle1 .modal__header .close-modal:hover,
.salle2 .modal__header .close-modal:hover,
.salle3 .modal__header .close-modal:hover,
.salle4 .modal__header .close-modal:hover,
.salle5 .modal__header .close-modal:hover {
  color: #101010;
  cursor: pointer;
}
.salle1 .modal__title,
.salle2 .modal__title,
.salle3 .modal__title,
.salle4 .modal__title,
.salle5 .modal__title {
  font-size: 28px;
  margin: 0px;
}
.salle1 .modal__body,
.salle2 .modal__body,
.salle3 .modal__body,
.salle4 .modal__body,
.salle5 .modal__body {
  padding: 1.5rem;
}
.salle1 .modal__body button,
.salle2 .modal__body button,
.salle3 .modal__body button,
.salle4 .modal__body button,
.salle5 .modal__body button {
  font-family: hatton;
}
.salle1 .modal__body--paragraphe,
.salle2 .modal__body--paragraphe,
.salle3 .modal__body--paragraphe,
.salle4 .modal__body--paragraphe,
.salle5 .modal__body--paragraphe {
  display: flex;
  justify-content: space-evenly;
}
.salle1 .modal__img,
.salle2 .modal__img,
.salle3 .modal__img,
.salle4 .modal__img,
.salle5 .modal__img {
  width: 150px;
  display: flex;
  margin: auto;
  z-index: 150;
  position: relative;
}
.salle1 .modal__img--fragment,
.salle2 .modal__img--fragment,
.salle3 .modal__img--fragment,
.salle4 .modal__img--fragment,
.salle5 .modal__img--fragment {
  width: auto;
  height: 150px;
}
.salle1 .modal__img--romans,
.salle2 .modal__img--romans,
.salle3 .modal__img--romans,
.salle4 .modal__img--romans,
.salle5 .modal__img--romans {
  height: 200px;
  width: auto;
}
.salle1 .modal__footer,
.salle2 .modal__footer,
.salle3 .modal__footer,
.salle4 .modal__footer,
.salle5 .modal__footer {
  border-top: 1px solid #ccc;
  padding: 1rem;
  text-align: right;
  font-family: hatton;
  font-size: 18px;
  position: relative;
}
.salle1 .modal__footer button,
.salle2 .modal__footer button,
.salle3 .modal__footer button,
.salle4 .modal__footer button,
.salle5 .modal__footer button {
  font-family: hatton;
}
.salle1 .modal__footer a,
.salle2 .modal__footer a,
.salle3 .modal__footer a,
.salle4 .modal__footer a,
.salle5 .modal__footer a {
  color: #666666;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  padding: 0 1rem;
  cursor: pointer;
  text-decoration: none;
  font-family: hatton;
  font-size: 18px;
}
.salle1 .modal__footer::after,
.salle2 .modal__footer::after,
.salle3 .modal__footer::after,
.salle4 .modal__footer::after,
.salle5 .modal__footer::after {
  content: "";
  position: absolute;
  bottom: -70px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38.48px;
  height: 71.44px;
  background-image: url("../assets/images/bottomorn.webp");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}
.salle1 .modal.visible,
.salle2 .modal.visible,
.salle3 .modal.visible,
.salle4 .modal.visible,
.salle5 .modal.visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
}
.salle1 .modal.visible .modal__content,
.salle2 .modal.visible .modal__content,
.salle3 .modal.visible .modal__content,
.salle4 .modal.visible .modal__content,
.salle5 .modal.visible .modal__content {
  top: 25%;
  transform: translate(50%, 0%) scale(1) rotate(0deg);
  opacity: 1;
}
.salle1 .modal .DragulaImg,
.salle2 .modal .DragulaImg,
.salle3 .modal .DragulaImg,
.salle4 .modal .DragulaImg,
.salle5 .modal .DragulaImg {
  max-width: 100%;
  display: block;
  margin: 0 auto;
}
.salle1 .modal .DragulaImg:hover,
.salle2 .modal .DragulaImg:hover,
.salle3 .modal .DragulaImg:hover,
.salle4 .modal .DragulaImg:hover,
.salle5 .modal .DragulaImg:hover {
  transform: scale(2);
  transition: 0.2s ease-in-out;
  cursor: pointer;
}
.salle1 .dragula,
.salle2 .dragula,
.salle3 .dragula,
.salle4 .dragula,
.salle5 .dragula {
  display: flex;
  gap: 20px;
  overflow-x: visible;
}
.salle1 .dragula__card,
.salle2 .dragula__card,
.salle3 .dragula__card,
.salle4 .dragula__card,
.salle5 .dragula__card {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  margin: auto;
  align-items: center;
  width: 200px;
  height: auto;
}
.salle1 .dragula__card:hover,
.salle2 .dragula__card:hover,
.salle3 .dragula__card:hover,
.salle4 .dragula__card:hover,
.salle5 .dragula__card:hover {
  transform: scale(2);
  transition: 0.2s ease-in-out;
  cursor: pointer;
  z-index: 100;
}
.salle1 .dragula__card img,
.salle2 .dragula__card img,
.salle3 .dragula__card img,
.salle4 .dragula__card img,
.salle5 .dragula__card img {
  max-width: 100%;
  display: block;
  margin: 0 auto;
  width: 200px !important;
  height: auto;
}
.salle1 .dragula .dragula__card.selected,
.salle2 .dragula .dragula__card.selected,
.salle3 .dragula .dragula__card.selected,
.salle4 .dragula .dragula__card.selected,
.salle5 .dragula .dragula__card.selected {
  outline: 3px solid #cdb581;
  box-shadow: 0 0 10px #cdb581;
}
.salle1 .password__input,
.salle2 .password__input,
.salle3 .password__input,
.salle4 .password__input,
.salle5 .password__input {
  width: 50px;
  height: 50px;
  margin: 10px;
  text-align: center;
  font-weight: bold;
  font-size: 28px;
}
.salle1 .password__container,
.salle2 .password__container,
.salle3 .password__container,
.salle4 .password__container,
.salle5 .password__container {
  justify-content: center;
  display: flex;
}
.salle1 .lock,
.salle2 .lock,
.salle3 .lock,
.salle4 .lock,
.salle5 .lock {
  text-align: center;
  position: relative;
  background: url("https://www.transparenttextures.com/patterns/paper-fibers.png");
  border: 6px ridge #4a3a23;
  border-radius: 1rem;
  padding: 2rem;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  box-shadow: inset 0 0 10px #c5a46d, 0 0 20px #000;
  margin: auto;
  font-family: elite;
  /* Si tu veux styliser aussi le bouton unlock, tu peux l'adapter de façon similaire */
}
.salle1 .lock__body,
.salle2 .lock__body,
.salle3 .lock__body,
.salle4 .lock__body,
.salle5 .lock__body {
  position: relative;
  /* tu peux ajuster hauteur/largeur pour coller au style */
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  margin: 0 auto;
}
.salle1 .lock__dial,
.salle2 .lock__dial,
.salle3 .lock__dial,
.salle4 .lock__dial,
.salle5 .lock__dial {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.salle1 .lock .digitS1,
.salle2 .lock .digitS1,
.salle3 .lock .digitS1,
.salle4 .lock .digitS1,
.salle5 .lock .digitS1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(#d8c195, #b29663);
  border: 2px solid #4d3c23;
  border-radius: 10px;
  width: 60px;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  background-image: url("https://www.transparenttextures.com/patterns/groovepaper.png");
}
.salle1 .lock__input,
.salle2 .lock__input,
.salle3 .lock__input,
.salle4 .lock__input,
.salle5 .lock__input {
  font-family: elite;
  font-size: 2rem;
  color: #2a1e0f;
  padding-top: 15px;
  font-weight: bold;
  background: #fff5dc;
  width: 100%;
  text-align: center;
  border-radius: 5px;
  border: none;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(255, 255, 255, 0.2);
}
.salle1 .lock .arrowS1,
.salle2 .lock .arrowS1,
.salle3 .lock .arrowS1,
.salle4 .lock .arrowS1,
.salle5 .lock .arrowS1 {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #2a1e0f;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  transition: transform 0.1s ease;
  margin: 4px 0;
}
.salle1 .lock .arrowS1:active,
.salle2 .lock .arrowS1:active,
.salle3 .lock .arrowS1:active,
.salle4 .lock .arrowS1:active,
.salle5 .lock .arrowS1:active {
  transform: scale(1.2);
  color: #8c5e2a;
}
.salle1 .lock .unlockButtonS1,
.salle2 .lock .unlockButtonS1,
.salle3 .lock .unlockButtonS1,
.salle4 .lock .unlockButtonS1,
.salle5 .lock .unlockButtonS1 {
  margin-top: 15px;
  padding: 10px 20px;
  background: #b29663;
  color: #2a1e0f;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}
.salle1 .lock .unlockButtonS1:hover,
.salle2 .lock .unlockButtonS1:hover,
.salle3 .lock .unlockButtonS1:hover,
.salle4 .lock .unlockButtonS1:hover,
.salle5 .lock .unlockButtonS1:hover {
  background: #d8c195;
  color: #4d3c23;
}

.none {
  display: none;
}

.color {
  color: #cdb581;
}

@media screen and (min-width: 781px) {
  .modal__content {
    max-width: 500px;
    width: auto;
  }
  .modal__img {
    width: 30%;
  }
  .modal__title {
    margin-top: 24px !important;
    margin-bottom: 24px !important;
  }

  .dragula {
    height: 250px;
  }
}
@media screen and (min-width: 1000px) {
  .modal__content {
    min-width: 900px;
  }
}
@media screen and (min-width: 1660px) {
  .chapitre1 {
    height: 100vh;
    overflow-y: hidden;
    overflow-x: hidden;
  }

  .salle1 {
    height: auto;
    /* Hauteur complète de l'écran */
    width: 100vw;
    /* Largeur complète de l'écran */
  }
  .salle1__bg {
    height: auto;
    width: 100vw;
    display: block;
  }
  .salle1__etagereVide {
    width: calc(12% + 50px);
    top: 28%;
    left: 29%;
  }
  .salle1__horloge {
    width: calc(10% + 50px);
    top: 20%;
    right: 12%;
  }
  .salle1__journaux {
    width: calc(5% + 50px);
    bottom: 32%;
    right: 42%;
  }
  .salle1__coffre {
    width: calc(10% + 50px);
    bottom: 25%;
    left: 62%;
  }
  .salle1__etagere {
    width: calc(13% + 50px);
    top: 20%;
    left: 12%;
  }
  .salle1__poesie {
    width: calc(4% + 50px);
    bottom: 16%;
    left: 25%;
  }
  .salle1__roman {
    top: 25%;
    left: 58%;
  }
}
.chapitre2 {
  overflow-y: hidden;
}

.none {
  display: none;
}

.salle2__img {
  position: absolute;
}
.salle2__horlogeLeft {
  width: calc(10% + 50px);
  top: 18%;
  left: 10%;
}
.salle2__horlogefermee {
  width: calc(10% + 50px);
  top: 27%;
  left: 22%;
}
.salle2__coffretGear {
  width: calc(8% + 50px);
  top: 65%;
  right: 43%;
}
.salle2__suspClocks {
  width: calc(10% + 50px);
  top: 0%;
  left: 40%;
}
.salle2__gearRS2 {
  width: calc(5% + 50px);
  top: 32%;
  left: 58%;
}
.salle2 .contentHorlogeleft {
  margin: auto;
  justify-content: center;
}
.salle2 .contentHorlogeleft .horloge {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #d9dbdc;
  height: 250px;
  width: 250px;
  position: relative;
  border-radius: 50%;
  box-shadow: -3px -3px 7px rgba(255, 255, 255, 0.4509803922), 3px 3px 7px rgba(79, 79, 79, 0.4509803922);
  margin: auto;
}
.salle2 .contentHorlogeleft .horloge::before {
  content: "";
  position: absolute;
  height: 220px;
  width: 220px;
  border-radius: 50%;
  background: #d9dbdc;
  box-shadow: inset -3px -3px 7px rgba(255, 255, 255, 0.4509803922), inset 3px 3px 5px rgba(79, 79, 79, 0.4509803922);
}
.salle2 .contentHorlogeleft .horloge::after {
  content: "";
  position: absolute;
  height: 120px;
  width: 120px;
  border-radius: 50%;
  background: #d9dbdc;
  box-shadow: -1px -1px 7px rgba(255, 255, 255, 0.4509803922), 1px 1px 5px rgba(79, 79, 79, 0.4509803922);
}
.salle2 .contentHorlogeleft .centre {
  position: absolute;
  height: 15px;
  width: 15px;
  background: #1e1e1e;
  border-radius: 50%;
  z-index: 2;
}
.salle2 .contentHorlogeleft .centre--2 {
  height: 15px;
  width: 15px;
  background: #2e2e2e;
  border-radius: 50%;
  z-index: 20;
  position: absolute;
}
.salle2 .contentHorlogeleft .indicateurs {
  display: flex;
  justify-content: center;
  align-items: center;
}
.salle2 .contentHorlogeleft .indicateurs div {
  position: absolute;
  width: 2px;
  height: 5px;
  background: #adadad;
}
.salle2 .contentHorlogeleft .indicateurs div:nth-child(1) {
  transform: rotate(30deg) translateY(-100px);
}
.salle2 .contentHorlogeleft .indicateurs div:nth-child(2) {
  transform: rotate(60deg) translateY(-100px);
}
.salle2 .contentHorlogeleft .indicateurs div:nth-child(3) {
  transform: rotate(90deg) translateY(-100px);
  background: #000000;
}
.salle2 .contentHorlogeleft .indicateurs div:nth-child(4) {
  transform: rotate(120deg) translateY(-100px);
}
.salle2 .contentHorlogeleft .indicateurs div:nth-child(5) {
  transform: rotate(150deg) translateY(-100px);
}
.salle2 .contentHorlogeleft .indicateurs div:nth-child(6) {
  transform: rotate(180deg) translateY(-100px);
  background: #000000;
}
.salle2 .contentHorlogeleft .indicateurs div:nth-child(7) {
  transform: rotate(210deg) translateY(-100px);
}
.salle2 .contentHorlogeleft .indicateurs div:nth-child(8) {
  transform: rotate(240deg) translateY(-100px);
}
.salle2 .contentHorlogeleft .indicateurs div:nth-child(9) {
  transform: rotate(270deg) translateY(-100px);
  background: #000000;
}
.salle2 .contentHorlogeleft .indicateurs div:nth-child(10) {
  transform: rotate(300deg) translateY(-100px);
}
.salle2 .contentHorlogeleft .indicateurs div:nth-child(11) {
  transform: rotate(330deg) translateY(-100px);
}
.salle2 .contentHorlogeleft .indicateurs div:nth-child(12) {
  transform: rotate(360deg) translateY(-100px);
  background: #000000;
}
.salle2 .contentHorlogeleft .aiguille__minute, .salle2 .contentHorlogeleft .minute {
  position: absolute;
  height: 140px;
  width: 140px;
  z-index: 5;
}
.salle2 .contentHorlogeleft .aiguille__heure, .salle2 .contentHorlogeleft .heure {
  position: absolute;
  height: 110px;
  width: 110px;
  z-index: 4;
}
.salle2 .contentHorlogeleft .seconde, .salle2 .contentHorlogeleft .minute, .salle2 .contentHorlogeleft .heure {
  display: flex;
  justify-content: center;
  position: absolute;
}
.salle2 .contentHorlogeleft .minute::before {
  content: "";
  position: absolute;
  width: 1px;
  top: -15px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 10px solid #2e2e2e;
}
.salle2 .contentHorlogeleft .minute::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 80px;
  top: -10px;
  background: #2e2e2e;
}
.salle2 .contentHorlogeleft .heure::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 50px;
  top: 0px;
  background: #2e2e2e;
}
.salle2 .contentHorlogeleft .heure::before {
  content: "";
  position: absolute;
  width: 1px;
  top: -5px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 10px solid #2e2e2e;
}
.salle2 .contentHorlogeleft .clock-message {
  font-size: 20px;
  color: #665736;
  visibility: hidden;
  text-align: center;
}
.salle2 .contentHorlogeleft .controls {
  margin-top: 20px;
  justify-content: center;
  display: flex;
}
.salle2 .contentHorlogeleft button {
  margin: 5px;
  padding: 10px 20px;
  border: 1px solid #665736;
  color: #665736;
  cursor: pointer;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  font-family: radio;
}
.salle2 .contentHorlogeleft button:hover {
  border-color: #4b4029;
  color: #fafafa;
  background-color: #4b4029;
  cursor: pointer;
}
.salle2 .contentHorlogeleft button:active {
  transform: scale(1.1);
  transition: ease-in-out 0.3s;
  background-color: #9f8419;
  color: #fafafa;
}
.salle2 .instruGear {
  display: flex;
  margin: auto;
  justify-content: space-between;
  align-items: center;
}
.salle2 .instruGear #validerCodeGear,
.salle2 .instruGear #validerlastDesk {
  margin: 5px;
  padding: 10px 20px;
  border: 1px solid #665736;
  color: #665736;
  cursor: pointer;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  font-family: radio;
}
.salle2 .instruGear #validerCodeGear:hover,
.salle2 .instruGear #validerlastDesk:hover {
  border-color: #4b4029;
  color: #fafafa;
  background-color: #4b4029;
  cursor: pointer;
}
.salle2 .instruGear__answer {
  width: 50%;
  display: flex;
  align-items: center;
}
.salle2 .instruGear .codeInput {
  height: 36px;
}
.salle2 .gearRS2-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  /* Largeur fixe du conteneur */
}
.salle2 .gearRS2 {
  background-image: url("../assets/images/chapitres2/gear3.webp");
  /* border: 2px solid black;
  border-radius: 50%; */
  background-size: contain;
  background-repeat: no-repeat;
  -webkit-animation: rotate 6s linear infinite;
          animation: rotate 6s linear infinite;
  transform-origin: center;
  position: relative;
  margin-right: -2px;
}
.salle2 .gearRS2:nth-child(1) {
  width: 60px;
  height: 60px;
  -webkit-animation-duration: 6s;
          animation-duration: 6s;
  z-index: 1;
}
.salle2 .gearRS2:nth-child(2) {
  width: 80px;
  height: 80px;
  -webkit-animation-duration: 4.5s;
          animation-duration: 4.5s;
  z-index: 2;
  animation-direction: reverse;
  /* Inverse la direction */
}
.salle2 .gearRS2:nth-child(3) {
  width: 100px;
  height: 100px;
  -webkit-animation-duration: 6s;
          animation-duration: 6s;
  z-index: 3;
}
.salle2 .gearRS2:nth-child(4) {
  width: 120px;
  height: 120px;
  -webkit-animation-duration: 4.5s;
          animation-duration: 4.5s;
  z-index: 4;
  animation-direction: reverse;
  /* Inverse la direction */
}
.salle2 .gearRS2:nth-child(5) {
  width: 140px;
  height: 140px;
  -webkit-animation-duration: 6s;
          animation-duration: 6s;
  z-index: 5;
}
.salle2 .gearRS2:nth-child(6) {
  width: 160px;
  height: 160px;
  /* margin-top: -50%; */
  -webkit-animation-duration: 4.5s;
          animation-duration: 4.5s;
  z-index: 6;
  animation-direction: reverse;
  /* Inverse la direction */
}
.salle2 .gearRS2:nth-child(7) {
  width: 180px;
  height: 180px;
  -webkit-animation-duration: 6s;
          animation-duration: 6s;
  z-index: 7;
  /* animation: none; */
}
@-webkit-keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.salle2__balanceS2 {
  width: calc(4% + 50px);
  top: 62%;
  left: 40%;
  transform: translate(-50%, -50%);
}
.salle2 .codeInput {
  height: 25px;
}
.salle2__lastS2 {
  width: calc(15% + 50px);
  top: 72%;
  left: 72%;
  transform: translate(-50%, -50%);
}
.salle2__postitS2 {
  width: calc(1% + 50px);
  top: 52%;
  left: 58%;
  transform: translate(50%, -50%);
}
.salle2 .gameS2__buttons {
  margin-bottom: 20px;
  justify-content: center;
  display: flex;
}
.salle2 .gameS2__play, .salle2 .gameS2 .gameS2__reset {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  margin: 5px;
}
.salle2 .gameS2__glasses {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.salle2 .gameS2 .glass {
  width: 100px;
  height: auto;
  margin: 10px;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}
.salle2 .gameS2 .active {
  transform: scale(1.2);
}
.salle2 .gameS2__message {
  margin-top: 20px;
  font-size: 18px;
  color: #665736;
  font-weight: bold;
  text-align: center;
}
.salle2__paperClep {
  width: calc(3% + 50px);
  top: 40%;
  left: 72%;
  transform: translate(50%, -50%);
}

@media screen and (min-width: 1000px) {
  .modal__content {
    min-width: 900px;
  }
}
@media screen and (min-width: 1660px) {
  .chapitre1 {
    height: 100vh;
    overflow-y: hidden;
  }

  .salle1,
.salle2,
.salle3 {
    height: auto;
    /* Hauteur complète de l'écran */
    width: 100vw;
    /* Largeur complète de l'écran */
  }
  .salle1__bg,
.salle2__bg,
.salle3__bg {
    height: auto;
    width: 100vw;
    display: block;
  }
}
.chapitre3 {
  overflow-y: hidden;
}

.salle3__img {
  position: absolute;
}
.salle3__bg {
  height: 100vh;
  overflow-y: hidden;
  position: relative;
}
.salle3__lampDeco {
  width: calc(2% + 50px);
  top: 27%;
  left: 9%;
}
.salle3__lampDeco--1 {
  width: calc(2% + 50px);
  top: 34%;
  left: 23%;
  z-index: 5;
}
.salle3 .gameelS3__panel {
  display: flex;
  justify-content: space-between;
  width: 400px;
  position: relative;
  margin: auto;
}
.salle3 .gameelS3__message {
  text-align: center;
}
.salle3 .gameelS3 .wire-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.salle3 .gameelS3 .wire {
  width: 50px;
  height: 20px;
  border-radius: 50%;
  cursor: -webkit-grab;
  cursor: grab;
}
.salle3 .gameelS3 .wire.selected {
  outline: 3px solid #cdb581;
  box-shadow: 0 0 10px #cdb581;
}
.salle3 .gameelS3 .wire[data-color=red] {
  background-color: rgb(160, 64, 64);
}
.salle3 .gameelS3 .wire[data-color=blue] {
  background-color: rgb(84, 84, 138);
}
.salle3 .gameelS3 .wire[data-color=green] {
  background-color: rgb(63, 123, 63);
}
.salle3 .gameelS3 .wire[data-color=yellow] {
  background-color: #c4a21d;
}
.salle3 .gameelS3 .wire[data-color=purple] {
  background-color: rgb(101, 14, 101);
}
.salle3 .gameelS3 .wire[data-color=pink] {
  background-color: #c89aa1;
}
.salle3 .gameelS3 .none {
  display: none;
}
.salle3 .gameelS3 .lefil {
  position: absolute;
  width: 95%;
  left: 5px;
  pointer-events: none;
}
.salle3 .gameelS3 .lefil__blue {
  top: 40px;
}
.salle3 .gameelS3 .lefil__green {
  top: -4px;
}
.salle3 .gameelS3 .lefil__yellow {
  top: 120px;
}
.salle3 .gameelS3 .lefil__pink {
  top: 165px;
}
.salle3 .gameelS3 .lefil__violet {
  top: 45px;
}
.salle3__crie {
  width: calc(1% + 50px);
  top: 37%;
  left: 27.5%;
  z-index: 2;
}
.salle3__coffrePiles {
  width: calc(6% + 50px);
  top: 70%;
  left: 25%;
}
.salle3__lampdePoche {
  width: calc(6% + 50px);
  top: 80%;
  left: 60%;
}
.salle3 .modal__body--poche {
  height: 300px;
  width: 100%;
  position: relative;
  padding: 0;
}
.salle3 .lamppoche {
  margin: 0;
  overflow: hidden;
  height: 100%;
  width: 100%;
  position: relative;
}
.salle3 .lamppoche__container {
  display: block;
  height: 100%;
  width: 100%;
  background: black;
  position: relative;
}
.salle3 .lamppoche__light {
  position: absolute;
  transform: translate(-50%, -50%);
  top: -50%;
  left: -50%;
  width: 1px;
  height: 1px;
  border: 1px solid white;
  border-radius: 50%;
  box-shadow: 0 0 50px 50px white;
}
.salle3 .lamppoche__darkness {
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  margin: auto;
  text-align: center;
  color: #101010;
}
.salle3__corbeau {
  width: calc(6% + 50px);
  top: 57%;
  right: 19%;
}
.salle3 .modal__img--mirrorS3 {
  width: 20%;
}
.salle3 .modal__img--faisceaux {
  width: 60%;
  margin-top: 30px;
}
.salle3__mirroir {
  width: calc(5% + 50px);
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.salle3 .modal__body--morse {
  height: 400px;
  padding: 0;
}
.salle3 .morse {
  background-color: #2a202b;
  border-radius: 4px;
  box-shadow: 0 0 15px 0px rgba(0, 0, 0, 0.4);
  height: 400px;
  left: 50%;
  margin: 30px auto 0;
  overflow: hidden;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}
.salle3 .morse__result {
  height: 200px;
  overflow: hidden;
}
.salle3 .morse__svg {
  /* animation: light-swing 4s cubic-bezier(.12,.47,.93,1) infinite; */
  height: 476px;
  margin-top: -20px;
  transform-origin: center top;
  width: 100%;
}
.salle3 .morse__svg--BL, .salle3 .morse__svg--TL {
  opacity: 0;
  transition: opacity 0.2s ease-in;
}
.salle3 .morse__svg--BL.light-up {
  opacity: 0.3;
}
.salle3 .morse__svg--TL.light-up {
  opacity: 0.1;
}
.salle3 .morse__keyboard {
  background-color: #4b4651;
  border-top: 2px solid #37343c;
  display: flex;
  flex-direction: column;
  height: 200px;
  justify-content: space-evenly;
}
.salle3 .morse__row {
  display: flex;
  justify-content: center;
}
.salle3 .morse__key {
  background-color: transparent;
  border: 0;
  border-radius: 3px;
  color: #fafafa;
  cursor: pointer;
  font-family: young;
  font-size: 14px;
  height: 30px;
  line-height: 28px;
  margin: 0 4px;
  outline: none;
  padding: 2px 0 0;
  text-align: center;
  text-transform: uppercase;
  width: 70px;
}
.salle3 .morse__key:hover:not(:disabled) {
  background-color: #2a202b;
  color: #fafafa;
  cursor: pointer;
}
.salle3 .morse__key:disabled {
  cursor: not-allowed;
  opacity: 0.2;
}
.salle3__valises3 {
  width: calc(5% + 50px);
  top: 60%;
  left: 60%;
}
.salle3 .morseCode {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.salle3 .morseCode #morseInput {
  font-size: 24px;
  padding: 10px;
  width: 200px;
  text-align: center;
  justify-content: center;
  display: flex;
  margin: auto;
  border: 1px solid black;
  border-radius: 5px;
  font-family: radio;
}
.salle3 .morseCode .btnMorse {
  margin: 5px;
  padding: 10px 20px;
  border: 1px solid #665736;
  color: #665736;
  cursor: pointer;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  font-family: radio;
}
.salle3 .morseCode .btnMorse:hover {
  border-color: #4b4029;
  color: #fafafa;
  background-color: #4b4029;
  cursor: pointer;
}
.salle3 .morseCode .btnMorse:active {
  transform: scale(1.1);
  transition: ease-in-out 0.3s;
}
.salle3 .morseCode__dash, .salle3 .morseCode__validate {
  display: flex;
  justify-content: center;
}
.salle3__horloge {
  width: calc(4% + 50px);
  top: 15%;
  left: 47%;
}
.salle3__frame {
  width: calc(4% + 50px);
  top: 55%;
  left: 47%;
}
.salle3 .modal__body--neonS3 {
  background-color: #101010;
}
.salle3 .neon {
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  /* width: 80%;
  height: 20%; */
  /* display: -webkit-box;         
  display: -ms-flexbox;          */
  /* -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-box-align: center;  
  -ms-flex-align: center;   */
}
.salle3 .neon__tittle {
  margin: 0;
  padding: 0;
  /* font-family: Neon, sans-serif; */
  font-family: Neon;
  font-size: 38px;
  /* text-transform: uppercase; */
  color: #87d7ff;
  opacity: 0.1;
  /* -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=10)"; */
}
.salle3 .neon__tittle--animate {
  color: #fafafa;
  -webkit-animation: neon 10s cubic-bezier(0.1, 0.7, 1, 1);
          animation: neon 10s cubic-bezier(0.1, 0.7, 1, 1);
  opacity: 1;
}
.salle3 .neon__tittle--show {
  color: #fafafa;
  /*доп тень 5px 5px 4px rgba(255, 156, 242, 0.3) */
  text-shadow: 0 0 10px #fafafa, 0 0 20px #fafafa, 0 0 30px #fafafa, 0 0 40px #4b4029, 0 0 70px #4b4029, 0 0 80px #4b4029, 0 0 100px #4b4029, 0 0 150px #4b4029;
}
.salle3 .neon__tumbler {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 10px;
  height: 40px;
  width: 30px;
  background-color: #969da3;
  border-bottom: 3px solid #616569;
  border-radius: 5%;
  perspective: 1000px;
}
.salle3 .neon__tumbler:hover {
  cursor: pointer;
}
.salle3 .neon__tumbler--border {
  height: 36px;
  width: 26px;
  border-radius: 5%;
  border: 1px solid #656b70;
}
.salle3 .neon__toggle {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -4px;
  height: 10px;
  width: 8px;
  background-color: #fafafa;
  border-bottom: 1px solid #293840;
  border-radius: 0 0 10% 10%;
  transition: all 0.2s;
}
.salle3 .neon__toggle--down {
  position: absolute;
  top: 25%;
  left: 50%;
  margin-left: -4px;
  height: 20px;
  width: 8px;
  background-color: #656b70;
  border-radius: 5%;
  perspective: 50px;
}
.salle3 .theEnd {
  margin: auto;
  margin-top: 28px;
  margin-bottom: 28px;
  display: flex;
  width: 200px;
  justify-content: space-between;
}
.salle3 .theEnd__heure, .salle3 .theEnd__min {
  border: 1px solid black;
  border-radius: 5px;
  width: 70px;
  font-size: 18px;
}
.salle3 .theEnd__validate {
  margin: auto;
  padding: 10px 20px;
  border: 1px solid #665736;
  color: #665736;
  cursor: pointer;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  font-family: radio;
}
.salle3 .theEnd__validate:hover {
  border-color: #4b4029;
  color: #fafafa;
  background-color: #4b4029;
  cursor: pointer;
}

@-webkit-keyframes neon {
  0% {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #c4a21d, 0 0 70px #c4a21d, 0 0 80px #c4a21d, 0 0 100px #c4a21d, 0 0 150px #c4a21d;
  }
  2% {
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #c4a21d, 0 0 35px #c4a21d, 0 0 40px #c4a21d;
  }
  3% {
    opacity: 1;
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #c4a21d, 0 0 70px #c4a21d, 0 0 80px #c4a21d, 0 0 100px #c4a21d, 0 0 150px #c4a21d;
  }
  5% {
    opacity: 0.1;
    text-shadow: none;
  }
  8% {
    opacity: 1;
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #c4a21d, 0 0 35px #c4a21d, 0 0 40px #c4a21d;
  }
  9% {
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #c4a21d, 0 0 35px #c4a21d, 0 0 40px #c4a21d;
  }
  10% {
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #c4a21d, 0 0 35px #c4a21d, 0 0 40px #c4a21d;
  }
  15% {
    opacity: 1;
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #c4a21d, 0 0 35px #c4a21d, 0 0 40px #c4a21d;
  }
  16% {
    opacity: 0.1;
    text-shadow: none;
  }
  17% {
    opacity: 1;
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #c4a21d, 0 0 35px #c4a21d, 0 0 40px #c4a21d;
  }
  40% {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #c4a21d, 0 0 70px #c4a21d, 0 0 80px #c4a21d, 0 0 100px #c4a21d, 0 0 150px #c4a21d;
  }
  100% {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #c4a21d, 0 0 70px #c4a21d, 0 0 80px #c4a21d, 0 0 100px #c4a21d, 0 0 150px #c4a21d;
  }
}

@keyframes neon {
  0% {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #c4a21d, 0 0 70px #c4a21d, 0 0 80px #c4a21d, 0 0 100px #c4a21d, 0 0 150px #c4a21d;
  }
  2% {
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #c4a21d, 0 0 35px #c4a21d, 0 0 40px #c4a21d;
  }
  3% {
    opacity: 1;
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #c4a21d, 0 0 70px #c4a21d, 0 0 80px #c4a21d, 0 0 100px #c4a21d, 0 0 150px #c4a21d;
  }
  5% {
    opacity: 0.1;
    text-shadow: none;
  }
  8% {
    opacity: 1;
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #c4a21d, 0 0 35px #c4a21d, 0 0 40px #c4a21d;
  }
  9% {
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #c4a21d, 0 0 35px #c4a21d, 0 0 40px #c4a21d;
  }
  10% {
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #c4a21d, 0 0 35px #c4a21d, 0 0 40px #c4a21d;
  }
  15% {
    opacity: 1;
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #c4a21d, 0 0 35px #c4a21d, 0 0 40px #c4a21d;
  }
  16% {
    opacity: 0.1;
    text-shadow: none;
  }
  17% {
    opacity: 1;
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #c4a21d, 0 0 35px #c4a21d, 0 0 40px #c4a21d;
  }
  40% {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #c4a21d, 0 0 70px #c4a21d, 0 0 80px #c4a21d, 0 0 100px #c4a21d, 0 0 150px #c4a21d;
  }
  100% {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #c4a21d, 0 0 70px #c4a21d, 0 0 80px #c4a21d, 0 0 100px #c4a21d, 0 0 150px #c4a21d;
  }
}
@media screen and (min-width: 1660px) {
  .chapitre3 {
    height: 100vh;
    overflow-y: hidden;
  }

  .salle1,
.salle2,
.salle3 {
    height: auto;
    /* Hauteur complète de l'écran */
    width: 100vw;
    /* Largeur complète de l'écran */
  }
  .salle1__horlogeLeft,
.salle2__horlogeLeft,
.salle3__horlogeLeft {
    width: calc(10% + 50px);
    top: 18%;
    left: 10%;
  }
  .salle1__horlogefermee,
.salle2__horlogefermee,
.salle3__horlogefermee {
    width: calc(10% + 50px);
    top: 27%;
    left: 22%;
  }
  .salle1__coffretGear,
.salle2__coffretGear,
.salle3__coffretGear {
    width: calc(8% + 50px);
    top: 65%;
    right: 43%;
  }
  .salle1__suspClocks,
.salle2__suspClocks,
.salle3__suspClocks {
    width: calc(10% + 50px);
    top: 0%;
    left: 40%;
  }
  .salle1__gearRS2,
.salle2__gearRS2,
.salle3__gearRS2 {
    width: calc(5% + 50px);
    top: 32%;
    left: 58%;
  }
}
.chapitre4 {
  overflow-y: hidden;
}

.salle4 .none {
  display: none;
}
.salle4__img {
  position: absolute;
}
.salle4__bg {
  height: 100vh;
  overflow-y: hidden;
  position: relative;
}
.salle4__lanterne {
  width: calc(10% + 50px);
  top: 0%;
  left: 35%;
}
.salle4__pilelivres {
  width: calc(3% + 50px);
  top: 63%;
  left: 72%;
  z-index: 2;
}
.salle4 .puzzles4 {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  padding: 2rem;
}
.salle4 .puzzles4__container {
  display: grid;
  grid-template-columns: 100px 100px;
  grid-template-rows: 100px 100px;
  gap: 5px;
  margin-bottom: 1rem;
}
.salle4 .puzzles4__dropzone {
  width: 100px;
  height: 100px;
  border: 2px dashed #aaa;
  background-color: #fff9e6;
  display: flex;
  align-items: center;
  justify-content: center;
}
.salle4 .puzzles4__pieces {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.salle4 .puzzles4__piece {
  width: 100px;
  height: 100px;
  -o-object-fit: cover;
     object-fit: cover;
  cursor: -webkit-grab;
  cursor: grab;
}
.salle4 .puzzles4__message {
  margin-top: 20px;
  font-size: 20px;
  font-weight: bold;
  color: green;
}
.salle4__coffre {
  width: calc(10% + 50px);
  top: 70%;
  left: 70%;
}
.salle4__longparch {
  width: calc(20% + 50px);
  top: 75%;
  left: 20%;
}
.salle4 .allgrille {
  display: flex;
  align-items: center;
  justify-content: center;
}
.salle4 .grille {
  width: 250px;
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-right: 5px;
}
.salle4 .grille__lettres, .salle4 .grille__dali {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  z-index: 1;
  opacity: 1;
  transition: opacity 1s ease-in-out;
  /* Transition de l'opacité */
}
.salle4 .grille__dali {
  opacity: 0;
  /* Dali invisible par défaut */
}
.salle4 .grille__reponse {
  justify-content: center;
  display: flex;
  margin-left: 5px;
}
.salle4 .grille__reponse input {
  height: 30px;
  border: 1px solid #2e2e2e;
  border-radius: 3px;
  padding: 5px;
}
.salle4 .grille__reponse input:focus {
  border-color: #ac8f1a;
  border-style: solid;
  background-color: #e6e6e6;
}
.salle4 .modal__img--hover:hover {
  transform: scale(2);
  transition: 0.3s ease-in-out;
  cursor: pointer;
}
.salle4 .compteur {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}
.salle4 .compteur__colonne {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #222;
  padding: 10px;
  border-radius: 8px;
  width: 60px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.salle4 .compteur__fleche {
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
  transition: transform 0.2s;
  color: #fafafa;
}
.salle4 .compteur__fleche:hover {
  transform: scale(1.2);
  color: #ac8f1a;
  cursor: pointer;
}
.salle4 .compteur__valeur {
  font-size: 40px;
  font-family: yarn;
  margin: 10px 0;
  color: #fafafa;
}
.salle4 .compteur__valider {
  margin: auto;
  margin-bottom: 30px;
  padding: 10px 20px;
  border: 1px solid #665736;
  color: #665736;
  cursor: pointer;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  font-family: radio;
}
.salle4 .compteur__valider:hover {
  border-color: #4b4029;
  color: #fafafa;
  background-color: #4b4029;
  cursor: pointer;
}
.salle4 .compteur__valider:active {
  transform: scale(1.1);
  transition: ease-in-out 0.3s;
}
.salle4__pigpen {
  width: calc(10% + 50px);
  top: 70%;
  left: 50%;
}
.salle4 .pigpen {
  color: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 200px;
  flex-direction: column;
}
.salle4 .pigpen__inputs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.salle4 .pigpen__input {
  width: 50px;
  height: 50px;
  font-size: 28px;
  text-align: center;
  text-transform: uppercase;
  border: 2px solid #555;
  background: #101010;
  color: white;
  outline: none;
  border-radius: 5px;
}
.salle4 .pigpen__input:focus {
  border-color: #4b4029;
}
.salle4 .pigpen__valider {
  margin: auto;
  padding: 10px 20px;
  border: 1px solid #665736;
  color: #665736;
  cursor: pointer;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  font-family: radio;
}
.salle4 .pigpen__valider:hover {
  border-color: #4b4029;
  color: #fafafa;
  background-color: #4b4029;
  cursor: pointer;
}
.salle4 .pigpen__valider:active {
  transform: scale(1.1);
  transition: ease-in-out 0.3s;
}
.salle4__typewriter {
  width: calc(10% + 50px);
  top: 40%;
  left: 50%;
}
.salle4 .modal__body--typewriter {
  padding: 0px;
}
.salle4 .machine {
  /* display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px; */
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #2d2a2a;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
}
.salle4 .machine__output {
  background: #f4f1e6;
  color: #222222;
  padding: 20px;
  width: 95%;
  height: 50px;
  font-size: 20px;
  border-radius: 10px;
  box-shadow: inset 0 0 10px #000000;
  margin-bottom: 20px;
  white-space: pre-wrap;
  font-family: typewriter;
}
.salle4 .machine__keyboard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: typewriter;
}
.salle4 .machine .keyboard__row {
  display: flex;
  justify-content: center;
  gap: 5px;
}
.salle4 .machine .key {
  background-color: #444444;
  border: 1px solid #777777;
  border-radius: 50%;
  color: #fafafa;
  font-size: 20px;
  padding: 15px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  text-align: center;
  transition: 0.1s;
  box-shadow: 0 2px #222222;
  justify-content: center;
  display: flex;
  align-items: center;
}
.salle4 .machine .key:active {
  transform: translateY(5px);
  box-shadow: 0 1px #111111;
  background: #696969;
}
.salle4 .machine .key:hover {
  transform: translateY(2px);
  cursor: pointer;
}
.salle4 .machine .key--space {
  min-width: 200px;
  border-radius: 5px;
}
.salle4 .machine .key--delete {
  background-color: rgb(170, 51, 51);
  border-radius: 5px;
}
.salle4 .machine__valider {
  padding: 10px 20px;
  border: 1px solid #fafafa;
  color: #fafafa;
  cursor: pointer;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  font-family: radio;
  align-items: center;
}
.salle4 .machine__valider:hover {
  border-color: #4b4029;
  color: #fafafa;
  background-color: #4b4029;
  cursor: pointer;
}
.salle4 .machine__valider:active {
  transform: scale(1.1);
  transition: ease-in-out 0.3s;
}
.salle4__ocre {
  width: calc(5% + 50px);
  top: 35%;
  left: 5%;
}
.salle4__enveleoppe {
  width: calc(8% + 50px);
  top: 45%;
  left: 32%;
}
.salle4__journalpaper {
  width: calc(5% + 50px);
  top: 32%;
  left: 15%;
}
.salle4__horldali {
  width: calc(3% + 50px);
  top: 35%;
  right: 0%;
}
.salle4__butterfly {
  width: calc(7% + 50px);
  top: 5%;
  right: 12%;
}
.salle4 .none {
  display: none;
}
.salle4 .fragsab4 {
  padding: 1.5em;
}

@media screen and (min-width: 1660px) {
  .chapitre4 {
    height: 100vh;
    overflow-y: hidden;
  }

  .salle4 {
    height: auto;
    /* Hauteur complète de l'écran */
    width: 100vw;
    /* Largeur complète de l'écran */
  }
  .salle4__bg {
    width: 100vw;
  }
}
.chapitre5 {
  overflow-y: hidden;
}
.chapitre5 .sources i {
  color: #101010;
}

.salle5 .none {
  display: none;
}
.salle5__img {
  position: absolute;
}
.salle5__bg {
  height: 100vh;
  overflow-y: hidden;
  position: relative;
}
.salle5__globe {
  width: calc(10% + 50px);
  bottom: 1%;
  left: 5%;
}
.salle5 .memory {
  max-width: 800px;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.salle5 .memory__board {
  display: grid;
  grid-template-columns: repeat(8, 100px);
  grid-template-rows: repeat(2, 100px);
  gap: 10px;
  padding: 0;
  list-style: none;
}
.salle5 .memory__card {
  position: relative;
  padding-bottom: 100%;
  background-color: #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}
.salle5 .memory__card:hover {
  transform: scale(1.1);
  transition: 0.3s ease-in-out;
  cursor: pointer;
}
.salle5 .memory img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  visibility: hidden;
}
.salle5 .memory .revealed img,
.salle5 .memory .is-match img {
  visibility: visible;
}
.salle5 .memory .cover {
  background-color: #ccc;
  background-image: repeating-linear-gradient(45deg, #ac8f1a, #ac8f1a 10px, #cdb53b 10px, #cdb53b 20px);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.salle5__sablier {
  width: calc(5% + 50px);
  bottom: 1%;
  right: 17%;
}
.salle5 .versSand {
  max-width: 600px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  /* &__title {
      font-size: 2rem;
      margin-bottom: 2rem;
      color: #5b4e3b;
  } */
}
.salle5 .versSand__flasks {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.salle5 .versSand .flask {
  width: 60px;
  height: 100px;
  border: none;
  border-radius: 8px 8px 20px 20px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
  position: relative;
  overflow: hidden;
}
.salle5 .versSand .flask::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/chapitres5/noisy.jpg");
  background-size: cover;
  background-repeat: repeat;
  opacity: 1;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 2;
}
.salle5 .versSand .flask:hover {
  transform: scale(1.1);
  cursor: pointer;
}
.salle5 .versSand .flask--gold {
  background: linear-gradient(to top, #d4af37, #f7e27c);
}
.salle5 .versSand .flask--red {
  background: linear-gradient(to top, #b00020, #ff5c5c);
}
.salle5 .versSand .flask--blue {
  background: linear-gradient(to top, #1565c0, #42a5f5);
}
.salle5 .versSand .flask--green {
  background: linear-gradient(to top, #2ECC71, #27AE60);
}
.salle5 .versSand__vessel {
  margin: 2rem auto;
  width: 120px;
  height: 150px;
  border: 3px solid #888;
  border-radius: 10px;
  position: relative;
  background: #fff;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
  transform: rotate(180deg);
}
.salle5 .versSand__sand {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 0;
  transition: height 0.5s;
  border-radius: 0 0 10px 10px;
  z-index: 1;
}
.salle5 .versSand__sand {
  background-repeat: repeat;
  background-size: cover;
  background-blend-mode: multiply;
  background-image: url("noisy.jpg");
  opacity: 0.9;
}
.salle5 .versSand__message {
  font-size: 18px;
  color: #9c2a07;
  text-align: center;
  margin-top: 1rem;
  -webkit-animation: glow 1s infinite alternate;
          animation: glow 1s infinite alternate;
}
@-webkit-keyframes glow {
  from {
    text-shadow: 0 0 5px #fff;
  }
  to {
    text-shadow: 0 0 15px #d4af37;
  }
}
@keyframes glow {
  from {
    text-shadow: 0 0 5px #fff;
  }
  to {
    text-shadow: 0 0 15px #d4af37;
  }
}
.salle5__statuebuste {
  width: calc(7% + 50px);
  top: 3%;
  right: 25%;
}
.salle5 .statue {
  max-width: 500px;
  margin: auto;
  padding: 2rem;
  border: 2px solid #aaa;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background: #fff;
  position: relative;
}
.salle5 .statue__img {
  position: absolute;
  bottom: -25px;
  left: -25px;
  width: 100px;
  border-radius: 50%;
}
.salle5 .statue--hidden {
  display: none;
}
.salle5 .statue--enter {
  -webkit-animation: slideUp 0.5s ease forwards;
          animation: slideUp 0.5s ease forwards;
}
@-webkit-keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.salle5 .statue__question {
  font-size: 24px !important;
  margin-bottom: 1rem;
  font-family: angel;
}
.salle5 .statue .statue__input, .salle5 .statue .statue__choices, .salle5 .statue .statue__button {
  margin-top: 1rem;
}
.salle5 .statue__input input {
  padding: 0.5rem;
  width: 80%;
  font-size: 1rem;
  border: 1px solid;
  margin-top: 28px;
  margin-bottom: 28px;
}
.salle5 .statue__choices {
  display: flex;
}
.salle5 .statue__choices button {
  margin: auto;
  padding: 10px 20px;
  border: 1px solid #665736;
  color: #665736;
  cursor: pointer;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  font-family: radio;
}
.salle5 .statue__choices button:hover {
  border-color: #4b4029;
  color: #fafafa;
  background-color: #4b4029;
  cursor: pointer;
}
.salle5 .statue__choices button:active {
  transform: scale(1.1);
  transition: ease-in-out 0.3s;
}
.salle5 .statue__choices button.selected {
  background-color: #856d47;
  color: #fff;
}
.salle5 .statue__button {
  display: flex;
  justify-content: flex-end;
}
.salle5 .statue__button button {
  margin: auto;
  padding: 10px 20px;
  border: 1px solid #665736;
  color: #665736;
  cursor: pointer;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  font-family: radio;
}
.salle5 .statue__button button:hover {
  border-color: #4b4029;
  color: #fafafa;
  background-color: #4b4029;
  cursor: pointer;
}
.salle5 .statue__button button:active {
  transform: scale(1.1);
  transition: ease-in-out 0.3s;
}
.salle5 .statue__message {
  margin-top: 1rem;
  color: green;
  font-weight: bold;
}
.salle5__comete {
  width: calc(7% + 50px);
  top: 6%;
  right: 10%;
}
.salle5 .batt__valider {
  margin: auto;
  padding: 10px 20px;
  border: 1px solid #665736;
  color: #665736;
  cursor: pointer;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  font-family: radio;
}
.salle5 .batt__valider:hover {
  border-color: #4b4029;
  color: #fafafa;
  background-color: #4b4029;
  cursor: pointer;
}
.salle5 .batt__valider:active {
  transform: scale(1.1);
  transition: ease-in-out 0.3s;
}
.salle5 .batt__clock {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  justify-content: center;
  margin: 2rem auto;
  text-align: center;
}
.salle5 .batt__slot, .salle5 .batt__gear {
  border: 2px dashed #ccc;
  border-radius: 8px;
  background-color: #fff;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
}
.salle5 .batt__gear {
  background-color: #e1d3b8;
}
.salle5 .batt__slot.hover {
  background-color: #fff3c6;
}
.salle5__moonastro {
  width: calc(15% + 50px);
  top: 10%;
  left: 15%;
}
.salle5 .astro {
  margin: auto;
  text-align: center;
  font-family: sans-serif;
  padding: 20px;
  /* background: #f5f5dc; */
  border-radius: 12px;
}
.salle5 .astro__instruction {
  margin-bottom: 10px;
}
.salle5 .astro__slots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}
.salle5 .astro__slot {
  width: 150px;
  height: 60px;
  border: 2px dashed #888;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 8px;
  font-weight: bold;
}
.salle5 .astro__choices {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 15px;
}
.salle5 .astro__sign {
  background: #cbbeb5;
  color: #333;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}
.salle5 .astro__sign:hover {
  background: #b1a89d;
  cursor: pointer;
}
.salle5 .astro__actions {
  display: flex;
  width: 50%;
  justify-content: center;
  margin: auto;
}
.salle5 .astro__actions button {
  margin: auto;
  padding: 10px 20px;
  border: 1px solid #665736;
  color: #665736;
  cursor: pointer;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  font-family: radio;
}
.salle5 .astro__actions button:hover {
  border-color: #4b4029;
  color: #fafafa;
  background-color: #4b4029;
  cursor: pointer;
}
.salle5 .astro__actions button:active {
  transform: scale(1.1);
  transition: ease-in-out 0.3s;
}
.salle5__coeurpaps5 {
  width: calc(7% + 50px);
  top: 35%;
  left: 5%;
}
.salle5__sdance {
  width: calc(17% + 50px);
  bottom: 0%;
  left: 49%;
}
.salle5__whiteflower {
  width: calc(19% + 50px);
  bottom: 16%;
  left: 46%;
}
.salle5__horlvin {
  width: calc(10% + 50px);
  bottom: 20%;
  left: 20%;
}
.salle5__paps {
  width: calc(10% + 50px);
  top: 33%;
  left: 33%;
}
.salle5__cartepost {
  width: calc(10% + 50px);
  top: 10%;
  left: 40%;
}
.salle5__tulipe {
  width: calc(10% + 50px);
  top: 30%;
  right: 2%;
}
.salle5__rosace {
  width: calc(10% + 50px);
  top: 40%;
  right: 20%;
}

@media screen and (min-width: 1660px) {
  .chapitre5 {
    height: 100vh;
    overflow-y: hidden;
  }

  .salle5 {
    height: auto;
    /* Hauteur complète de l'écran */
    width: 100vw;
    /* Largeur complète de l'écran */
  }
  .salle5__bg {
    width: 100vw;
  }
}
.chapitre6 {
  margin: 0;
}

.ends6 {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  font-family: radio;
}
.ends6 .none {
  display: none;
}

/* Sections */
.section6 {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  /* &__content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    max-width: 60%;
    transform: translate(-50%, -50%);
    color: white;
    padding: 25px;
    background: rgba(64, 64, 64, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.18);
    overflow: hidden;
    transition: height 0.3s ease, width 0.3s ease;
    white-space: pre-line;
    line-height: 1.6;
  } */
}
.section6__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: -1;
  opacity: 1;
  transition: opacity 1s ease-in-out;
}
.section6__content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30%;
  transform: translate(-50%, -50%);
  color: white;
  padding: 25px;
  font-family: young;
  background: rgba(64, 64, 64, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  line-height: 1.6;
}
.section6__link {
  margin: auto;
  padding: 10px 20px;
  border: 1px solid #fafafa;
  color: #fafafa;
  cursor: pointer;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  font-family: radio;
  width: 25%;
  text-decoration: none;
}
.section6__link:hover {
  border-color: #4b4029;
  color: #fafafa;
  background-color: #4b4029;
  cursor: pointer;
  transition: ease-in-out 0.3s;
}
.section6__link:active {
  transform: scale(1.1);
  transition: ease-in-out 0.3s;
}
.section6 #backgroundVideoDark {
  opacity: 0;
}

.puzzles6__button {
  cursor: pointer;
  padding: 15px 20px;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  font-family: radio;
  background: rgba(255, 255, 255, 0.2);
  /* box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 ); */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.18);
}
.puzzles6__button:hover {
  box-shadow: 0 8px 32px 0 #ac8f1a;
  transition: 0.3s ease-in-out;
  cursor: pointer;
}
.puzzles6__button i {
  margin-left: 10px;
}
.puzzles6__modal {
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  display: flex;
}
.puzzles6__content {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  max-width: 600px;
  position: relative;
}
.puzzles6__close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.puzzles6__container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  gap: 10px;
}
.puzzles6__piece {
  width: 80px;
  height: 200px;
  background-size: cover;
  background-position: center;
  border: 2px solid #333;
  border-radius: 8px;
  cursor: move;
}
.puzzles6__message {
  display: none;
  margin-top: 20px;
  font-size: 24px;
  color: green;
  text-align: center;
}
.puzzles6__terminer {
  margin: auto;
  padding: 10px 20px;
  border: 1px solid #665736;
  color: #665736;
  cursor: pointer;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  font-family: radio;
  font-size: 18px;
}
.puzzles6__terminer:hover {
  border-color: #4b4029;
  color: #fafafa;
  background-color: #4b4029;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}
.puzzles6__terminer:active {
  transform: scale(1.1);
  transition: ease-in-out 0.3s;
}

.puzzles6__piece.selected {
  outline: 3px solid #cdb581;
  box-shadow: 0 0 10px #cdb581;
}

.footer {
  background: linear-gradient(to top, black, rgba(0, 0, 0, 0.9));
  color: white;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.footer__contact {
  justify-content: center;
  list-style: none;
  color: #fafafa;
  margin: auto;
  padding: 28px;
  display: flex;
  flex-direction: column;
  font-size: 20px;
  text-align: center;
}
.footer__el {
  list-style: none;
  font-size: 20px;
}
.footer__el a {
  text-decoration: none;
  color: #fafafa;
}
.footer__el a:hover {
  color: #cdb581;
  transition: 0.3s ease-in-out;
  cursor: pointer;
}
.footer__el i {
  margin-right: 15px;
}

@media screen and (min-width: 781px) {
  .footer {
    flex-direction: row;
  }
  .footer__contact {
    text-align: left;
  }
}
.credits {
  background-color: #fafafa;
  padding: 50px;
  width: 80%;
  margin: auto;
}
.credits__body {
  background-color: #fafafa;
  margin: 0;
  padding: 0;
}
.credits__title {
  font-size: 81px;
  font-family: young;
  margin: 0;
  margin-bottom: 51px;
}
.credits__subtitle {
  font-size: 51px;
  font-family: young;
  margin: 0;
  margin-bottom: 32px;
}
.credits__subtitle:first-of-type {
  margin-top: 51px;
}
.credits__text {
  font-size: 20px;
  font-family: radio;
  line-height: 1.6;
}
.credits__edit {
  margin-bottom: 81px;
}
.credits__list {
  list-style: none;
  font-family: radio;
}
.credits__el:before {
  content: "– ";
  /* Tiret long suivi d’un espace */
  color: black;
  /* Couleur du tiret */
}
.credits__link {
  margin: auto;
  padding: 10px 20px;
  border: 1px solid #665736;
  color: #665736;
  cursor: pointer;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  font-family: radio;
  width: 150px;
  text-decoration: none;
}
.credits__link:hover {
  border-color: #4b4029;
  color: #fafafa;
  background-color: #4b4029;
  cursor: pointer;
  transition: ease-in-out 0.3s;
}
.credits__link:active {
  transform: scale(1.1);
  transition: ease-in-out 0.3s;
}

.customAlert {
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: #fafafa;
  padding: 20px;
  border-radius: 10px;
  z-index: 999;
  display: block;
}
.customAlert .customAlert.hidden {
  display: none;
}
.customAlert__content {
  text-align: center;
  color: #fafafa;
  padding: 20px;
  font-family: angel;
}
.customAlert__button {
  margin: auto;
  padding: 10px 20px !important;
  border: 1px solid #fafafa !important;
  color: #fafafa !important;
  cursor: pointer;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  font-family: radio;
}
.customAlert__button:hover {
  border-color: #4b4029;
  color: #4b4029;
}

.hidden {
  display: none;
}

/*# sourceMappingURL=app.css.map*/