* {
  box-sizing: border-box;
}

body {
  height: 100vh;
  width: 100%;
  background-color: green;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.wrapper {
  height: 80vh;
  width: 80%;
  background-color: white;
  box-shadow: 0 0 10px 5px rgba(75, 88, 4, 0.808);
  border-radius: 10px;
  text-align: center;
}


#avatar {
  height: 20vh;
  border-radius: 50%;
  margin-top: 20px;
  margin: 10px auto;
}

#name {
  font-weight: 800;
}

.bio {
  font-style: italic;
  margin-top: 0;
  font-size: 0.8em;
}

.timeline-container {
  max-width: 1200px;
  height: 40vh;
  margin: 0 auto;
  overflow-y: scroll;
}

.timeline {
  position: relative;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: #00f529;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

.container {
  position: relative;
  width: 50%;
  padding: 10px;
}

.container::after {
  content: '';
  position: absolute;
  width: 21px;
  height: 21px;
  background-color: aliceblue;
  border: 3px solid darkgreen;
  border-radius: 50%;
  right: -13px;
  top: 20px;
  z-index: 1;
}

.container.left{
  left: 0;
}

.container.right {
  left: 50%;
}

.right::after {
  left: -13px;
}

.content {
  background-color: greenyellow;
  padding: 10px;
  border-radius: 5px;
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.content:hover {
  background-color: #45a049;
  transform: scale(1.1); /* Slight zoom-in effect */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds shadow */
}

.content h2 {
  font-size: 1em;
  margin: 0;
}

.content p {
  font-size: 0.8em;
  margin: 0;
}

.content.begin {
  background-color: aqua;
}