*,
*::before,
*::after {
	box-sizing: border-box;
	user-select: none;
    font-family: Arial, Helvetica, sans-serif;
	color: #535353;
}

body {
	margin: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
}

.world {
	overflow: hidden;
	position: relative;
}

.score {
	position: absolute;
	font-size: 3vmin;
	right: 1vmin;
	top: 1vmin;
}

.start-screen, .game-over {
	position: absolute;
	font-size: 5vmin;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -100%);
}

.hide {
	display: none;
}

.ground {
	--left: 0;
	position: absolute;
	width: 200%;
	bottom: 0;
	left: calc(var(--left) * 1%)
}

.villager {
	--bottom: 13;
	position: absolute;
	left: 1%;
	height: 30%;
	bottom: calc(var(--bottom) * 1%);
}

.zombie {
	--bottom: 12;
	position: absolute;
	left: calc(var(--left) * 1%);
	height: 30%;
	bottom: calc(var(--bottom) * 1%);
}