@import url("https://fonts.google.com/specimen/Press+Start+2P");


@font-face {
  font-family: "Press Start 2P";
  src: local("PressStart2P-Regular.ttf"),
    url("../fonts/PressStart2P-Regular.ttf") format("truetype");
}

* {
  user-select: none;
}

body {
  margin: 0;
  background-image: linear-gradient(to bottom, #c7129d 0%, #e38c2f 100%);
  overflow-y: hidden;
  overflow-x: hidden;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.score {
  font-family: "Press Start 2P";
  position: absolute;
  font-size: 3vmin;
  top: 5%;
  left: 10%;
  color: white;
}

.lives {
  font-family: "Press Start 2P";
  position: absolute;
  font-size: 3vmin;
  top: 5%;
}

.start-screen {
  text-align: center;
  font-family: "Press Start 2P";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  line-height: 25px;
  font-size: 17px;
}

.game {
  margin: auto auto;
  position: relative;
  background-image: url(../Assets/bgSpace.png);
  background-size: cover;
  box-shadow: 1px 2px 60px rgba(0, 0, 0, 0.4);
  overflow-x: hidden;
  overflow-y: hidden;
}

.duck {
  margin-left: 5%;
  width: 100px;
  height: 125px;
  position: absolute;
  bottom: 20px;
  background-image: url(../Assets/duckSpace.png);
  background-size: 115%;
  background-position-y: 100%;
  background-repeat: no-repeat;
}

.fusee {
  width: 110px;
  height: 75px;
  position: absolute;
  bottom: 20px;
  background-image: url(../Assets/fusee.png);
  background-size: 100%;
  background-position-y: 100%;
  background-repeat: no-repeat;
}

.ovni {
  width: 120px;
  height: 70px;
  position: absolute;
  bottom: 20px;
  background-image: url(../Assets/ovni.png);
  background-size: 100%;
  background-position-y: 100%;
  background-repeat: no-repeat;
}

.game-over {
  text-align: center;
  font-family: "Press Start 2P";
  font-size: 40px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}

.hide {
  display: none;
}

.block {
  font-family: "Press Start 2P";
  position: absolute;
  font-size: 3vmin;
  top: 5%;
  right: 5%;
  color: white;
}

.block a {
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  color: white;
}

.item {
  width: 30px;
  height: 30px;
  color: black;
  bottom: 100px;
}
