html {
	height: 100vh;
}

body {
	margin: 0;
	background: #21222E;
	overflow: hidden;

	width: 800px;
	height: 900px;
	margin: auto;

	margin-top: 50vh;
	transform: translateY(-50%);
}

#canv {
	user-select: none;
	-webkit-user-select: none;
	position: absolute;
	top:  50%;
	left: 50%;
	transform: translate(-50%, -50%);

	background-image: url("../img/background.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

#score {
	user-select: none;
	-webkit-user-select: none;
	position: absolute;
	top:   20px;
	right: 30px;

	font-family: "Unica One";
	font-size: 40px;
	text-align: right;
	color: white;
}
#health {
	user-select: none;
	-webkit-user-select: none;
	position: absolute;
	top:   20px;
	left: 20px;
}
.heart {
	position: relative;
	display: inline-block;

	margin-left: 14px;
	width: 53px;
	height: 51px;

	background-image: url("../img/hp.png");
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}
.heart.gone {
	display: none;
}

#wave {
	position: absolute;
	top:  100px;
	left: 50%;
	transform: translate(-50%);

	font-family: "Unica One";
	font-size: 60px;
	text-align: center;
	color: white;
	
	display: none;
}
#wave.active {
	display: block;
}
#startGame {
	position: absolute;
	bottom:  100px;
	left: 50%;
	transform: translateX(-50%);

	font-family: "Unica One";
	font-size: 30px;
	text-align: center;
	color: #252525;

	background: #ebe9ef;
	border-radius: 20px;
	border: 10px solid #a29fa8;

	padding: 12px;
	padding-left: 30px;
	padding-right: 30px;
	display: none;

	user-select: none;
	-webkit-user-select: none;
	cursor: pointer;
}
#startGame.active {
	display: block;
}
#finalScore {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);

	font-family: "Unica One";
	font-size: 60px;
	text-align: center;
	color: white;

	display: none;

	user-select: none;
	-webkit-user-select: none;
}
#finalScore.active {
	display: block;
}

#red {
	position: absolute;
	top:  0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 10;

	background: #EE3333;
	opacity: 0;

	pointer-events: none;
}