* {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

.hide {
  display: none;
}

.car,
.enemy {
  width: 50px;
  height: 100px;
  background: transparent url('../image/player.png') center / cover no-repeat;
  position: absolute;
  left: 125px;
  bottom: 10px;
}

.game {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-self: center;
}

.gameArea {
  width: 400px;
  height: 100%;
  position: relative;
  margin: auto;
  background: #222;
  overflow: hidden;
}

.gameArea__start {
  width: 400px;
  height: 44px;
  bottom: 0;
  position: absolute;
  background: black;
  overflow: hidden;
  color: white;
  font-family: sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 20px;
}

.sand {
  width: 100vw;
  height: 100vh;
  background: url('../image/forest.jpg');
  background-size: cover;
}

.line {
  position: absolute;
  width: 10px;
  height: 50px;
  background: #fff;
  left: 195px;
}

.start {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  margin: 0;
  padding: 2rem 0;
  text-align: center;
  z-index: 200;
  color: pink;
  font-size: 1.5rem;
  background: black;
  font-family: sans-serif;
  font-weight: 700;
}

.score {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: black;
  padding: 1rem 0;
  z-index: 200;
  font-family: sans-serif;
  font-size: 1.5rem;
  color: rgb(215, 228, 255);
  text-align: center;
  font-weight: 500;
}

.btn {
  padding: 15px 60px;
  cursor: pointer;
  font-size: 20px;
  border-radius: 6px;
  background-color: rgb(215, 228, 255);
  transition: 0.2s;
  font-weight: normal;
}
.btn:hover {
  background-color: #fff;
}
#topScore {
  position: fixed;
  bottom: 0px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  width: 200px;
  font-size: 40px;
  background-color: black;
  color: white;
  font-family: sans-serif;
}
