<style>
/* The actual timeline (the vertical ruler) */
.timeline {
  position: absolute;
  max-width:700px; 
  margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
  content: "";
  position: absolute;
  width: 8px;
  background-color: #1b1c1e;
  top: 140px;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

/* timelineend */
.timelineend {
    position: relative;
	overflow: hidden;
      width: 100%;
}

/* Container around content */
.timeline .container {
  position: relative;
  background-color: inherit;
  width: 45%;
}

/* The circles on the timeline */
.timeline .container::after {
  content: "";
  position: absolute;  
  right: -12.5px; 
  margin-right: auto; 
  width: 25px;
  height: 25px;
  background-color: #3370c2;
  border: 4px solid #1b1c1e;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

/* Place the container to the left */
.timeline .left {
  padding: 10px 30px 10px 10px;
  left: 0px;
}

/* Place the container to the right */
.timeline .right {
  padding: 10px 7px 10px 30px;
  left: 0px;
}

/* Add arrows to the left container (pointing right) */
.timeline .left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 20px;
  border: medium solid #1b1c1e;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent #1b1c1e;
}

/* Add arrows to the right container (pointing left) */
.timeline .right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 20px;
  border: medium solid #1b1c1e;
  border-width: 10px 10px 10px 0;
  border-color: transparent #1b1c1e transparent transparent;
}

/* Fix the circle for containers on the right side */
.timeline .right::after {
  left: -12.5px;
}

/* The actual content */
.timeline .content {
  padding: 20px 30px;
  background-color: #1b1c1e;
  position: relative;
  border-radius: 6px;
  transition: box-shadow 0.3s;
}

/* small shadow change on hover*/
.timeline .content:hover{
  box-shadow: 0 0 3px 3px white;
}

/* small shadow change on hover*/
.timeline .left:hover::before{
  -webkit-filter: drop-shadow(3px 0px 2px white);
  filter: drop-shadow(3px 0px 2px white);
}

/* small shadow change on hover*/
.timeline .left:hover::after, .timeline .right:hover::after {
  box-shadow: 0 0 3px 3px white;
}

/* small shadow change on hover*/
.timeline .right:hover::before{
  -webkit-filter: drop-shadow(-3px 0px 2px white);
  filter: drop-shadow(-3px 0px 2px white);
}


/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
	
  /* Place the timelime to the left */
  .timeline::after {
  left: 0px;
  top: 120px;
  }
  
  /* Full-width containers */
  .timeline .container {
  float: left;
  width: 90%;
  padding-left: 30px;
  padding-right: 0px;
  }
  
  /* Make sure that all arrows are pointing leftwards */
  .timeline .container::before {
  left: 20px;
  border: medium solid #1b1c1e;
  border-width: 10px 10px 10px 0;
  border-color: transparent #1b1c1e transparent transparent;
  }

  /* Make sure all circles are at the same spot */
  .timeline .left::after, .timeline .right::after {
  left: -16px;
  }
  
  /* Make all right containers behave like the left ones */
  .timeline .right {
  left: 0%;
  }
  
  /* small shadow change on hover*/
  .timeline .left:hover::before{
    -webkit-filter: drop-shadow(-3px 0px 2px white);
    filter: drop-shadow(-3px 0px 2px white);
  }
  
}
</style>