body {
  background: var(--gradient);
  display: flex;
  flex-direction: column;
  margin-top: 16rem;
}

body section.section-hero {
  display: flex;
  justify-content: center;
  width: calc(100% - 16rem);
  margin: 0 8rem;
  gap: 3rem;
  align-items: center;
}
body section.section-hero > div {
  flex: 1;
  padding: 1rem;
  width: 100%;
}
body section.section-hero > div.section-hero-heft {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
body section.section-hero > div.section-hero-heft h1 {
  color: var(--dark-cyan);
  font-size: 3rem;
}
body section.section-hero > div.section-hero-heft p {
  color: var(--dark-cyan);
  font-size: 18px;
}
body section.section-hero > div.section-hero-right {
  display: flex;
  justify-content: center;
}
body section.section-hero > div.section-hero-right iframe {
  width: 100%;
  max-width: 560px;
  height: auto;
  aspect-ratio: 16/9;
  border-radius: 8px;
  border: solid 4px var(--dark-cyan);
  box-shadow: 4px 4px 0px var(--dark-cyan);
}

body section.parcours {
  width: calc(100% - 16rem);
  margin: 6rem 8rem 0;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
body section.parcours h2 {
  text-align: center;
  color: var(--dark-pink);
  font-size: 3rem;
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5rem;
  padding: 1rem 0 2rem;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  border-radius: 10px;
  background: var(--dark-pink);
}

.timeline-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 140px 1fr;
  column-gap: 2rem;
  align-items: start;
  z-index: 1;
}
.timeline-row .timeline-col--axis {
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}

.timeline-dot {
  width: 76px;
  height: 76px;
  border-radius: 999px;
  border: solid 8px var(--dark-pink);
  background: var(--white);
}
.dot--pink {
  background: var(--pink);
}
.dot--purple {
  background: #B59CFF;
}
.dot--cyan {
  background: var(--cyan);
}

.timeline-title {
  color: var(--dark-pink);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}
.timeline-subtitle {
  color: var(--dark-pink);
  font-size: 18px;
  margin-bottom: 1.25rem;
}
.timeline-text {
  color: var(--dark-pink);
  font-size: 18px;
  line-height: 1.6;
}

.timeline-row--left .timeline-col--left {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.timeline-row--right .timeline-col--right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.timeline-card {
  margin-top: 2rem;
  width: 100%;
  min-height: 260px;
  background: var(--white);
  border-radius: 20px;
  border: solid 6px var(--dark-cyan);
  box-shadow: 10px 10px 0px var(--dark-cyan);
}

@media (max-width: 1024px) {
  body {
    margin-top: 12rem;
  }
  body section.section-hero,
  body section.parcours {
    width: calc(100% - 6rem);
    margin-left: 3rem;
    margin-right: 3rem;
  }
  body section.parcours h2 {
    font-size: 2.5rem;
  }
  .timeline-row {
    grid-template-columns: 1fr 120px 1fr;
    column-gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  body {
    margin-top: 10rem;
  }
  body section.section-hero {
    flex-direction: column;
  }
  body section.parcours {
    width: calc(100% - 2rem);
    margin-left: 1rem;
    margin-right: 1rem;
  }
  body section.parcours h2 {
    font-size: 2.2rem;
  }
  .timeline::before {
    left: 40px;
    transform: none;
  }
  .timeline-row {
    grid-template-columns: 80px 1fr;
    column-gap: 1rem;
  }
  .timeline-row .timeline-col--axis {
    grid-column: 1;
  }
  .timeline-row .timeline-col--left,
  .timeline-row .timeline-col--right {
    grid-column: 2;
  }
  .timeline-row .timeline-col--left:empty,
  .timeline-row .timeline-col--right:empty {
    display: none;
  }
  .timeline-row--left .timeline-col--left,
  .timeline-row--right .timeline-col--right {
    align-items: flex-start;
    text-align: left;
  }
}
