section.timeline {
  padding: 100px 0;
}

html, body {
  overflow-x: hidden;
}

.timeline {
  position: relative;
}

.timeline::before {
  content: '';
  background: #4A4A4A;
  width: 4px;
  height: 95%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  width: 100%;
  font-size: 15px;
  margin: 20px 0;
}

.timeline-item:nth-child(even) .timeline-content {
  float: right;
  padding: 40px 30px 10px 30px;
}

.timeline-item:nth-child(even) .timeline-content .date {
  right: auto;
  left: 0;
}

.timeline-item:nth-child(even) .timeline-content::after {
  content: '';
  position: absolute;
  border-style: solid;
  width: 0;
  height: 0;
  top: 30px;
  left: -15px;
  border-width: 10px 15px 10px 0;
  border-color: transparent #f5f5f5 transparent transparent;
}

.timeline-item::after {
  content: '';
  display: block;
  clear: both;
}

.timeline-content {
  position: relative;
  width: 45%;
  padding: 10px 30px;
  background: #ffffff;
  border-radius: .25em;
  /* box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.2); */
  border: 2px solid rgb(240, 240, 240);
}

.timeline-content::after {
  content: '';
  position: absolute;
  border-style: solid;
  width: 0;
  height: 0;
  top: 30px;
  right: -15px;
  border-width: 10px 0 10px 15px;
  border-color: transparent transparent transparent #f5f5f5;
}

.timeline-img {
  width: 55px;
  height: 55px;
  background: #6c63ff;
  border-radius: 50%;
  position: absolute;
  left: calc(50% - 27px);
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
  border: 5px solid #fff;
}




@media (min-width: 1200px) {
  .timeline-card {
    margin: 0 -28px;
  }
}

.timeline-card p {
  padding: 0 20px;
}

.timeline-card a {
  margin-left: 20px;
}

.timeline-item .timeline-img1 {
  background: url("/assets/img/education.svg") center center no-repeat;
  background-size: cover;
  height: 200px;
  width: 240px;
  margin: 20px auto 0 auto;
}

.timeline-item .timeline-img2 {
  background: url("/assets/img/graduation.svg") center center no-repeat;
  background-size: cover;
  height: 219px;
  width: 260px;
  margin: 20px auto 0 auto;
}

.timeline-item .timeline-img3 {
  background: url("/assets/img/ieee.svg") center center no-repeat;
  background-size: cover;
  height: 190px;
  width: 250px;
  margin: 10px auto 0 auto;
}

.timeline-item .timeline-img4 {
  background: url("/assets/img/search.svg") center center no-repeat;
  background-size: cover;
  height: 160px;
  width: 240px;
  margin: 10px auto 0 auto;
}

.timeline-item .timeline-img5 {
  background: url("/assets/img/design.svg") center center no-repeat;
  background-size: cover;
  width: 300px;
  height: 190px;
  margin: 20px auto 0 auto;
}

.timeline-img-header {
  position: relative;
  margin-bottom: 20px;
}

.timeline-img-header h2 {
  color: #fff;
  position: absolute;
  bottom: 5px;
  left: 20px;
}

#timeline blockquote {
  margin-top: 10px;
  color: #757575;
  padding: 0 20px;
}

#timeline .date {
  background: #4A4A4A;
  opacity: .5;
  display: inline-block;
  color: #fff;
  padding: 5px;
  position: absolute;
  top: 0;
  right: 0;
}

#timeline .date1 {
  border-radius: 0 3px 0 0;
}

#timeline .date2 {
  border-radius: 3px 3px 0 0;
}

@media screen and (max-width: 1200px) {
  .timeline {
    margin-top: 20px;
  }
  .timeline::before {
    left: 30px;
  }
  .timeline .timeline-img {
    left: 5px;
  }
  .timeline .timeline-content {
    max-width: 100%;
    width: auto;
    margin-left: 50px;
  }
  .timeline .timeline-item {
    margin: 30px 0;
  }
  .timeline .timeline-item:nth-child(even) .timeline-content {
    float: none;
  }
  .timeline .timeline-item:nth-child(odd) .timeline-content::after {
    content: '';
    position: absolute;
    border-style: solid;
    width: 0;
    height: 0;
    top: 30px;
    left: -15px;
    border-width: 10px 15px 10px 0;
    border-color: transparent #f5f5f5 transparent transparent;
  }
}

div {
  font-size: 17px;
}

#timeline .spe {
  color: #3340ff;
  margin-top: 16px;
}

#timeline .fa {
  text-align: center;
  line-height: 45px;
  font-size: 25px;
  color: #fff;
}

#timeline .icon {
  height: 25px;
  width: 25px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
