body {
  padding: 0px;
  text-align: center;
  overflow:hidden;
}

/*Maakt alle afbeeldingen fullscreen op een aantal classes na*/
img:not(.zwaard, .zwaardShadow, .zwaardDiv) {
  min-height: 100%;
  min-width: 1079px;
  width: 100%;
  height: auto;
  position: fixed;
  left: 0;
  bottom: 0;
}

/*Hier zet ik de verschillende lagen op de juiste volgorde*/
.D2 {
  z-index: 1;
}
.VG {
  z-index: 4;
}
.UL {
  z-index: 4;
}

/*Hier geef ik de stijl en positie van de subtitles aan*/
.dialog{
  z-index: 3;
  position: absolute;
  margin: auto;
  width: 100%;
  height: 100%;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: normal;
  font-size: 15px;
  color: white;
}

/*Hier annimeer ik de subtitles zodat ze verdwijnen of tevoorschijn komen na een aantal seconden*/
.tekst1{
  animation-name: fadeOut;
  animation-fill-mode: forwards;
  animation-duration: 2s;
  animation-delay: 8s;
}

.tekst2{
  padding-top: -10%;
  opacity: 0;
  animation-name: fadeOut2;
  animation-fill-mode: forwards;
  animation-duration: 2s;
  animation-delay: 9s;
}

@keyframes fadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes fadeOut2 {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/*De stijling en animatie van de button*/
button {
  padding-bottom: 3%;
  border: none;
  background: none;
  opacity: 0;
  margin: auto;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: bold;
  font-size: 15px;
  color: white;
  cursor: pointer;
  animation-name: fadeIn;
  animation-fill-mode: forwards;
  animation-delay: 15s;
  animation-duration: 3s;
}

button:hover {
  text-shadow: #000000 1px 0 10px;
  font-size: 17px;
}

.arrow-down {
  margin: auto;
  padding-bottom: -10%;
  opacity: 0;
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 15px solid #ffffff;
  animation-name: fadeIn;
  animation-fill-mode: forwards;
  animation-delay: 15s;
  animation-duration: 3s;
}

@keyframes fadeIn {
  0% { opacity: 0;}
  100% { opacity: 1;}
}

/*Hier animeer ik de positie van het zwaard*/
.zwaardDiv{
  z-index: 5;
  opacity: 0;
  width: 30%;
  height: 30%;
  position: absolute;
  margin: auto;
  animation-name: swordThrow;
  animation-delay: 10s;
  animation-duration: 3s;
  transition-timing-function: ease-in;
  animation-fill-mode: forwards;
  animation-direction: normal;
}

/*Hier animeer ik de rotation van het zwaard*/
.zwaard {
  margin-top: -70px;
  animation-name: swordRotate;
  animation-delay: 10s;
  animation-duration: 3s;
  animation-fill-mode: forwards;
  animation-direction: normal;
  transform: rotate(-300deg);
}

@keyframes swordThrow {
  0% { opacity: 0; transform: translate(60vw, 30vh);filter: drop-shadow(0px 0px 100px #000000);}
  15% { opacity: 0; }
  50% { opacity: 1;}
  75% { opacity: 1; }
  100% { opacity: 1; transform: translate(30vw, 72vh); filter: drop-shadow(5px 10px 15px #000000);}
}

@keyframes swordRotate {
  0% { transform: rotate(0deg);}
  90% { transform: rotate(-300deg);}
}

/*hier pas ik de opacity van een van de twee achtergronden aan waardoor de tweede achtergrond tevoorschijn komt, hierdoor lijkt de deur open te gaan*/
.D1{
  z-index: 2;
  animation-name: openDoor;
  animation-delay: 2s;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  animation-direction: reverse;
}

@keyframes openDoor {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
