* {
  margin: 0px;
  padding: 0px;
}

body {
  background-color: black;
  width: 100vw;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: -webkit-min-content;
  grid-template-rows: min-content;
  padding: 0rem;
  justify-items: center;
  text-align: center;
}
body .screen-container {
  display: flex;
  flex-direction: column;
}
body .screen-container #game-title {
  padding: 2rem;
  color: green;
  font-family: "Press Start 2P", cursive;
  border: 0.5rem solid white;
}
body .screen-container #game-score {
  color: green;
  font-family: "Press Start 2P", cursive;
  font-size: 1rem;
  position: relative;
  padding: 1rem 0.1rem;
  border: solid 0.1rem white;
}
body .screen-container .tv-screen {
  background-image: url("./assets/old-tv-screen.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  position: relative;
  margin-top: 1rem;
}
body .screen-container .tv-screen .game-container {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  width: 36rem;
  height: 25rem;
  max-width: 100%;
  max-height: 100%;
  display: block;
  align-items: center;
  position: relative;
  z-index: -3;
}
body .screen-container .tv-screen .game-container #game-over {
  color: red;
  font-family: "Press Start 2P", cursive;
  font-size: 5rem;
  position: absolute;
  top: 6rem;
  right: 6rem;
  z-index: 1;
  display: none;
}
body .screen-container .tv-screen .game-container #player {
  width: 3rem;
  height: 3rem;
  background-image: url("./assets/mega-man.png");
  background-position: center;
  background-size: cover;
  position: relative;
  left: 5rem;
  top: 17rem;
  transition: left 350ms;
}
@-webkit-keyframes jump {
  0% {
    top: 17rem;
  }
  15% {
    top: 13rem;
  }
  25% {
    top: 10rem;
  }
  40% {
    top: 6rem;
  }
  60% {
    top: 7rem;
  }
  75% {
    top: 9rem;
  }
  85% {
    top: 12rem;
  }
  100% {
    top: 17rem;
  }
}
@keyframes jump {
  0% {
    top: 17rem;
  }
  15% {
    top: 13rem;
  }
  25% {
    top: 10rem;
  }
  40% {
    top: 6rem;
  }
  60% {
    top: 7rem;
  }
  75% {
    top: 9rem;
  }
  85% {
    top: 12rem;
  }
  100% {
    top: 17rem;
  }
}
body .screen-container .tv-screen .game-container .animateJump {
  -webkit-animation: jump 750ms linear;
          animation: jump 750ms linear;
}
body .screen-container .tv-screen .game-container #obstacle {
  width: 2rem;
  height: 5rem;
  background-image: url("./assets/megaman-enemy.png");
  background-position: center;
  background-size: cover;
  position: relative;
  left: 32rem;
  top: 12rem;
}
@-webkit-keyframes moveObstacle {
  0% {
    left: 92.5%;
  }
  100% {
    left: 1%;
  }
}
@keyframes moveObstacle {
  0% {
    left: 92.5%;
  }
  100% {
    left: 1%;
  }
}
body .screen-container .tv-screen .game-container .moveObstacle {
  -webkit-animation: moveObstacle 2.5s linear infinite;
          animation: moveObstacle 2.5s linear infinite;
}
body .screen-container .tv-screen #game-floor {
  background-color: grey;
  z-index: -2;
  width: 32rem;
  height: 3rem;
  position: relative;
  left: 0.5rem;
  margin-top: 12rem;
  border-radius: 5rem;
}
body .screen-container .tv-screen #tutorial-screen {
  background-color: black;
  position: relative;
  text-align: center;
  display: contents;
  width: 100%;
  height: 100%;
  z-index: 1;
  color: green;
  font-family: "Press Start 2P", cursive;
}
body .screen-container .tv-screen #tutorial-screen #tutorial-screen__start {
  position: absolute;
  padding-bottom: 2rem;
  font-size: 1rem;
  bottom: 15rem;
  right: 10rem;
}
body .screen-container .tv-screen #tutorial-screen #tutorial-screen__controls {
  position: absolute;
  font-size: 0.5rem;
  bottom: 12rem;
  right: 14rem;
}
body .screen-container .tv-screen .joystick-container #joystick {
  width: 15rem;
  height: 15rem;
  background-image: url("./assets/joystick1.png");
  background-position: center;
  background-size: cover;
  position: absolute;
  top: 15rem;
  left: 15rem;
  z-index: 6;
}
@-webkit-keyframes moveJoystickLeft {
  0% {
    left: 92.5%;
  }
  100% {
    left: 1%;
  }
}
@keyframes moveJoystickLeft {
  0% {
    left: 92.5%;
  }
  100% {
    left: 1%;
  }
}
@-webkit-keyframes moveJoystickRight {
  0% {
    left: 92.5%;
  }
  100% {
    left: 1%;
  }
}
@keyframes moveJoystickRight {
  0% {
    left: 92.5%;
  }
  100% {
    left: 1%;
  }
}
body .screen-container .tv-screen .joystick-container .moveObstacle {
  -webkit-animation: moveObstacle 2.5s linear infinite;
          animation: moveObstacle 2.5s linear infinite;
}

@media only screen and (max-width: 368px) {
  #game-title {
    width: 55%;
    font-size: 0.75rem;
  }
  .tv-screen {
    width: 60%;
  }
  .tv-screen .game-container {
    width: 55%;
    display: block;
  }
  .tv-screen .game-container #tutorial-screen {
    width: 55%;
  }
  .tv-screen .game-container #game-floor {
    width: 55%;
  }
}/*# sourceMappingURL=style.css.map */