
@font-face {
  font-family: 'VCR';
  src: url('http://dominik.appundweb.de/Layout_Gaming_website-web-resources/font/vcr_osd_mono.ttf');
}

html, body { height: auto; scroll-behavior: smooth; }

body {
  font-family: sans-serif;
  text-align: center;
  color: #333;
}

#header {
  top: 0;
  position: absolute;
  bottom: 0;
  width: 90%;
  background-color: #fbfbfb;
  border-bottom: 1px solid #f1f1f1;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'VCR', sans-serif;
  display: flex;
  justify-content: space-between;
  padding: 0 5%;
}

#header a {
  color: black;
}

#header strong {
  color: black;
  font-size: 24px;
}

.viewport {
  cursor: url(../icons/run1.png), auto;
  -webkit-animation: cursor 800ms infinite;
  animation: cursor 800ms infinite;
  opacity: 0;
  transition: opacity 1s, visibility 0.8s;
}

.viewport a {
  cursor: url(../icons/run1.png), auto;
  -webkit-animation: cursor 800ms infinite;
  animation: cursor 800ms infinite;
}

.viewport a:active {
  cursor: url(../icons/attack1.png), auto;
  -webkit-animation: cursor-active 800ms infinite;
  animation: cursor-active 800ms infinite;
}

.viewport:active {
  cursor: url(../icons/attack1.png), auto;
  -webkit-animation: cursor-active 800ms infinite;
  animation: cursor-active 800ms infinite;
}

@-webkit-keyframes cursor {
  0% {cursor: url(../icons/run1.png), auto;}
  20% {cursor: url(../icons/run2.png), auto;}
  40% {cursor: url(../icons/run3.png), auto;}
  60% {cursor: url(../icons/run4.png), auto;}
  80% {cursor: url(../icons/run5.png), auto;}
  100% {cursor: url(../icons/run6.png), auto;}
} 

@keyframes cursor {
  0% {cursor: url(../icons/run1.png), auto;}
  20% {cursor: url(../icons/run2.png), auto;}
  40% {cursor: url(../icons/run3.png), auto;}
  60% {cursor: url(../icons/run4.png), auto;}
  80% {cursor: url(../icons/run5.png), auto;}
  100% {cursor: url(../icons/run6.png), auto;}
} 

@-webkit-keyframes cursor-active {
  0% {cursor: url(../icons/attack1.png), auto;}
  25% {cursor: url(../icons/attack2.png), auto;}
  50% {cursor: url(../icons/attack3.png), auto;}
  75% {cursor: url(../icons/attack4.png), auto;}
  100% {cursor: url(../icons/attack5.png), auto;}
} 

@keyframes cursor-active {
  0% {cursor: url(../icons/attack1.png), auto;}
  25% {cursor: url(../icons/attack2.png), auto;}
  50% {cursor: url(../icons/attack3.png), auto;}
  75% {cursor: url(../icons/attack4.png), auto;}
  100% {cursor: url(../icons/attack5.png), auto;}
}

/*#bottom {*/
/*  position: absolute;*/
/*  bottom:0;*/
/*  width: 100%;*/
/*  border: 1px solid black;*/
/*  background: repeating-linear-gradient(*/
/*          45deg,*/
/*          #B0BEC5,*/
/*          #B0BEC5 10px,*/
/*          #78909C 10px,*/
/*          #78909C 20px*/
/*  );*/
/*  height: 120px;*/
/*}*/

img {
  display: block;
  max-width: 100%;
}

/* Common styles for all examples */
.example {
  margin: 50px 0;
}

.viewport {
  height: calc(100vh - 80px);
  overflow: hidden;
  margin: auto;
  text-align: left;
  max-width: 100vw;
  margin-top: 80px;
}

.content {
  box-sizing: border-box;    
  width: 5000px;
  position: relative;
  height: 5200px;
  scroll-behavior: smooth;
}
