* {
  box-sizing: border-box;
  outline: none;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', sans-serif;
  overflow: hidden;
}

header { 
  position: absolute; 
  z-index: 1;
}

.none {
  display: none;
}

header #logo {
  float: left;
}

header nav {
  float: right;
  display: inline-flex;
  margin-top: 10px;
}

header nav div {
  background-image: url("../images/deviation_blank_right.png");
  background-repeat: no-repeat;
  background-size: 200px; 
  width: 200px;
  margin: 20px;
}

header nav div.flip {
  background-image: url("../images/deviation_blank_left.png");
}

header nav a {
  width: 100%;
  display: block;
  height: 100%;
  padding: 20px 5px;
  padding-right: 30px;
  line-height: 140%;
  font-weight: lighter;
  font-size: 130%;
  color: black;
  letter-spacing: 0.5;
  text-decoration: none;
  text-align: center;
  cursor: hand;
  cursor: pointer;
  font-style: italic;
}
header nav a b {
  font-weight: lighter;
}

header nav div.flip a {
  padding-right: 0px;
  padding-left: 20px;
}

header nav a:hover,
header nav a.active,
header nav a b:hover{
  font-weight: normal;
}

article {
  position: absolute;
  right: -980px;
  width: 708px;
  height: 100vh;
  background: white;
  transition: 1s;
  z-index: 5;
  border-left: 8px solid #f9ba11;
}

article main {
  overflow: scroll;
  height: 100%;
  padding-bottom: 70px;
}

article h1, article p {
  padding: 0 15px;
  padding-bottom: 15px;
}

article h1 {
  padding-top: 20px;
  font-weight: lighter;
  line-height: 140%;
  font-size: 140%;
  font-style: italic;
}

article h1 b {
  font-style: normal;
}

article p {
  padding-top: 15px;
  line-height: 150%;
  font-weight: lighter;
}

article img.full{
  width: 100%;
}

article div.inline {
  float: right;
}

article .inline img {
  padding: 30px;
}

article.open {
  right: 0px;
}

article a {
  text-decoration: none;
}

#logo { margin: 15; }
#map {
  width: 100vw;
  height: 100vh;
}


.btn {
  border: none;
  color: black;
  overflow: hidden;
  padding: 0;
  text-transform: uppercase;
  width: 100px;
  height: 40px;
  position: absolute;
  margin: 10px;
  right: 0;
  letter-spacing: 0.5;
  font-weight: lighter;
  font-size: 90%;
}
.btn.next {
  bottom: 0px;
}
.btn:hover {
  font-weight: normal;
  cursor: hand;
  cursor: pointer;
}

.btn.color-1 {
  background-color: #f9ba11;
}

.btn canvas {
  opacity: 0.25;
  position: absolute;
  top: 0;
  left: 0;
}

@media only screen and (max-width: 900px)  {
  article {
    width: 100%;
  }
  article h1, article p {
    padding: 20px 10px;
  }
  article h1 {
    padding-right: 120px;
  }
  header nav {
    display: none;
    float: left;
    margin: 0px;
    margin-left: 50px;
  }
  header #logo {
    float: none;
  }
  header #logo img{
    width: 230px;
  }

  header nav.open {
    display: block;
  }

  header nav div {
    background-size: 140px;
    width: 140px;
    margin: 10px 0px;
  }
  header nav a { 
    font-size: 90%;
    padding: 15px 0px;
    padding-right: 20px;
  }
  header nav a.flip { 
    padding-right: 0px;
  }
  article .inline img {
    padding: 10px;
  }
}