body {
  background-color: #000000;
  background-image: url('../media/Img/background.png'), url('../media/Img/background2.png');
  background-repeat: no-repeat;
  background-size: cover;
}

@keyframes logoanimation {
  0% {top: -300%;}
  25% {top: 5%;}
  37.5% {top: -200%;}
  50% {top: 5%;}
  60% {top: -150%;}
  70% {top: 5%;}
  78% {top: -75%;}
  86% {top: 5%;}
  95% {top: -30%;}
  100% {top: 5%;}
}

@media screen and (max-height: 55%) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

.characters {
  bottom: 0px;
  color:  #FFFFFF;
  height: 75%;
  overflow-wrap: break-word;
  overflow-x: hidden;
  overflow-y: scroll;
  position: absolute;
  right:  21%;
  transition: 0.1s;
  width: 0%;
  word-wrap: break-word;
}

.characterContainer {
  padding: 3%;
}

.deku {
  bottom: 0px;
  height: 80%;
  right:  5%;
  width: 25%;
  position: absolute;
  z-index: 2;
}

.logo {
  height: 25%;
  left: 5%;
  position: fixed;
  top: 5%;
  width:  25%;
  z-index: 8;
}

.mainnav {
  top: 10%;
  right: 20%;
  width: 40%;
  position: absolute;
}

.navbuttons {
  background-color: #333333;
  color: #FFFFFF;
  margin: 3%;
  text-shadow: 2px 2px 3px #000000;
  -webkit-border-radius: 5px;
}

.navbuttons:hover{
  background-color: #CCCCCC;
  color: #FFFFFF;
  text-shadow: 2px 2px 3px #000000;
  -webkit-border-radius: 5px;
}

.navdiv {
  bottom: 0px;
  height: 25%;
  left: 5%;
  width: 15%;
  position: absolute;
  z-index: 1;
}

.sidenav {
  background-color: #000000;
  bottom: 0px;
  height: 55%;
  left: 5%;
  overflow-x: hidden;
  overflow-y: scroll;
  padding-top: 60px;
  position: fixed;
  transition: 0.5s;
  width: 0px;
  z-index: 3;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 18px;
  color: #818181;
  display: block;
  text-align: center;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

#logo {
  position: relative;

  -webkit-animation-name: logoanimation;
  -webkit-animation-duration: 6s;
  -webkit-animation-timing-function: linear;
  
  -webkit-animation-iteration-count: once;
  -webkit-animation-direction: alternate;
  -webkit-animation-play-state: running;

  animation-name: logoanimation;
  animation-duration: 6s;
  animation-timing-function: linear;

  animation-iteration-count: once;
  animation-direction: alternate;
  animation-play-state: running;
}