body {
  font-family:
    Open Sans,
    Helvetica,
    Arial,
    sans-serif;
  color: #fff;
  background-color: #384047;
  margin: 0;
  padding: 0;
  font-size: 12px;
  -webkit-text-size-adjust: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: default;
}
a {
  color: #fff;
}
header {
  z-index: 3;
  background: linear-gradient(
    to bottom,
    rgba(56, 64, 71, 0) 0%,
    rgba(56, 64, 71, 0.5) 20%,
    rgba(56, 64, 71, 1) 50%,
    rgba(56, 64, 71, 0.5) 80%,
    rgba(56, 64, 71, 0) 100%
  );
  position: fixed;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 10px;
}
header a {
  margin-left: 1em;
  opacity: 0.3;
  text-decoration: none;
}
header a:hover {
  opacity: 0.7;
  text-decoration: underline;
}
h1 {
  display: inline;
  font-size: 20px;
  line-height: 1em;
  opacity: 0.5;
  z-index: 3;
  font-weight: 300;
  white-space: nowrap;
}
#life {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  cursor: -webkit-grab;
  cursor: -moz-grab;
  cursor: grab;
}
#life-years {
  position: absolute;
  top: 0;
  bottom: 0;
  white-space: nowrap;
  pointer-events: none;
}
#life-years .year {
  display: inline-block;
  box-sizing: border-box;
  color: #fff;
  font-weight: 300;
  white-space: nowrap;
  box-sizing: border-box;
  height: 100%;
  border-left: 1px dashed rgba(255, 255, 255, 0.2);
}
#life-years .year:first-child {
  border-left: 0;
}
#life-years .year span {
  background: linear-gradient(
    to bottom,
    rgba(56, 64, 71, 1) 30%,
    rgba(56, 64, 71, 0) 100%
  );
  display: block;
  padding: 10px;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 3;
}
#life-years .year span i {
  opacity: 0.5;
  font-style: normal;
}
#life-events {
  padding-top: 40px;
  padding-bottom: 5em;
  position: relative;
}
#life-events:after {
  content: "";
  display: block;
  clear: left;
}
#life .event {
  padding-right: 20px;
  padding-bottom: 5px;
  vertical-align: middle;
  white-space: nowrap;
  float: left;
  clear: left;
}
#life .event b {
  font-weight: normal;
  color: rgba(255, 255, 255, 0.5);
}
#life .event .time {
  display: inline-block;
  overflow: hidden;
  height: 0;
  border: 4px solid #fff;
  border-radius: 4px;
  margin-right: 10px;
  opacity: 0.3;
  position: relative;
  left: -2px;
}
#life .event:hover .time {
  opacity: 0.5;
}
