@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%;
}

#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 */
.image-containerB {
  cursor: pointer;
  scroll-snap-align: start;
  flex-basis: 50%;
  background-color: #ccc;
  position: relative;
  width: 100%;
  height: calc(100% / 2);
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.grille-flexibleB {
  display: flex;
  flex-direction: column;
  grid-template-rows: repeat(2, 1fr);
  height: 100%; /* ou la hauteur souhaitée */
}

.bloc-B1 {
  cursor: pointer;
  justify-content: space-between;
  flex-basis: 50%;
  flex: 1;
  display: flex; 
  justify-content: center; 
  align-items: center; 
  position: relative;
  margin: 10px;
  border-radius: 110px;
  border: 10px solid black;
}

.bloc-B2 {
  cursor: pointer;
  justify-content: space-between;
  flex-basis: 50%;
  flex: 1;
  display: flex; 
  justify-content: center; 
  align-items: center; 
  position: relative;
  margin: 10px;
  border-radius: 110px;
  border: 10px solid black;
}

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

.texte-imageB2 {
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 100%;
  font-family: 'times_roman';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  color: greenyellow;
  font-size: 9em;
  text-align: center;
  line-height: 0.8;
  pointer-events: none;
}


/* C */
#containerC {
  scroll-snap-align: start;
  position: relative;
  margin-top:10px;
  margin-bottom: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%;
  left: 50%;
  transform: translateX(-50%);
  
}



[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;
  left: 10px;
  transform: translateX(0%);
  position: absolute;
}

.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 orange 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: orange transparent transparent transparent;
}

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




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

.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;
}

.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;
}



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

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

/* .bloc-G2,
.bloc-G3 {
  flex-basis: 25%;
} */

.bloc-G1 {
  flex-basis: 100%;
}

.bloc-G1 {
  /* flex: 1; */
  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;
  margin: 10px;
  border-radius: 110px;
  border: 10px solid black;
}

.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 */
  }
}
