/*******************************************/
/*Global*/
/*******************************************/

html {
  background: #C0AF98 url(../../images/bg-paper.jpg) top left repeat;
  background-size: 500px;
}

body {
  background: transparent;
}

section {
  padding: 0;
  padding-bottom: 0;
}


/*******************************************/
/*Timeline Text*/
/*******************************************/

.timeline-info {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: nowrap;
      -ms-flex-wrap: nowrap;
          flex-wrap: nowrap;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  max-width: 720px;
  margin: 0 auto;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  width: 100%;
  color: #101010;
}

.timeline-info__caption-title {
  padding-left: 10px;
  font-size: 27px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.timeline-info__caption-title span {
  display: block;
  font-weight: 800;
}

.timeline-info__caption {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 2;
  -webkit-flex: 2;
      -ms-flex: 2;
          flex: 2;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
}

.timeline-info__caption-copy {
  display: none;
}

.year {
  -webkit-box-flex: 1.75;
  -webkit-flex: 1.75;
      -ms-flex: 1.75;
          flex: 1.75;
  opacity: 0;
  font-family: 'Trade Gothic LT W04 Bold';
  font-size: 74px;
  font-weight: 800;
  text-align: right;
  line-height: 1.1;
}

@media screen and (min-width: 986px) {

  .timeline-info__caption-title {
    padding-left: initial;
  }

  .timeline-info__caption-title span {
    display: initial;
  }

  .year {
    font-size: 162px;
    text-align: center;
  }

  .timeline-info {
    max-width: 940px;
  }

  .timeline-info__caption-title {
    font-size: 32px;
  }

  .timeline-info__caption-copy {
    display: block;
  }
}


/*******************************************/
/*Scene Staging*/
/*******************************************/

.tl-scene {
  position: relative;
}

.scene-stage {
  height: 100vh;
  position: relative;
}

.scene svg {
  width: 100vw;
  height: 90vh;
}


@media screen and (min-width: 986px) {
  .scene svg {
    height: 70vh;
  }
}

.tl-nav__callout {
  position: absolute;
  top: -60px;
}


/*******************************************/
/*Character*/
/*******************************************/

.character {
  height: 100%;
  width: 100%;
}

.persona {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 1;
}

.chris {
  position: fixed;
}

.matt {
  bottom: 0;
}

#construction .matt {
  bottom: -5vh;
  left: -54px;
}

@media screen and (min-width: 986px) {
  .persona {
    bottom: 20vh;
  }

  .matt {
    bottom: 22vh;
  }

  #construction .matt {
    bottom: 17vh;
  }
}


/*******************************************/
/*Nav*/
/*******************************************/

.tl-nav {
  position: fixed;
  top: 35%;
  right: 0;
  z-index: 2;
}

.tl-nav:before {
  content: 'START HERE ⬇';
  display: block;
  padding-right: 8px;
  position: absolute;
  top: -40px;
  right: 0;
  width: 160px;
  font-weight: 500;
  text-align: right;
  color: black;
}

.tl-nav a {
  display: block;
  height: 25px;
  margin-bottom: 10px;
  padding-left: 10px;
  width: 60px;
  font-family: 'Trade Gothic W01 Light';
  font-weight: 500;
  -webkit-transition: .175s all ease-in-out;
  transition: .175s all ease-in-out;
  background: #E5D5C5;
  color: #101010;
}

.tl-nav a span {
  display: inline-block;
  -webkit-transition: .175s transform ease-in-out;
  transition: .175s transform ease-in-out;
}

.tl-nav a:hover span,
.tl-nav a.active span {
  -webkit-transform: scale(0.5, 1);
          transform: scale(0.5, 1);
}

.tl-nav a:hover,
.tl-nav a.active {
  -webkit-transform: scale(2, 1);
          transform: scale(2, 1);
  -webkit-transform-origin: center center;
          transform-origin: center center;
  background: #111111;
  color: white;
}


/*******************************************/
/*Utilities*/
/*******************************************/

.hidden {
  opacity: 0;
}

.visuallyhidden {
  display: block;
  visibility: hidden;
}
