@charset "UTF-8";

@font-face {
  font-family: 'times_italic';
  src: url('../fonts/timesltstd-italic-webfont.woff2') format('woff2'),
    url('../fonts/timesltstd-italic-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'times_roman';
  src: url('../fonts/timesltstd-roman-webfont.woff2') format('woff2'),
    url('../fonts/timesltstd-roman-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}




/* elodie */
html {
  scroll-snap-type: y mandatory;
  overflow: scroll;
  scroll-behavior: smooth;
}

/* elodie */

html,
body {
  width: 100%;
  height: 100vh;
  /* background-color: red; */
}

/* elodie */
* {
  box-sizing: border-box;
}

/* elodie */

/* CHATGPT */
.container {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: scroll;
  scroll-snap-align: start;
}

#containerB {
  display: flex;
  flex-direction: column;
  flex: 1;
}




/* A */
.grille-flexibleA {
  height: 100vh;
  /* Utilisez 100vh pour occuper la totalité de la hauteur de la fenêtre */
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.bloc-A1 {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 10px;
  border-radius: 110px;
  border: 10px solid black;
}

.bloc-A2 {
  flex: 1;
  display: flex;
  margin-top: 30px;
  margin-right: 30px;
  margin-left: 30px;
}

.texte-imageA {
  font-family: 'times_roman';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  color: red;
  font-size: 9em;
  text-align: center;
  line-height: 0.8;
}

.texte-image-A2 {
  font-family: Arial, Helvetica, sans-serif;
  color: black;
  font-size: 2.5em;
  text-align: left;
  line-height: 1.15;
}

.texte-en-italique {
  font-style: italic;
}

.TALKBOY-A {
  max-height: 50vh;
  /* Utilisez 50vh pour limiter la hauteur de l'image à 50% de la fenêtre */
  width: auto;
  max-width: 100%;
  /* Assurez-vous que l'image ne dépasse pas la largeur de son conteneur */
}


/* B */
#containerB {
  scroll-snap-align: start;
  position: relative;
  margin: 10px;

  width: calc(100% - 20px);
  box-sizing: border-box;

  /* position: relative; */
  height: 100%;
  width: 100%;
  cursor: pointer;

}

/* .content {
  width: calc(100% - 20px);
  height: 100%;
  margin: 0 auto;
  padding: 10px;
  box-sizing: border-box;
} */

#canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}



[alt="background image"], #canvas {
  border-radius: 110px;
  border: 10px solid black;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  object-fit: cover;
  box-sizing: border-box;
  margin-top: 10px;
}

.canvas-container {
  width: 100%;
  height: 100%;
  padding: 50px;
  position: relative;

}

#canvas-container {
  height: 100%;
  position: relative;
  overflow: hidden;
  /* Ajoutez cette ligne */
}

.scroll-button {
  position: absolute;
  width: 100%;
  height: 100px;
  background-color: transparent;
  /* Set the background image or icon for the buttons */
  /* background-image: url('path/to/your/image.png'); */
  /* background-position: center center; */
  /* background-repeat: no-repeat; */
  /* background-size: contain; */
  /* opacity: 0;  */
  cursor: pointer;
}

.scroll-button.top {
  top: 10px;
  left: 50%;
  transform: translateX(-51%);
}

.scroll-button.top::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 14px 20px 14px;
  border-color: transparent transparent black transparent;
}


.triangle-up {
  width: 0;
  height: 0;
}

.scroll-button.bottom {
  bottom: 10px;
  left: 50%;
  transform: translateX(-51%);
}

.scroll-button.bottom::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 20px 14px 0 14px;
  border-color: black transparent transparent transparent;
}

.triangle-down {
  width: 0;
  height: 0;
}






/* D */
.grille-flexibleD {
  display: flex;
  flex-direction: column;
  height: 100%;
  scroll-snap-align: start;

}

.bloc-D1 {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 10px;
  border-radius: 110px;
  border: 10px solid black;
}

.bloc-D2 {
  flex: 1;
  cursor: pointer;
}

.texte-imageD {
  font-family: Arial, Helvetica, sans-serif;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  color: black;
  font-size: 8em;
  text-align: center;
  line-height: 0.8;
  width: 100%;
}

.texte-image-D2 {
  font-family: Arial, Helvetica, sans-serif;
  color: black;
  font-size: 1.3em;
  text-align: left;
  text-align: justify;
  line-height: 1.2;
}

.TALKBOY {
  height: 500px;
}

.image-containerD {
  position: relative;
  width: 100%;
  height: calc(100%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-containerD img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.image-containerD img.show {
  opacity: 1;
}





/* E */
.smooth-scroll {
  scroll-behavior: smooth;
}


.containerE {
  position: absolute;
  cursor: pointer;
}

.background-imageE {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.background-imageE img {
  position: relative;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.grille-flexibleE {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
}

.containerE {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.starE {
  z-index: 2;
  position: absolute;
  width: 200px;
  height: 480px;
  background-color: transparent;
  left: 50%;
  top: 50%;
  transform: translate(-70%, -50%);
}

.triangle {
  z-index: 2;
  width: 300px;
  height: 250px;
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
}

.triangle-upE {
  z-index: 2;
  border-width: 0 140px 350px 140px;
  border-color: transparent transparent black transparent;
  top: 0;
  left: 0;
}

.triangle-downE {
  z-index: 2;
  border-width: 350px 140px 0 140px;
  border-color: black transparent transparent transparent;
  bottom: 0;
  left: 0;
}


.background-imageE {
  /* display: flex;
  justify-content: center; */
  align-items: center;
  position: relative;
}

.background-imageE img {
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  /* margin-left: 100px;
  margin-right: 100px; */
  border-radius: 110px;
  border: 10px solid black;
  /* max-width: 100%;
  max-height: 100%; */
}

.containerE2 {
  scroll-snap-align: start;

  margin-left: 10px;
  /* LE PUTAIN DE PROBLEME */
  margin-right: 10px;
  height: 100%;
  width: 100%;
}



/* F (COPIE DE D) */
.grille-flexibleF {
  scroll-snap-align: start;

  display: flex;
  flex-direction: column;
  height: 100%;
}

.bloc-F1 {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 10px;
  border-radius: 110px;
  border: 10px solid black;
}

.bloc-F2 {
  flex: 1;
  cursor: pointer;
}

.texte-imageF {
  font-family: Arial, Helvetica, sans-serif;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  color: black;
  font-size: 8em;
  text-align: center;
  line-height: 0.8;
  /* width: 100%; */
}

.texte-image-F2 {
  font-family: Arial, Helvetica, sans-serif;
  color: black;
  font-size: 1.3em;
  text-align: left;
  text-align: justify;
  line-height: 1.2;
}

.image-containerF {
  position: relative;
  width: 100%;
  height: calc(100%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-containerF img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.image-containerF img.show {
  opacity: 1;
}



/* G */
.grille-flexibleG {
  scroll-snap-align: start;

  display: flex;
  flex-direction: column;
  height: 100%;
}

.bloc-G2,
.bloc-G3 {
  flex-basis: 55%;
}

/* 
.bloc-G1 {
  flex-basis: 50%;
} */

/* .bloc-G1 {

  display: flex; 
  justify-content: center; 
  align-items: center;
  position: relative;
  margin: 10px;
  border-radius: 110px;
  border: 10px solid black;
} */

.bloc-G2,
.bloc-G3 {
  /* flex: 1; */
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;

  border-radius: 110px;
  border: 10px solid black;
}

.bloc-G2 {
  margin: 10px;
  margin-bottom: 5px;
}

.bloc-G3 {
  margin: 10px;
  margin-top: 5px;
}

.texte-imageG {
  font-family: 'times_roman';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  color: black;
  font-size: 8em;
  text-align: center;
  line-height: 0.8;
}

.texte-image-G2 {
  font-family: Arial, Helvetica, sans-serif;
  color: black;
  font-size: 1.3em;
  text-align: left;
  text-align: justify;
  line-height: 1.2;
}

.image-containerG {
  position: relative;
  width: 100%;
  height: calc(100%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-containerG img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.image-containerG img.show {
  opacity: 1;
}



@media only screen and (max-width: 600px) {

  /* Appliquer les styles lorsque la largeur de l'écran est inférieure ou égale à 600px */
  body {
    font-size: 12px;
    /* Modifier la taille de la typographie selon vos besoins */
  }
}