@font-face {
  font-family: "Apercu";
  src: url('../assets/fonts/apercu/apercu_regular_pro.otf');
}

/* BODY */
body {
  font-family: "Apercu";
  margin: 0 auto;
  line-height: 1.5em;
  background-color: black;
  height: 100%;
}


/* TOP PAGE */
#top {
  height: 110vh;
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.webp #top {
  background-image: linear-gradient(to bottom, rgba(0,0,0, 0) 90%, rgba(0,0,0, 0.95) 100%), url("../assets/images/header.webp");
}
.no-webp #top {
  background-image: linear-gradient(to bottom, rgba(0,0,0, 0) 90%, rgba(0,0,0, 0.95) 100%), url("../assets/images/header.jpg");
}

#toptext {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}

h1 {
  font-family: 'Vollkorn', serif;
  font-size: 60px;
  padding-bottom: 0;
  text-align: center;
  font-weight: 200;
  text-shadow: 0px 0px 300px;
  animation: fadeIn 3s;
  margin-bottom: 0.4em;
  height: 100%;
  width: auto;
}

#top p {
  text-align: center;
  padding-bottom: 10px;
  padding-bottom: 10px;
  font-size: 1.1em;
}

#imgbutton {
  max-width: 100%;
  width: 50px;
  height: 50px;
  text-align: center;
  animation: spin 2000ms linear infinite;
}


/* MIDDLE PAGE */
#middle {
  width: 100%;
  height: 100vh;
  text-align: center;
  color: white;
  padding-top: 20px;
}

#middle h2 {
  font-family: 'Lato', sans-serif;
  font-size: 25px;
  margin-bottom: 0;
}

#middle p {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  margin-top: 15px;
}

#middle a {
  margin: 20px;
  text-align: center;
  display: inline-block;
  margin-bottom: 45px;
}

#middle img {
  max-width: 250px;
  height: auto;
  display: inline-block;
  text-align: center;
}

#middle img:hover {
  opacity: .85;
  cursor: pointer;
}

#middlecontent {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}


/* KEYFRAMES */
@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

@keyframes spin {
  from {
    transform:rotate(0deg);
  }
  to {
    transform:rotate(360deg);
  }
}


/* assets/images */
@media assets/images only screen and (max-width: 1000px){
  #middle img {
      height: auto;
      max-width: 200px;
      width: 100%;
  }
}
