#timeline {
  position: relative;
  min-height: 100vh;
}
#timeline:before {
  content: "";
  position: absolute;
  top: 0px;
  left: 50%;
  bottom: 0px;
  background-color: #333;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 2px;
}
body .entries {
  width: calc(100% - 50px);
  max-width: 800px;
  margin: auto;
  position: relative;
  left: -5px;
}
body .entries .entry {
  width: calc(50% - 40px);
  float: left;
  padding: 20px;
  clear: both;
  text-align: right;
}
body .entries .entry:not(:first-child) {
  margin-top: -60px;
}
body .entries .entry .title {
  font-size: 32px;
  margin-bottom: 12px;
  position: relative;
}
body .entries .entry .title:before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border: 4px solid #333;
  border-radius: 100%;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  right: -69px;
}
body .entries .entry .title.big:before {
  width: 24px;
  height: 24px;
  -webkit-transform: translate(8px, -50%);
  transform: translate(8px, -50%);
}
body .entries .entry .body {
  color: #aaa;
}
body .entries .entry .body p {
  line-height: 1.4em;
}
body .entries .entry:nth-child(2n) {
  text-align: left;
  float: right;
}
body .entries .entry:nth-child(2n) .title {
  font-size: 32px;
}
body .entries .entry:nth-child(2n) .title:before {
  left: -59px;
}
body .entries .entry:nth-child(2n) .title.big:before {
  width: 24px;
  height: 24px;
  -webkit-transform: translate(-8px, -50%);
  transform: translate(-8px, -50%);
}
.yearsbox {
  position: relative;
  padding: 15px 20px;
  width: 120px;
  left: calc(50% - 60px);
  text-align: center;
  color: #ffffff;
  background-color: #333;
}
@media (max-width: 768px) {
  body .entries {
    width: 100%;
  }
  body .entries .entry {
    padding: 10px;
  }
  body .entries .entry .title::before {
    right: -59px;
  }
  body .entries .entry:nth-child(2n) .title::before {
    left: -49px;
  }
  body .entries .entry .body p {
    line-height: 1.2em;
    font-size: 14px;
  }
  body .entries .entry:nth-child(2n) .title {
    font-size: 20px;
  }
}
