.timeline {
  position: relative;
  margin-top: 80px;
  padding-bottom: 30px;
}

.timeline-title {
  margin-bottom: 30px;
}

.timeline .container-timeline {
  position: relative;
  max-width: 900px;
  margin: auto;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: #6ee7b7;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  opacity: 0;
  transition: all 0.6s ease-out;
}

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}

.timeline-item .content {
  text-align: center;
  background: #0b1220;
  padding: 20px;
  border-radius: 8px;
  display: inline-block;
  position: relative;
  color: #cacaca;
}
.timeline-item .content h3 {
  color: #fff;
}

.timeline-item.show {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item.left.show {
  transform: translateX(-20px);
}

.timeline-item.right.show {
  transform: translateX(20px);
}

@media (max-width: 768px) {
  .timeline {
    margin-top: 60px;
  }

  .timeline-line {
    display: none;
  }

  .timeline-item .content {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  .timeline-item {
    width: 100%;
  }

  .timeline-item.left,
  .timeline-item.right {
    left: 0;
    text-align: left;
  }

  .timeline-item.right.show,
  .timeline-item.left.show {
    transform: translateX(0px);
  }

  .timeline-item {
    padding: 10px 0px;
  }
}
