html, body {
  margin: 0;
  width: 100%;
  height: 100%;
}

body {
  overflow: hidden;
}

.entrance {
  position: relative;
  width: 100%;
  height: 100vh;

  background-image: url("entree.jpg");
  background-size: 100% auto;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgb(12, 11, 11);
}

.footer-credits {
  position: fixed;
  bottom: 20px;
  right: 60px;
  width: auto;
  text-align: right;
  font-size: 18px;
  color: rgba(168, 164, 150, 0.65);
  letter-spacing: .04em;
  z-index: 5;
  pointer-events: none;
}

/* Zones cliquables de la version ordinateur */

.language-link {
  position: absolute;
  display: block;
  text-decoration: none;
}

.french {
  left: 18%;
  top: 44%;
  width: 20%;
  height: 10%;
}

.english {
  left: 18%;
  top: 65%;
  width: 20%;
  height: 8%;
}


/* Les vrais mots sont utilisés uniquement sur téléphone */

.mobile-language {
  display: none;
}


@media (max-width: 600px) {

  .entrance {
    background-size: cover;
    background-position: center;
  }

  /* On désactive les anciennes zones invisibles */
  .language-link {
    display: none;
  }

  /* Deux vrais liens lisibles sur téléphone */
  .mobile-language {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;

    position: fixed;
    left: 50%;
    bottom: 12%;

    transform: translateX(-50%);
    z-index: 1000;
  }

  .mobile-language a {
    display: block;

    min-width: 150px;
    padding: 10px 20px;

    text-align: center;
    text-decoration: none;

    color: white;
    font-size: 1.2rem;

    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 25px;
  }

}
/* Informations cookies */
.privacy-link {
  position: fixed;
  left: 24px;
  bottom: 20px;
  background: none;
  border: 0;
  padding: 4px 0;
  color: #cec9bf;
  font: inherit;
  font-size: 24px;
  opacity: 0.65;
  cursor: pointer;
  z-index: 20;
}

.privacy-link:hover {
  opacity: 1;
}

#privacy-dialog p {
  margin: 0 0 14px;
}

#privacy-close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: 0;
  background: none;
  color: #cec9bf;
  font-family: "Avenis", sans-serif;
  font-size: 26px;
  cursor: pointer;
  opacity: 0.8;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.85);
}

#privacy-close:hover {
  opacity: 1;
}

#privacy-dialog::backdrop {
  background: rgba(0, 0, 0, 0.45);
}

#privacy-dialog h2 {
  margin-top: 0;
  font-size: 20px;
  font-weight: normal;
}

#privacy-dialog p {
  margin: 0 0 14px;
}

#privacy-close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: 0;
  background: none;
  color: #cec9bf;
  font-size: 22px;
  cursor: pointer;
  opacity: 0.7;
}

#privacy-close:hover {
  opacity: 1;
}

@media (max-width: 600px) {
  .privacy-link {
    left: 16px;
    bottom: 14px;
    font-size: 11px;
  }

  #privacy-dialog {
    width: 88vw;
    padding: 24px 22px;
  }
}
.mobile-title {
  display: none;
}

@font-face {
  font-family: "Avenis";
  src: url("../fonts/Avenis-Light.otf") format("opentype");
}

@media (max-width: 600px) {

  .mobile-title {
    display: block !important;
    position: fixed !important;

    top: 28% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;

    width: max-content !important;

    color: rgba(230, 231, 150, 0.92) !important;
    text-align: center !important;

    font-family: "Avenis", sans-serif !important;
    font-size: 26px !important;
    line-height: 1.25 !important;

    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);

    z-index: 99999 !important;
  }

  .mobile-title div {
    display: block !important;
  }

  .mobile-title div:last-child {
    margin-top: 4px;
    font-size: 21px;
  }

  .mobile-language {
    font-family: "Avenis", sans-serif;
  }

  .mobile-language a {
    color: rgba(216, 100, 4, 0.95);
    font-family: "Avenis", sans-serif;
    font-size: 1.2rem;

    background: rgba(0, 0, 0, 0.30);
    border: 1px solid rgba(69, 99, 78, 0.45);
  }

}
/* Style de la fenêtre d'informations cookies */
#privacy-dialog[open] {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #cec9bf;
  font-family: "Avenis", sans-serif;
  font-weight: 300;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.85);
}

#privacy-dialog[open] h2,
#privacy-dialog[open] p {
  color: #918f8d;
  font-family: "Avenis", sans-serif;
  font-weight: 300;
}

#privacy-dialog::backdrop {
  background: rgba(0, 0, 0, 0.35);
}

/* Ajustement de la fenêtre cookies */
#privacy-dialog[open] {
  position: fixed;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  width: min(680px, 88vw);
  max-width: 680px;
  margin: 0;
  padding: 28px 32px;
  box-sizing: border-box;

  background: transparent !important;
  border: none !important;
  box-shadow: none !important;

  color: #838281;
  font-family: "Avenis", sans-serif;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.65;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

#privacy-dialog[open] h2 {
  margin: 0 0 20px;
  font-family: "Avenis", sans-serif;
  font-size: 30px;
  font-weight: 300;
}

#privacy-dialog[open] p {
  margin: 0 0 18px;
  font-size: 22px;
  line-height: 1.65;
}

#privacy-dialog[open] #privacy-close {
  top: 8px;
  right: 12px;
  font-size: 28px;
}
#privacy-dialog[open] #privacy-close {
  position: static;
  display: block;
  margin: 24px auto 0;
  padding: 10px 24px;
  border: 1px solid rgba(206, 201, 191, 0.7);
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.4);
  color: #cec9bf;
  font-family: "Avenis", sans-serif;
  font-size: 20px;
  cursor: pointer;
  opacity: 1;
}

#privacy-dialog[open] #privacy-close:hover {
  background: rgba(0, 0, 0, 0.7);
}