@font-face { font-family: 'Christmas-bold'; src: url('./_mountains_of_christmas/MountainsofChristmas-Bold.ttf') format('truetype'); }
@font-face { font-family: 'Christmas-regular'; src: url('./_mountains_of_christmas/MountainsofChristmas-Regular.ttf') format('truetype'); }

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Christmas-bold';
  width: 100%;
  min-height: 100vh; 
  color: #333;
  background: #6e8e93;
  overflow: hidden;
}

h1 { font-family: 'Christmas-bold'; font-size: 4.5em; line-height: 1.2; color: #e8e8e8; text-shadow: 4px 5px 5px rgb(21, 77, 88); margin: 3px 0 20px 0;}

.btn {
  cursor: pointer;
  transition: 0.2s;
}
.btn:hover {
  transform: scale(1.1);
  transition: 0.2s;
}

/****** Video-Area  *****/
#video-content {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#video-content .btn {
  z-index: 2000;
  position: relative;
  width: 150px;
  margin: 0 5px;
}

video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  position: absolute;
}



/****** Game-Area  *****/
#game-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  background-image: url(./_assets/hg.svg);
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: bottom center;
}

iframe {
  width: 112vh;
  height: 85vh;
  object-fit: cover;
  border: 20px solid transparent;
  background-image: url('./_assets/frost-pattern.jpg');
  background-size: cover;
  border-radius: 2em;
}

/******  Logo, Icons, Impressum & Grusskarte etc. *****/
#logo {
  cursor: pointer;
  width: 170px;
  margin-bottom: 100px;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 800;
  filter: drop-shadow(1px 1px 15px rgba(21, 77, 88, 0.7));
}

aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  z-index: 1000;
  top: 20px;
  left: 20px; 
}

aside .btn  {
  width: 70px;
  margin-bottom: 10px;
}


/******  Overlays *****/
.overlay { 
  position: fixed;
  top: 0;
  left: 0;
  min-height: 100vh;
  width: 100%;
  background-color: rgba(2, 2, 19, 0.95);
  z-index: 1000;
  cursor: pointer;
}

.overlay img {
  display: block;
  width: 80% !important;
  height: auto;
  margin: 0 auto;
  margin-top: 5vh;
  border-radius: 10px;
  border: solid 15px white;
  position: relative;
}

#close {
  position: absolute;
  z-index: 100;
  top: -2vh;
  right: 8%;
  font-size: 8vw;
  color: #305d74; 
  border: none;
  background: transparent;
  text-shadow: 0 0 3px #FFF, 0 0 5px #FFF;
  cursor: pointer;
}
#close:hover {   color: #e85b2e; }


.hidden {
  display: none !important;
}


.snow {
  width: 100%;
  height: 100vh;
  background-image: 
      url('./_assets/_8zsjgyF.png'),
      url('./_assets/_j5ekn4f.png'),
      url('./_assets/_wC1HUtA.png');
  -webkit-animation: schnee 20s linear infinite;
  -moz-animation: schnee 20s linear infinite;
  -ms-animation: schnee 20s linear infinite;
  animation: schnee 20s linear infinite;
}
@keyframes schnee {
  0% { background-position: 0px 0px, 0px 0px, 0px 0px;  }
  100% { background-position: 500px 1000px, 400px 400px, 300px 300px;  }
}
@-moz-keyframes schnee {
  0% { background-position: 0px 0px, 0px 0px, 0px 0px;  }
  100% { background-position: 500px 1000px, 400px 400px, 300px 300px;  }
}
@-webkit-keyframes schnee {
  0% { background-position: 0px 0px, 0px 0px, 0px 0px;  }
  100% { background-position: 500px 1000px, 400px 400px, 300px 300px;  }
}
@-ms-keyframes schnee {
  0% { background-position: 0px 0px, 0px 0px, 0px 0px;  }
  100% { background-position: 500px 1000px, 400px 400px, 300px 300px;  }
}





@media only screen and (max-width: 1500px) {
  iframe {
    width: 105vh;
    height: 80vh;
    }
}

/****** Tablets Media Screen   *****/

@media only screen and (max-width: 1024px) {

  h1 { font-size: 4em;  width: 70%;   margin-left: 2.5vw; margin-bottom: 30px ;  }

  #logo {width: 140px; top: 10px; right: 10px;}
  #game-content {
    align-items: flex-start;
  }

  iframe {
    width: 95vh;
    height: 73vh;
    align-self: center;
  }
  #video-content.hidden ~ aside {
    top: unset;
    bottom: 10px;
    left: calc(50vw - 180px);
    flex-direction: row;
  }
  
  #video-content.hidden ~ aside .btn {
    margin: 0 10px;
  }

  #close {  top: 10px; }
}


/****** Smartphone Media Screen   *****/

@media only screen and (max-width: 768px) {

  #logo {width: 120px;}


  iframe {
    width: 95vw;
    height: 50vh;
    margin: 0;
  }

  h1 { font-size: 3em;  }


  .overlay img {
    width: 90% !important;
    margin-top: 2vh;
    border: none;
  }

  #close {
    top: 0px;
    right: 10px;
  }

  video {
    height: auto;
  }

}