
.timeline-container {
  font-family: "Roboto", sans-serif;
  max-width: 500px;
  margin: 0 auto;
  border-left: 4px solid #222;
  padding-left: 25px;
}

.timeline-container h1 {
  font-family: "Roboto", sans-serif;
  font-size: 48px;
  margin: 0;
  color: #00272b;
  border-bottom: 1px solid #eee;
}

.timeline-container h2 {
  font-family: "Roboto", sans-serif;
  font-size: 32px;
  margin: 0;
  color: #00272b;
  border-bottom: 1px solid #eee;
}

.timeline-container h3 {
  font-family: "Roboto", sans-serif;
  font-size: 24px;
  margin: 0;
  color: #00272b;
}

.timeline-container h4 {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  margin: 0;
  color: #00272b;
}

.timeline-container h5 {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  margin: 0;
  color: #00272b;
}

.timeline-container ul,li {
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  margin: 0;
  color: #00272b;
}

.timeline-container .event {
  box-shadow: 0px 3px 6px -2px rgba(0, 0, 0, 0.2);
  padding: 32px;
  margin: 48px 0;
  line-height: 2;
  position: relative;
  transition: all 500ms;
}

.timeline-container .event::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid #000;
  position: absolute;
  left: -34px;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  transition: all 500ms;
}

.timeline-container .event:hover {
  box-shadow: 1px 6px 16px -1px rgba(0, 0, 0, 0.1);
}

.timeline-container .event:hover::before {
  background: red;
}

.timeline-container .event .event-cover {
  position: absolute;
  left: -175px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
}

.timeline-container .event .event-date {
  position: absolute;
  left: -95px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
}

@media (max-width: 700px) {
  .timeline-container {
    max-width: 100%;
    margin-left: 8px;
  }

  .timeline-container .event .event-date {
    position: static;
    margin-bottom: -20px;
  }
}