@font-face {
  font-family: 'aldrichregular';
  src: url('minecraftia-regular-webfont.woff') format('woff2'),
    url('minecraftia-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
body {
  margin: 0px;
  padding: 0px;
  width: 100%;
  height: 100%;
  background-color: black;
  overflow: hidden;
  cursor: pointer;
}
canvas {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  pointer-events: none;
  font-family: 'aldrich', Arial, Helvetica, sans-serif !important;
}
#canvas3d {
  z-index: 2;
}
#canvas2d {
  z-index: 4;
}

#BB_AA_Start_Button:hover {
  cursor: pointer;
}

#BB_AA_Start_Button {
  visibility: hidden;
  animation-name: showGame;
  animation-delay: 8s;
  animation-duration: 4s;
  animation-fill-mode: forwards;
  width: 300px;
  height: 120px;

  position: absolute;
  left: 60%;
  top: 80%;
  border-radius: 10px;
}

#BB_AA_Start_Screen {
  visibility: hidden;
  animation-name: showGame;
  animation-delay: 7s;
  animation-duration: 4s;
  animation-fill-mode: forwards;
  width: 100vw;
  height: 100vh;
}

#play_button {
  position: fixed;
  width: 300px;
  height: 200px;
  left: 50%;
  top: 50%;
  margin-left: -150px;
  margin-top: -100px;
}

#anim_ufo {
  position: absolute;
  visibility: hidden;
  border-radius: 50%;
  margin: 10px;
  animation-name: boom;
  animation-duration: 1s;
  animation-delay: 1s;
  right: 10%;
}
#anim_boy {
  position: absolute;
  visibility: hidden;
  margin: 10px;
  backdrop-filter: blur(10px);
  animation-name: boom;
  animation-delay: 2.5s;
  animation-duration: 1.5s;
}
#anim_title {
  position: absolute;
  visibility: hidden;
  top: 10%;
  width: 100%;
  animation-name: boom;
  animation-duration: 6s;
  animation-delay: 4.5s;
}

@keyframes boom {
  from {
    visibility: visible;
    opacity: 100;
  }
  to {
    opacity: 0;
  }
}

@keyframes showGame {
  from {
    visibility: hidden;
    opacity: 0;
  }
  to {
    visibility: visible;
    opacity: 100;
  }
}

#slide1 {
  position: absolute;
  animation-name: slides;
  animation-delay: 1s;
  width: 100%;
  visibility: hidden;
  animation-duration: 2s;
}
#slide2 {
  position: absolute;
  animation-name: slides;
  animation-delay: 3s;
  width: 100%;
  visibility: hidden;
  animation-duration: 3s;
  z-index: 100;
}

@keyframes slides {
  from {
    visibility: hidden;
    opacity: 0;
  }
  to {
    visibility: visible;
    opacity: 100;
  }
}
