*{
	padding: 0;
  margin: 0;
}
#game{
  width: 500px;
  height: 200px;
  border: 2px solid black;
}
#character{
  width: 20px;
  height: 50px;
  background-color: red;
  position: relative;
  top: 150px;
}
.animate{
  animation: jump 500ms;
}
#block{
  width: 20px;
  height: 20px;
  background-color: blue;
  position: relative;
  top: 130px;
  left: 480px;
  animation: block 1s infinite linear;
}
@keyframes jump{
	0%{top:150px;}
  30%{top:95px;}
  70%{top:90px;}
  100%{top:150px;}
}
@keyframes block{
  0%{left:480px;}
  100%{left:-40px;}
}




