@font-face {
  font-family: nib;
  src: url(../assets/nib-regular.otf) format('');
}

@font-face {
  font-family: graebenbach-mono;
  src: url(../assets/GraebenbachMono-Light.woff) format('woff'),
       url(../assets/GraebenbachMono-Light.ttf) format('truetype'),
       url(../assets/GraebenbachMono-Light.eot);
}

body {
  width: 100vw;
  height: 100vh;
  padding: 20px;
  box-sizing: border-box;
  background-color: #efefef;
  color: #212121;
  font-family: nib;
}

h1 {
  margin: 0px;
  padding: 0px;
  display: inline;
  float: none;
  font-size: 13.5vw;
  line-height: 14vw;
 }

h2 {
  font-family: nib;
  text-align: center;
  font-size: 1.1em;
}

h3 {
  text-align: center;
  font-size: 1.1em;
  padding-bottom: 16px;
}

a {
   text-decoration: none;
   color: inherit;
   transition: color 0.3s;
 }

 a:hover {
   color: #FFD699;
   transition: color 0.3s;
 }

 p {
   font-family: graebenbach-Mono;
   text-align: center;
   font-size: 0.9em;
   line-height: 1.5em;
   padding-bottom: 1.2em;
 }

 ul, li {
   font-family: graebenbach-Mono;
   text-align: center;
   font-size: 0.9em;
   line-height: 1.5em;
   list-style: none;
 }

#content {
  overflow: hidden;
  width: 100%;
  height: 100%;
  border-style: solid;
  border-width: 1px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 55px;
  box-sizing: border-box;
  border-style: solid;
  border-width: 0px 0px 1px 0px;
  z-index: 20;
}
.main {
  left: -1px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 50px 60px 60px 60px;
  float: right;
  box-sizing: border-box;
  border-style: solid;
  border-width: 0px 0px 0px 1px;
  background-color: #efefef;
  transition: transform 0.7s;
  transition-timing-function: cubic-bezier(.54,.06,.59,.96);
  z-index: 2;
}
.open {
  transform: translateX(38%);
  transition-timing-function: cubic-bezier(.54,.06,.59,.96);
}

.nav {
  width: 60%;
}

.info {
  position: fixed;
  width: 37.2%;
  padding: 3vw 3vw 3vw 3vw;
  float: left;
  top: 90px;
  left: 20px;
  bottom: 20px;
  box-sizing: border-box;
  border-style: solid;
  border-width: 0px 0px 0px 0px;
  z-index: 1;
}

.about {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-content: center;
  width: 100%;
  height: 100%;
}

.down {
  padding-top: 1.2em;
}

.button {
  padding: 20px;
  position: absolute;
  cursor: pointer;
  width: 20px;
  height: 20px;
  top: 0;
  right: 0;
}

@media only screen and (max-width: 1450px) {
  h1 {
    font-size: 12vw;
    line-height: 13.5vw;
  }

  h3 {
    font-size: 0.85em;
  }

  p {
    font-size: 0.7em;
    line-height: 1.2rem;
  }

  ul, li {
    font-size: 0.7rem;
    line-height: 1.2rem;
  }
}

@media only screen and (max-width: 900px) {
  h1 {
    font-size: 11vw;
    line-height: 12.5vw;
  }

  h3 {
    font-size: 0.75em;
  }

  p {
    font-size: 0.6em;
    line-height: 1.1rem;
  }

  ul, li {
    font-size: 0.6rem;
    line-height: 1.1rem;
  }
}

@media only screen and (max-width: 750px) {

  body {
    padding: 10px;
  }

  .header {
    position: relative;
    z-index: 20;
    background-color: #efefef;
  }

  .main {
    float: none;
    width: 100%;
    height: 100%;
    padding: 0px 20px 20px 20px;
    border-width: 0px 0px 1px 0px;
    transition-timing-function: cubic-bezier(.54,.06,.59,.96);
    z-index: 2;
  }

  .open {
    float: none;
    width: 100%;
    transform: translateY(-100%);
    transition-timing-function: cubic-bezier(.54,.06,.59,.96);
  }

  .close {
    transform: translateY(-0%);
  }

  .nav {
    width: 100%;
  }

  .info {
    position: absolute;
    height: 100%;
    width: 100%;
    float: none;
    top: 0px;
    left: 0px;
    bottom: 0px;
    box-sizing: border-box;
    padding: 65px 10px 10px 10px;
    z-index: 1:
  }

  .about {
    width: 100%;
    height: 100%;
    padding: 45px 20px 20px 20px;
    box-sizing: border-box;
  }

  .button {
    padding-top: 85px;
    padding-right: 30px;
    position: absolute;
    cursor: pointer;
    width: 20px;
    height: 20px;
    top: 0;
    right: 0;
  }

  h1 {
    font-size: 6.2rem;
    line-height: 1em;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
  }

  h2 {
    text-align: center;
    font-size: 0.8em;
  }

  h3 {
    font-size: 0.8em;
  }

  p {
    font-size: 0.6em;
    line-height: 0.8em:
  }

  ul, li {
    font-size: 0.6rem;
    line-height: 0.8em:
  }

  a:hover {
    color: #212121;
  }
}
