.timeline {
  position: relative;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 6px;
  background-color: rgba(var(--bs-dark-rgb));
  top: 50px;
  bottom: 0;
  left: 50%;
  margin-left: -7px;
}

.timeline-container {
  position: relative;
  padding: 10px 40px;
  background-color: inherit;
  width: 50%;
}

.timeline-container::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  right: -8px;
  background-color: white;
  border: 5px solid var(--orange);
  top: 45px;
  border-radius: 50%;
  z-index: 1;
}

.left {
  left: 0;
}

.right {
  left: 50%;
}

.right::after {
  left: -16px;
}

.timeline-content {
  padding: 20px 30px;
  background-color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity));
  position: relative;
  border-radius: 6px;
  word-wrap: break-word;
}

@media screen and (max-width: 600px) {
  .timeline::after {
    left: 31px;
  }

  .timeline-container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-container::before {
    left: 60px;
    border: medium solid black;
    border-width: 10px 10px 10px 0;
    border-color: transparent black transparent transparent;
  }

  .left::after,
  .right::after {
    left: 15px;
  }

  .right {
    left: 0%;
  }
}
