@font-face {
  font-family: 'ClashDisplay';
  src: url('/assets/font/ClashDisplay-Variable.ttf');
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'ClashDisplay';
}

html,
body {
  height: 100%;
  overflow: hidden;
  /* Empêche le scroll classique */
}

.container {
  scroll-snap-type: y mandatory;
  /* force le scroll en bloc verticale */
  overflow-y: scroll;
  /* permet de scroll avec des arrete precis */
  height: 100vh;
}

.block {
  scroll-snap-align: start;
  /* chaque section s aligne parfaitement en haut de l ecran*/
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  color: white;
}

.underblock {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 15px;
}

.title {
  -webkit-animation: tracking-in-expand-fwd-top 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
  animation: tracking-in-expand-fwd-top 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

.subtitle {
  -webkit-animation: tracking-in-expand-fwd-bottom 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
  animation: tracking-in-expand-fwd-bottom 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

.undersection2 {
  display: flex;
  flex-direction: column;
  margin: 15px;
}

.Section2Title {
  display: inline-block;
  margin-right: 20px;
  /* Crée une tabulation entre le titre et la liste */
}


/* Ajout du style pour la tabulation entre le titre et la liste */
.Section2Title {
  display: inline-block;
  margin-bottom: 20px;
  /* Crée une tabulation entre le titre et la liste */
}

.ulcontainer {
  width: 90vw;
  max-height: 80vh;
  overflow-y: scroll;
  border: 1px solid gray;
  scroll-snap-type: mandatory;
  scroll-snap-points-y: repeat(3rem);
  scroll-snap-type: y mandatory;
}

li {
  border-bottom: 1px solid white;
  padding: 1rem;
  font-size: 1.2rem;
  color: white;
  text-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-snap-align: start;
}

.list {
  list-style-type: circle;
  padding-left: 50px;
}

.list li {
  margin-bottom: 10px;
  /* Espacement entre les éléments de la liste */
}

.list a {
  text-decoration: none;
  color: white;
}

.list a:hover {
  text-decoration: underline;
  /* Effet au survol du lien */
}

.hover-text {
  position: relative;
  text-decoration: none;
}

.hover-text1 {
  position: relative;
  text-decoration: none;
}

.hover-text::after {
  content: "Password : aaaajersey";
  position: absolute;
  left: 50%;
  bottom: -25px;
  transform: translateX(-50%);
  background-color: black;
  color: white;
  padding: 5px;
  border-radius: 5px;
  white-space: nowrap;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
}

.hover-text1::after {
  content: "Password : 635432";
  position: absolute;
  left: 50%;
  bottom: -25px;
  transform: translateX(-50%);
  background-color: black;
  color: white;
  padding: 5px;
  border-radius: 5px;
  white-space: nowrap;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
}

.hover-text:hover::after {
  opacity: 1;
}

.hover-text1:hover::after {
  opacity: 1;
}

.list li {
  margin-bottom: 10px;
  /* Espacement entre les éléments de la liste */
}

/* Différentes couleurs pour bien voir les sections */
#section1 {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('/assets/img/backcground.jpg') center/cover no-repeat;
  text-align: center;

}

#section2 {

  background: #000000d8;
  display: flex;
  justify-content: start;
  align-items: baseline;
  padding: 20px;
}

#section3 {
  background: #5F27CD;
}


@media screen and (max-width: 600px) {
  .title {
    font-size: 1rem;
    /* Taille de police plus petite */
  }

  .subtitle {
    font-size: 1rem;
    /* Taille de police plus petite */
  }

  #section2 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.95rem;
  }

  .list {
    padding-left: 0px;
  }

  li {
    border-bottom: 1px solid white;
    padding: 1rem;
    font-size: 0.95rem;
    color: white;
    text-align: start;
    display: flex;
    flex-direction: column;
    justify-content: start;
    scroll-snap-align: start;
  }
}



@-webkit-keyframes tracking-in-expand-fwd-top {
  0% {
    letter-spacing: -0.5em;
    -webkit-transform: translateZ(-700px) translateY(-500px);
    transform: translateZ(-700px) translateY(-500px);
    opacity: 0;
  }

  40% {
    opacity: 0.6;
  }

  100% {
    -webkit-transform: translateZ(0) translateY(0);
    transform: translateZ(0) translateY(0);
    opacity: 1;
  }
}

@keyframes tracking-in-expand-fwd-top {
  0% {
    letter-spacing: -0.5em;
    -webkit-transform: translateZ(-700px) translateY(-500px);
    transform: translateZ(-700px) translateY(-500px);
    opacity: 0;
  }

  40% {
    opacity: 0.6;
  }

  100% {
    -webkit-transform: translateZ(0) translateY(0);
    transform: translateZ(0) translateY(0);
    opacity: 1;
  }
}


@-webkit-keyframes tracking-in-expand-fwd-bottom {
  0% {
    letter-spacing: -0.5em;
    -webkit-transform: translateZ(-700px) translateY(500px);
    transform: translateZ(-700px) translateY(500px);
    opacity: 0;
  }

  40% {
    opacity: 0.6;
  }

  100% {
    -webkit-transform: translateZ(0) translateY(0);
    transform: translateZ(0) translateY(0);
    opacity: 1;
  }
}

@keyframes tracking-in-expand-fwd-bottom {
  0% {
    letter-spacing: -0.5em;
    -webkit-transform: translateZ(-700px) translateY(500px);
    transform: translateZ(-700px) translateY(500px);
    opacity: 0;
  }

  40% {
    opacity: 0.6;
  }

  100% {
    -webkit-transform: translateZ(0) translateY(0);
    transform: translateZ(0) translateY(0);
    opacity: 1;
  }
}