.timeline {
  position: relative;
  max-width: 70%;
  margin: 40px auto;
  padding: 0 20px;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: #c22818;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  padding: 20px 0;
  position: relative;
  width: 50%;
}
.timeline-item .timeline-icon{
  position:absolute;
    top: 30px;
}
.timeline-item .timeline-icon i{
  color:#f9b927;
  font-size:80px;
}
.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(odd) .timeline-icon {
    left: calc(100% + 50px);
  transform: rotate(10deg);
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-item:nth-child(even) .timeline-icon {
    right: calc(100% + 50px);
    
  transform: rotate(-10deg);
}

.timeline-item::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: #c22818;
  border-radius: 50%;
  top: 20px;
  z-index: 1;
}

.timeline-item:nth-child(even)::before {
  left: -10px;
  right: auto;
}

.timeline-content {
  background-color: #f1f1f1;
  padding: 40px;
  border-radius: 20px;
  position: relative;
}

.timeline-content h3 {
  margin-top: 0;
  color: #c22818;
  font-size:20px;
  margin:0;
}

.timeline-date {
  display: block;
  margin-top: 10px;
  font-size: 0.9em;
  color: #777;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .timeline::after {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 40px;
    padding-right: 25px;
    left: 0 !important;
  }

  .timeline-item::before {
    left: 10px;
  }
  .timeline-content{
    padding:5px;
  }
  .timeline-content h3{
  font-size:14px;
  }
  .timeline-icon img{
    max-width:60px!important;
    max-height:60px!important;
  }

  .timeline-item:nth-child(odd) .timeline-icon {
      left: calc(100%);
  }
  .timeline-item:nth-child(even) .timeline-icon {
      left: calc(100%);
  }
}
