html, body {
  height: 100%; 
  width: 100%;
  margin: 0;
  padding: 0;
}

.wrap {
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #120103;
  color: #fff;
  text-align: center;
}

header {
  background: #272c30;
  box-shadow: 0 0.5em 1em #111;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 900;
  width: 100%;
}

header label {
  color: #f0f4f7;
  cursor: pointer;
  display: inline-block;
  line-height: 4.25em;
  font-size: 1em;
  font-weight: bold;
  padding: 0 1em;
}

header label:hover {
  background: #3c576e;
}

.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 0.75s;
  
}

.slide-one {
  background-image: url(im1.jpg);
}

.slide-two {
  background-image: url(im2.jpg);
}

.slide-three {
  background-image: url(im3.jpg);
}

.slide-four {
  background-image: url(im4.jpg);
}


[id^="slide"]:checked + .slide {
  left: 0;
  z-index: 100;
  transition: left 0.65s ease-out;
}  

.slide h1 {
  opacity: 0;
  transform: translateY(100%);
  transition: transform 0.5s 0.5s, opacity 0.5s;
}

[id^="slide"]:checked + .slide h1 {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.5s 0.5s;
} 

h1{
  
  text-shadow: #000 0px 0px 1px;
    -webkit-font-smoothing: antialiased;
}


.pictext {
  font-size: 20px;
  padding-top: 80%;
  background-color: rgba(0, 0, 0, 0.5); /* translucent background */
  display: inline-block;
  padding: 1em;
  border-radius: 10px;
  position: relative;
  z-index: 2;
}

@media only screen and (min-width: 768px){
  .pictext {
    font-size: 40px;
    padding-top: 24%;
  }
}