@charset "UTF-8";

@font-face {
  font-style: normal;
  font-weight: normal;
  font-family: "Wagram"; /* donner un nom à la police, autre que son nom véritable pour éviter les problèmes de compatibilité */
  src: url("../fonts/00WagramSlabNon-Commercial-Regular.woff") format("woff");
}

@font-face {
  font-style: normal;
  font-weight: normal;
  font-family: "Wagram Italic"; /* donner un nom à la police, autre que son nom véritable pour éviter les problèmes de compatibilité */
  src: url("../fonts/00WagramSlabNon-Commercial-Italic.woff") format("woff");
}

@font-face {
  font-style: normal;
  font-weight: normal;
  font-family: "Wagram Light Italic"; /* donner un nom à la police, autre que son nom véritable pour éviter les problèmes de compatibilité */
  src: url("../fonts/00WagramSlabNon-Commercial-LightItalic.woff")
    format("woff");
}

html,
body {
  overflow: hidden;
  height: 100%;
}

/* css pour les chapitres */
.body-sophie {
  background-color: rgb(104, 104, 104);
}

.body-tete-pierre {
  position: relative;
  overflow: hidden;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.p-sophie {
  font-family: "Wagram", serif;
  font-size: 35px;
  height: auto;
  width: 360px;
  line-height: 1.1;
  color: white;
  text-align: center;
}

.p-pierre {
  font-family: "Wagram Italic", serif;
  font-size: 35px;
  height: auto;
  width: 360px;
  line-height: 1.1;
  color: rgb(104, 104, 104);
  text-align: center;
}

.tete-p-pierre {
  font-family: "Wagram Italic", serif;
  padding: 0 20px;
  font-size: 40px;
  line-height: 1.1;
  color: rgb(104, 104, 104);
  text-align: center;
  transform-origin: center;
  will-change: transform, filter;
  transition: filter 0.1s linear;
  white-space: normal;
  word-wrap: break-word;
  position: absolute;
  opacity: 0;
  transition: opacity 2s ease;
  pointer-events: none;
  white-space: nowrap;
}

/* css bouton choix, typo italic*/
.bouton-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin-top: 20px;
  gap: 20px;
  width: 260px;
}

.bouton-choix {
  font-family: "Wagram Italic", serif;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px;
  color: white;
  font-size: 25px;
  text-decoration: none;
  border-radius: 50px;
  border: 2px solid white;
  white-space: normal;
  word-wrap: break-word;
  transition: all 1.5s ease-in-out;
}

.bouton-infos {
  position: fixed;
  top: 20px;
  right: 20px;
  font-family: "Wagram Italic", serif;
  font-size: 25px;
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border: 2px solid white;
  border-radius: 50px;
  background: transparent;
  z-index: 1000;
  cursor: pointer;
}

/* Flouté + affaibli */
.bouton-choix.blur {
  filter: blur(3px);
  opacity: 0.4;
}

/* css bouton suite, typo normal */
.bouton-container-suite {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.bouton-suite {
  font-family: "Wagram", serif;
  padding: 10px 30px;
  /* background-color: white; */
  color: rgb(104, 104, 104);
  font-size: 25px;
  text-decoration: none;
  border-radius: 50px;
  border: 2px solid rgb(104, 104, 104);
  z-index: 100;
  text-align: center;
}

.bouton-suite-sophie {
  font-family: "Wagram", serif;
  padding: 10px 30px;
  color: white;
  font-size: 25px;
  text-decoration: none;
  border-radius: 50px;
  border: 2px solid white;
  z-index: 100;
}

/* css image */
.image-flou {
  position: absolute; /* ou relative selon votre besoin */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  object-fit: cover; /* Maintient les proportions de l'image tout en remplissant le conteneur */
}

.image-tete {
  position: absolute;
  max-width: 250px; /* ou la taille que tu veux */
  opacity: 0;
  transition: opacity 2s ease;
  pointer-events: none;
}

.bouton-image {
  font-family: "Wagram", serif;
  padding: 10px 30px;
  background-color: none;
  color: rgb(104, 104, 104);
  font-size: 25px;
  text-decoration: none;
  border-radius: 50px;
  border: 2px solid rgb(104, 104, 104);
}

.bouton-image-blanc {
  font-family: "Wagram", serif;
  padding: 10px 30px;
  background-color: none;
  color: white;
  font-size: 25px;
  text-decoration: none;
  border-radius: 50px;
  border: 2px solid white;
}

/* css animation boule infos */

.rond {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.6) 30%,
    rgba(255, 255, 255, 0.2) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  /* Centrage du texte */
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-family: "Wagram", serif;
  font-size: 35px;
}

/* css fenêtre info */
.rectangle {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 270px;
  height: 440px;
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 200;
  padding: 20px;
}

.rectangle.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.p-rectangle {
  color: white;
  font-family: "Wagram", serif;
  font-size: 20px;
  line-height: 22px;
  text-align: center;
  margin-bottom: 20px;
  justify-content: center;
  align-items: center;
}

/* responsive */
@media screen and (min-width: 600px) {
  /* les éléments choisis changent quand l'écran fait plus de 600px (ipad) */
  .rectangle {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 460px;
    height: 400px;
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 200;
    padding: 20px;
  }

  .p-rectangle {
    color: white;
    font-family: "Wagram", serif;
    font-size: 25px;
    line-height: 27px;
    text-align: center;
    margin-bottom: 20px;
    justify-content: center;
    align-items: center;
  }

  .p-sophie {
    height: auto;
    width: 500px;
  }

  .p-pierre {
    height: auto;
    width: 500px;
  }
}

@media screen and (min-width: 1000px) {
  /* la valeur min-widht la + haute en dernier, si max-widht mettre en premier la + haute valeur (ordi) */
  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

  .rectangle {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 740px;
    height: 270px;
    padding: 40px;
  }

  .p-sophie {
    height: auto;
    width: 900px;
  }

  .p-pierre {
    height: auto;
    width: 900px;
  }
}
