
*{margin:0; padding: 0;}
body{
    overflow: hidden;
}

.container{
    width: 100%;
    height: 100%;
    background-color: rgb(38, 201, 38);
}
.hide{display: none;}
.frontMirror{
    width: 40px;
    height: 18px;
    border-radius: 2px;
    position: absolute;
    left:8%;
    top: 15%;
    background-color: black;
}
.rearMirror{
    width: 40px;
    height: 15px;
    border-radius: 5px;
    position: absolute;
    left:8%;
    top: 65%;
    background-color: black;
}
.score{
    width:300px;
    height: 70px;
    box-shadow: 0 5px 5px rgb(142, 142, 142);
    position: absolute;
    top:5%;
    left:3%;
    text-align: center;
    font-size: 20px;
    font-family: sans-serif;
    font-weight: bold;
    padding: 1%;
    color: aliceblue;
    background:#0e7d61;
}
.startScreen{
    padding: 15px;
    width: 50%;
    background-color: #ee5553;
    box-shadow: 0 5px 5px rgb(142, 142, 142);
    border-radius: 5px;
    text-align: center;
    font-family: sans-serif;
    top: 50%;
    left: 50%;
    border: none;
    word-spacing: 3;
    letter-spacing: 5;
    font-size: 30px;
    cursor: pointer;
    color: white;
    z-index: 1;
    position: absolute;
    margin: auto;
    transform: translate(-50%,-50%);
    line-height: 30px;

}
.gameArea{
      height: 100vh;
      width: 400px;
      border-left: 5px  dashed white;
      border-right: 5px  dashed white;
      background-color: rgb(18, 18, 18);
      position: relative;
      margin: auto;
}
.car,.enemy{
    position: absolute;
    width: 50px;
    height: 70px;
    background: rgb(255, 0, 0);
    border-radius: 2px;
    top: 90vh;
    left: 10vw;
}
.roadline{
    width: 10px;
    height: 100px;
    position: absolute;
    margin-left: 190px;
    background:white ;
}