* {
	padding: 0;
	margin: 0;
	overflow-x: hidden;
}

.game {
	width: 500px;
	height: 200px;
	margin: auto;
}

.dino {
	width: 20px;
	height: 50px;
	background-color: blue;
	margin-left: 3px;
	position: relative;
	top: 150px;
}

.animate {
	animation: jump 0.3s linear;
}

@keyframes jump {
	0% {
		top: 150px;
	}

	30% {
		top: 100px;
	}

	70% {
		top: 100px;
	}

	100% {
		top: 150px;
	}
}

.enemy {
	background-color: green;
	width: 20px;
	height: 20px;
	position: relative;
	top: 130px;
	left: 500px;
	animation: enemy 1s infinite linear;
}

@keyframes enemy {
	0% {
		left: 500px;
	}

	100% {
		left: -20px;
	}
}

p {
	text-align: center;
}
