.game,
body,
html {
  overflow: hidden;
  color: transparent;
  margin: 0;
  height: 100%;
  width: 100%;
  background: rgb(171, 221, 229);
  background: linear-gradient(
    180deg,
    rgba(171, 221, 229, 1) 1%,
    rgba(171, 181, 181, 0.9475140397956058) 61%
  );
}
.start-screen-div {
  margin-top: 6%;
  position: absolute;
  width: 500px;
  left: 50%;
  transform: translate(-50%);
}

.butonStart {
  position: relative;
  font-size: 40px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  padding: 0.5em 2.5em;
  border-radius: 15px;
  left: 50px;
  text-align: center;
}
.butonStart:hover {
  color: whitesmoke;
  background-color: black;
  padding: 0.7em 2.6em;
  box-shadow: 2px 1px 15px 16px #fefdff;
}

.hidden {
  display: none;
}

.gamescreen {
  display: none;
  width: 100%;
  height: 100%;
  position: relative;
  background-image: url("./images/tCz0AX4.png");
  background-repeat: no-repeat;
  background-size: cover;
}

.spaceship {
  background-image: url("./images/ship__r1466271641.gif");
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  display: inline-block;
  outline: none !important;
  border: none !important;
}

@media (max-width: 1200px) {
  .spaceship {
    width: 17%;
  }
}
@media (max-width: 800px) {
  .spaceship {
    width: 22%;
  }
}

.monster {
  position: absolute;
  background-image: url("./images/zubat_flying.gif");
  width: 110px;
  height: 120px;
  display: inline;
  background-size: contain;
}

.laser {
  position: absolute;
  background-image: url("./images/laserVertical.png");
  background-size: cover;
  width: 40px;
  height: 70px;
}
.deathAnimation {
  background-image: url("./images/bugDead.webp");
  display: inline-block;
  width: 100px;
  position: absolute;
  height: 100px;
  background-size: cover;
}
.score-screen {
  width: 35%;
  height: 10%;
  position: absolute;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  font-size: 2rem;
  color: wheat;
}
@media (max-width: 550px) {
  .score-screen {
    font-size: 0.7rem;
  }
  .spaceship {
    width: 24%;
    height: 11%;
  }
  .startScreenImg {
    width: 100%;
    position: relative;
  }
  .butonStart {
    font-size: 1.5em;
  }
  .start-screen-div {
    top: 10%;

    width: 90%;
  }
}

.btnMove {
  width: 30px;
  height: 30px;
  position: absolute;
  border: 2px solid black;
  background-color: white;
}

.btnMove.left {
  bottom: 10px;
  right: 75px;
}
.btnMove.right {
  bottom: 10px;
  right: 5px;
}
.btnMove.up {
  bottom: 45px;
  right: 40px;
}
.btnMove.down {
  bottom: 10px;
  right: 40px;
}

.btnShoot {
  position: absolute;
  left: 15px;
  bottom: 10px;
  height: 25px;
  width: 60px;
  border: 2px solid black;
  background-color: white;
  border-radius:15%;

}
