* {
  box-sizing: border-box;
}

div {
  background-color: #cccccc;
  border: none;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  width: 70%;
}

img {
    max-height: 2em;
    vertical-align: middle;
}

/* The vertical timeline ruler */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/* The vertical timeline ruler */
.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: black;
  /* background-color: #004B18; */
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

/* Container around content */
.container {
  padding: 0px 0px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

/* The circles on the timeline */
.container::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: #EBDD4A;
  /* border: 4px solid black;*/
  border: 4px solid black;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

/* Place the container to the left */
.left {
  left: -25%;
  align-content: end;
}

/* Place the container to the right */
.right {
  left: 25%;
  align-content: start;
}

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

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

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

/* The actual content */
.content {
  padding: 5px 30px;
  background-color: white;
  position: relative;
  border-radius: 6px;
  width: 80%;
}


/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 40rem) {
/* Make sure that all arrows are pointing leftwards */
  .container::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }
  .content {
    padding: 1px 10px;
  }
  .left::before {display: none;}
  .right::before {display: none;}

  p {font-size: .7rem;}
  h2 {font-size: 1.1rem;}
}