@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, #0e005f 0%, #87004f 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 {
  color: rgb(255, 255, 255);
  text-align: center;
  font-family: "Press Start 2P";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 25px;
  font-size: 17px;
  -webkit-text-stroke: 1px black;
}

.game {
  margin: auto auto;
  position: relative;
  background-image: url(../Assets/bgCity.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/duck.png);
  background-size: 115%;
  background-position-y: 100%;
  background-repeat: no-repeat;
}

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

.death {
  width: 90px;
  height: 90px;
  position: absolute;
  bottom: 20px;
  background-image: url(../Assets/death.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: rgb(255, 255, 255);
  -webkit-text-stroke: 1px black;

}
