* {
	margin: 0px;
	padding: 0px;
	box-sizing: border-box;
}

html, body, #root {
	height: 90vh;
}

body {
  background: #fafafa;
}

.dino {
  position: absolute;
  bottom: 0;
  width: 60px;
  height: 60px;
}

.cactus {
  position: absolute;
  width: 60px;
  height: 60px;
  bottom: 0;
  background-image: url('./img/cactus.png');
}

.game-over {
  text-align: center;
  color: #666;
  margin: 50px 0;
  font-family: arial;
}

@keyframes slide {
  from {
    background-position: 10000%;
  }
  to {
    background-position: 0%;
  }
}

.background {
  position: absolute;
  bottom: 40%;
  background-image: url('./img/background.png');
  background-repeat: repeat-x;
  animation: slide 600s infinite alternate;
  width: 80%;
  margin: 0 10%;
  height: 200px;
}
