html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
}

.wrapper {
  min-height: 100vh;
  font-family: "Roboto Slab", serif;
  font-weight: 300;
  color: #fff;
  position: relative;
}

section {
  height: 100vh;
  font-size: 40px;
  font-weight: 100;
  background-color: #22a7f0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
section:nth-child(1) {
  background: white;
}
section:nth-child(2) {
  background: #f64747;
}
section:nth-child(3) {
  background: #22a7f0;
}
section:nth-child(4) {
  background: #f9690e;
}
section:nth-child(5) {
  background: #9b59b6;
}
section:nth-child(6) {
  background: #03c9a9;
}
section:nth-child(7) {
  background: #ffcc00;
}
section:nth-child(8) {
  background: pink;
}
section:nth-child(9) {
  background: gray;
}
section:nth-child(10) {
  background: green;
}
section:nth-child(11) {
  background: #f64747;
}

.nav__wrapper {
  position: fixed;
  height: 100%;
  padding: 30px;
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
}
.nav {
  margin: 0 0 100px 30px;
  list-style-type: none;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch; /* Default */
  justify-content: space-between;
  opacity: 0;
  transition: opacity 0.3s ease-out;
}
.nav:hover {
  opacity: 1;
  transition: opacity 0.3s ease-out;
}

.nav__counter {
  font-size: 1rem;
  transition: all 0.15s ease-out;
}
.nav__title {
  font-size: 2rem;
  font-weight: 300;
  margin: 0 0 0.25em;
  width: 300px;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: height 0.3s ease-out, opacity 0.2s ease-out;
}
.nav__body {
  font-size: 18px;
  width: 300px;
  height: 0;
  overflow: hidden;
  opacity: 0;
  text-decoration: none;
  transition: height 0.3s ease-out, opacity 0.2s ease-out;
}
.nav li {
  position: relative;
  transition: all 0.3s ease-out;
}
.nav li:after {
  content: "";
  display: block;
  border-left: 2px solid white;
  border-top: 2px solid white;
  height: 250px;
  width: 20px;
  position: absolute;
  left: -30px;
  top: 15px;
}
.nav li a {
  display: block;
  padding: 0;
  color: #fff;
  transition: all 0.15s ease-out;
}
.nav li a:hover {
  background-color: transparent;
  padding-left: 1em;
}
.nav li a:focus {
  background-color: transparent;
}
.nav li.active {
  pointer-events: none;
  padding-left: 1em;
}
.nav li.active:after {
  width: 35px;
  height: 400px;
  top: 35px;
}
.nav li.active .nav__counter {
  font-size: 2.5rem;
}
.nav li.active .nav__title {
  height: 2rem;
  opacity: 1;
  margin-block-end: 0;
  overflow: visible;
}
.nav li.active .nav__body {
  height: 6rem;
  margin-block-end: 0;
  opacity: 1;
  overflow: visible;
} /*# sourceMappingURL=timeline.css.map */

img {
  max-width: 100%;
  max-height: 100%;
}
