* {
  margin: 0;
  padding: 0;
}

.hide {
  display: none;
}

.score{
    position: absolute;
    top: 50px;
    left: 40px;
    background-color: teal;
    width: 300px;
    line-height: 70px;
    text-align: center;
    color: white;
    font-family: sans-serif;
    box-shadow: 0 5px 5px #777;
    font-size: 1.5em;
}

.car{
    width: 50px;
  height: 80px;
  background-color: red;
  position: absolute;
  bottom: 120px;
  background-image: url('./car-1.png');
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

 .enemy{
    width: 50px;
  height: 80px;
  background-color: red;
  position: absolute;
  bottom: 120px;
  background-image: url('./car-2.jpg');
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.gameArea {
  width: 400px;
  height: 100vh;
  background: #2d3436;
  margin: auto;
  position: relative;
  overflow: hidden;
  border-right: 7px dashed #c8d6e5;
  border-left: 7px dashed #c8d6e5;
}
.lines{
    width: 10px;
    height: 100px;
    background: white;
    position: absolute;
    margin-left: 195px;
}

.startScreen{
    position: absolute;
    background-color: tomato;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    color: white;
    z-index: 1;
    text-align: center;
    border: 1px solid #ff6b6b;
    padding: 15px;
    margin: auto;
    width: 50%;
    cursor: pointer;
    font-family: sans-serif;
    letter-spacing: 5;
    font-size: 20px;
    word-spacing: 3;
    line-height: 30px;
    text-transform: uppercase;
    box-shadow: 0 5px 5px #777;
}

.carGame{
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1526392587392-d1627b6c134a?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1000&q=80');
    background-repeat: no-repeat;
    background-size: 100% 100%;
}