html, body{
  height:100%;
  width:100%;
  margin:0;
  padding:0;
}
h1 {
  font-size:3.5em;
  font-family: 'Open Sans', sans-serif;

}

.wrap{
  height:100%;
  width:100%;
  position:relative;
  overflow:hidden;
  background-color: #120103;
  color: #fff;
  text-align: center;
}

header{
  background-color: #3E474F;
  box-shadow: 0 .5em 1em #111;
  position: absolute;
  top:0;
  z-index: 900;
  width: 100%;
}

header label{
  color:#D48F1C;
  cursor: pointer;
  display: inline-block;
  line-height: 4.25em;
  font-size:.667em;
  font-weight:bold;
  padding: 0 1em;
  font-family: 'Nobile', sans-serif;
}

header label:hover{
  background-color: #2E353B;
}

 a{
  color:#D48F1C;
  cursor: pointer;
  display: inline-block;
  line-height: 4.25em;
  font-size:.667em;
  font-weight:bold;
  padding: 0 1em;
  font-family: 'Nobile', sans-serif;
  text-decoration: none;
}

 a:hover{
  background-color: #2E353B;
}



.slide{
  height:100%;
  width:100%;
  position: absolute;
  top:0;
  left: 100%;
  z-index:10;
  padding: 8em 1em 0;
  background-color: #120103;
  background-position: 50% 50%;
  background-size: cover;
  transition: left 0s .75s;
  padding-bottom: 5em; /* space for footer */
   overflow-y: auto;
  -webkit-overflow-scrolling: touch;
   scrollbar-gutter: stable both-edges;
}


.slide-one {background-image: url('../imgs/leaves2.jpg');}
.slide-two {background-image: url('../imgs/clouds.jpg');}
.slide-three {background-image: url('../imgs/office.jpg');}
.slide-four {background-image: url('../imgs/table.jpg');}

[id^="slide"]:checked + .slide {
  left:0;
  z-index:100;
  transition: left .65s ease-out;

}

.slide h1{
  opacity: 0;
  transform: translateY(100%);
  transition: transform .5s .5s, opacity .5s;

}

[id^="slide"]:checked + .slide h1 {
  opacity: 1;
  transform: translateY(0);
  transition: all .5s .5s;

}
[id^="slide"]:checked + .slide .content{
  opacity: .85;
  transition: all .5s .5s;
}
.slide-two .content {
  text-align: left;
  font-size: 0.95em;
  line-height: 1.6;
}

.content {
  opacity: 0;
  transition: transform .5s .5s, opacity .5s;

  padding: 25px;
  position: relative;
  z-index: 901;

  background-color: #3E474F;
  border-radius: 10px;
  color: white;

  font-family: 'Nobile', sans-serif;
  font-size: 1em;
  line-height: 1.5;

  max-width: 720px;
  width: 90%;
  box-sizing: border-box;

  display: block;
  margin: 0 auto;
}

.content a{
  color: white;
  text-decoration:none;
}

.content a:hover{
  color: lightblue;
  text-decoration:none;
}

.site-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  background-color: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.8em;
  font-family: 'Nobile', sans-serif;

  z-index: 950; /* below header (900+) but above slides */
}

.site-footer img{
  height: 25px;
  width: 25px;
  background-color: transparent;
  line-height: 0em;
}

.site-footer a{
  background-color: transparent;
  line-height: 0em;
}
.site-footer a:hover{
  background-color: transparent;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2em;
  }

  .slide {
    padding: 6em 1em 5em; /* room for header + footer */
  }

  .slide-two .content {
    font-size: 0.9em;
    padding: 16px;
  }
}
