.timeline-title {
  font-family: "Libre Bodoni", serif;
  color: var(--apl-red-dark);
}

.timeline-highlight {
  font-family: "Libre Bodoni", serif;
  color: var(--apl-red-dark);
}

.timeline-2 p {
  color: var(--apl-red-darker);
}

/* The actual timeline (the vertical ruler) */
.main-timeline-2 {
  position: relative;
}

/* Container around content */
.timeline-2 {
  position: relative;
  background-color: inherit;
}

/* Primeiro item: prolonga a linha para cima */
.timeline-2:first-child::before {
  top: calc(-6rem - 1px);
}

/* Último item: a linha termina no centro do ponto (15px + 25px/2) */
.timeline-2:last-child::before {
  bottom: auto;
  height: 28px;
}

/* Troço de linha de cada item */
.timeline-2::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background-color: var(--apl-red);
  transform: translateX(-50%);
}

/* The circles on the timeline */
.timeline-2::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  top: 15px;
  border: 3px solid #e1251c;
  border-radius: 50%;
  z-index: 1;
}

.main-timeline-2 .card {
  background: var(--apl-white);
  border-radius: 1rem;
  transition: 0.3s;
}

/* Place the container to the left */
.left-2 {
  padding: 0 calc(50% + 40px) 20px 10%;
}

/* Place the container to the right */
.right-2 {
  padding: 0 10% 20px calc(50% + 40px);
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
  .left-2::before,
  .left-2::after,
  .right-2::before,
  .right-2::after {
    left: 30px;
  }

  /* Full-width containers */
  .timeline-2 {
    padding-left: 70px;
    padding-right: 25px;
  }
}
