                                             /*  ========= DEBUT DE PAGE ========= */
/* Titre de chaque case */
h2 {
  font-family: "Nokora", sans-serif;
  font-weight: 900;
  font-style: normal;
}

/* Paragraphes */
P {
  font-family: "Nokora", sans-serif;
}

/* Les dates entre () */
.date {
  font-family: "Nokora", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1rem;
}

/* Les lignes et textes */
.timeline {
  margin: 5em auto;
  max-width: 34.15em;
}

.checkpoint {
  max-width: 34em;
  padding-top: 2em;
  padding-bottom: 2em;
  position: relative;
}
.checkpoint div {
  border: 2px solid #888;
  border-radius: 1em;
  padding: 1.5em;
}
.checkpoint p {
  line-height: 27px;
  color: #ccc;
}
.checkpoint h2 {
  color: #fff;
}
.checkpoint:nth-child(odd){
  border-left: 3px solid #fff;
  padding-left: 3em;
  transform: translateX(16.8em);
}
.checkpoint:nth-child(even){
  border-right: 3px solid #fff;
  padding-right: 3em;
  transform: translateX(-17em);
}
.checkpoint:nth-child(odd)::before,
.checkpoint:nth-child(even)::before {
  content: '';
  background: #888;
  width: 3em;
  height: 3px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.checkpoint:nth-child(odd)::before{
  left: 0;
}
.checkpoint:nth-child(even)::before {
  right: 0;
}

.checkpoint:nth-child(odd) div::before,
.checkpoint:nth-child(even) div::before {
  content: '';
  background: #fff;
  box-shadow: 0 0 0.5em #0d71fc;
  width: 0.8em;
  height: 0.8em;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
}

.checkpoint:nth-child(odd) div::before{
  left: -0.5em;
}
.checkpoint:nth-child(even) div::before{
  right: -0.5em;
}



/* Images qui flotte */
.floating-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-image {
  width: 350px;
  height: auto;
  border-radius: 20px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% {
      transform: translateY(0);
  }
  50% {
      transform: translateY(-20px);
  }
  100% {
      transform: translateY(0);
  }
}


@media screen and (max-width: 1150px) {
  .timeline {
    width: 80vw;
  }
  .timeline .checkpoint {
    width: 100%;
    transform: none;
    padding-left: 0;
    padding-right: 0;
    border: none;
  }
  .timeline .checkpoint::before {
    width: 3px;
    height: 4em;
    top: -2em;
    left: 50%;
    transform: translateX(-50%);
  }
  .timeline .checkpoint div::before {
    top: -0.5em;
    left: 50%;
    transform: translateX(-50%);
  }
  
}

                                             /*  ========= SOURCES ========= */
/* Sources */
.sources {
  margin-top: 40px;
}

/* Texte "Images" "Librairy" "Font" "Texte" */
.sources h3 {
  margin: auto;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-family: "Nokora", sans-serif;
  font-weight: 900;
  font-style: normal;
  margin-bottom: 10px;
}

/* Texte "Pintest" "Unsplash" "Aos" "Github" "Google Font" "ChatGPT" */
.sources h4 {
  margin: auto;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-family: "Nokora", sans-serif;
  font-weight: 300;
  font-style: normal;
}