body, html {
  height: 100%;
  font-family: "Inconsolata", sans-serif;
}

.menu {
  display: none;
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: auto;
}

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

.timeline-item.first::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 50%;
  left: 50%;
  width: 4px;
  background-color: transparent;
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-item {
  padding: 20px 30px;
  position: relative;
  width: 50%;
}

.timeline-item.left {
  left: 0;
}

.timeline-item.right {
  left: 50%;
}

.timeline-icon {
  position: absolute;
  top: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  font-size: 20px;
  color: white;
  z-index: 1;
}

.timeline-item.left .timeline-icon {
  right: -20px;
}

.timeline-item.right .timeline-icon {
  left: -20px;
}

.timeline-content {
  padding: 20px;
  border-radius: 6px;
  position: relative;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.timeline-item.left .timeline-content {
  margin-left: 40px;
}

.timeline-item.right .timeline-content {
  margin-right: 40px;
}

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

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

  .timeline-item {
    width: 100%;
    padding-left: 60px;
    padding-right: 20px;
  }

  .timeline-item.right {
    left: 0;
  }

  .timeline-item.left {
    left: 0;
  }

  .timeline-item .timeline-icon {
    left: 0;
  }

  .timeline-item .timeline-content {
    margin-left: 60px;
    margin-right: 0;
  }
}
