@font-face {
  font-family: "NeueMontreal";
  src: url("../fonts/NeueMontreal-Medium.otf");
  font-style: normal;
}

@font-face {
  font-family: "NeueMontreal";
  src: url("../fonts/NeueMontreal-Regular.otf");
  font-style: normal;
}

.timeline-wrapper {
  position: relative;
  padding-top: 110px;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 4px;
  height: 0;
  background-color: #350f6b;
  transition: height 0.3s;
}

.timeline-item {
  position: relative;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s;
  padding-bottom: 110px;
}

.timeline-item.show {
  opacity: 1;
  transform: translateY(0);
}

.timeline-year {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: "NeueMontreal";
  font-weight: 500;
  font-size: 28px;
  line-height: 1.5;
  letter-spacing: -0.5px;
  background-color: #350f6b;
  color: #fff;
  border-radius: 100px;
  padding: 3px 28px;
}

.timeline-content {
  position: relative;
  width: 382px;
  padding-top: 100px;
}

.timeline-item:nth-child(even) .timeline-content {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content .title {
  justify-content: flex-end;
}

.timeline-item:nth-child(odd) .timeline-content .title {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.timeline-content svg {
  width: 1em;
  height: 1em;
}

.timeline-content .title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.5em;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: #350f6b;
  fill: #350f6b;
}

.timeline-content p {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: #000;
}
@media screen and (max-width: 768px) {
  .timeline-content .title {
    font-size: 27px;
  }
  .timeline-content {
    width: 340px;
  }
}
@media screen and (max-width: 767px) {
  .timeline-line {
    left: 42px;
    transform: unset;
    width: 2px;
  }

  .timeline-year {
    left: 0;
    transform: unset;
    font-size: 16px;
    padding: 4px 24px;
  }

  .timeline-content {
    width: calc(100% - 98px);
    padding-top: 0;
  }

  .timeline-item:nth-child(odd) .timeline-content {
    left: 95px;
  }

  .timeline-item:nth-child(even) .timeline-content .title {
    align-items: flex-start;
  }

  .timeline-item:nth-child(even) .timeline-content {
    left: 95px;
    text-align: left;
  }

  .timeline-content .title {
    flex-direction: column-reverse;
    gap: 5px;
    font-size: 18px;
    letter-spacing: 0;
    padding-bottom: 8px;
  }

  .timeline-item:nth-child(odd) .timeline-content .title {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .timeline-item {
    padding-bottom: 10px;
  }

  .timeline-wrapper {
    padding-top: 0px;
  }

  .timeline-content p {
    font-size: 14px;
  }

  .timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
  }
}
