body {
  font-family: "Helvetica Neue", sans-serif;
  background-color: #f5f5f5;
  margin: 0;
  padding: 2rem;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: #0078d4;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.entry {
  padding: 1rem 2rem;
  position: relative;
  background-color: white;
  border-radius: 10px;
  width: 45%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin: 1rem 0;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s forwards;
}

.entry.left {
  left: 0;
}
.entry.right {
  left: 55%;
}
.entry::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: white;
  border: 4px solid #0078d4;
  top: 20px;
  border-radius: 50%;
  z-index: 1;
}
.entry.right::before {
  left: -10px;
}
.entry h3 {
  margin-top: 0;
}
.entry img {
  width: 100%;
  border-radius: 8px;
  margin-top: 10px;
}
.year-header {
  text-align: center;
  color: #0078d4;
  margin-top: 2rem;
  font-size: 1.5rem;
}
@media screen and (max-width: 768px) {
  .entry, .entry.right, .entry.left {
    width: 100%;
    left: 0 !important;
  }
  .timeline::after {
    left: 20px;
  }
  .entry::before {
    left: 10px !important;
  }
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
