@keyframes sanic {
	0% {
		left: 20px;
	}
	100% {
		left: 80%;
	}
}
@keyframes rolling {
	0% {
		background: url('../images/sanic.png');
	}
	45% {
		background: none;
		background-color: blue;
		border-radius: 50%;
	}
	60% {
		background: url('../images/sanic.png');
		border-radius: 0%;
	}
	100% {
		background: url('../images/sanic.png');
		border-radius: 0%;
	}
}
@keyframes jump {
	0% {
		top: 250px;
	}
	50% {
		top: 150px;
	}
	100% {
		top: 250px;
	}
}
html, body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
}
#container {
	background-image: linear-gradient(to bottom, lightblue, lightblue 40%, green 40%, green);
	width: 100%;
	height: 100%;
	position: relative;
}
.sanic {
	width: 218px;
	height: 218px;
	background: url('../images/sanic.png');
	position: absolute;
	top: 250px;
	left: 20px;
	animation: sanic ease-in forwards 1s, rolling linear 1s;
	animation-iteration-count: 1;
}
.sanic:focus {
	animation: sanic ease-in forwards 1 1s, rolling linear 1 1s, jump linear forwards 1 1s;
}