.timeline {
  padding: 64px 0;
}
@media (min-width: 62em) {
  .timeline {
    padding: 80px 0;
  }
}
.timeline .section-title {
  margin-bottom: 14px;
  margin-top: 5px;
}
@media (min-width: 62em) {
  .timeline .section-title {
    margin-bottom: 16px;
  }
}
.timeline__title {
  position: sticky;
  top: 110px;
}
@media (min-width: 62em) {
  .timeline__title {
    top: 125px;
  }
}
.timeline__text {
  margin-bottom: 20px;
}
@media (min-width: 48em) {
  .timeline__text {
    max-width: 300px;
  }
}
@media (min-width: 62em) {
  .timeline__text {
    max-width: 400px;
  }
}
@media (min-width: 75em) {
  .timeline__text {
    max-width: 500px;
  }
}
.timeline__wrapper {
  position: relative;
}
.timeline__wrapper:before {
  display: block;
  width: 100%;
  height: 50px;
  position: absolute;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 100%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
}
@media (min-width: 75em) {
  .timeline__container {
    scrollbar-width: none;
  }
}

.timeline-labels {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 0;
}
.timeline-labels:before {
  content: "";
  width: 2px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 14px;
  background-color: var(--clr-03);
}

.label-wrapper {
  border: 2px solid var(--clr-03);
  padding: 30px 16px;
}

.label-group {
  position: relative;
  padding-left: 50px;
}

.label-tick {
  display: block;
  width: 30px;
  height: auto;
  aspect-ratio: 1/1;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background-color: var(--clr-03);
  transition: background-color 0.3s;
}

.label-year {
  background-color: var(--clr-03);
  color: var(--clr-01);
  padding: 2px 5px 2px 10px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  width: fit-content;
  margin-bottom: 10px;
  font-weight: 500;
}