* {
    margin: 0;
    padding: 0;
    font-family: 'Josefin Sans', sans-serif;
}

.hide {
    display: none;
}

.carGame{
    width: 100;
    height: 100vh;
    background-image: url('images/image1.jpg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

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

.gameArea {
    width: 400px;
    height: 100vh;
    background: #323232;
    margin: auto;
    /* for roade(gameArea become centor of screen)*/
    position: relative;
    /* my car only lies on the road(gameArea)*/
    overflow: hidden;
    /* if car go out side of road the car not be visibal*/
    border-right: 7px dashed #c8d6e5;
    border-left: 7px dashed #c8d6e5;
}

.lines {
    width: 10px;
    height: 100px;
    background: white;
    position: absolute;
    margin-left: 195px;
}

.score{
    position: absolute;
    top: 15px;
    left: 40px;
    background: #10ac84;
    width: 300px;
    /* height: 70px; */
    line-height: 70px; /* gives both height and also keep test at between top and bottom*/
    text-align: center; /* x-axis*/
    color: white;
    font-size: 1.5em;
    box-shadow: 0 5px 5px #777;
}

.startScreen{
    position: absolute;
    background-color: #ee5253;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    z-index: 1;
    text-align: center;
    border: 1px solid #ff6b6b;
    padding: 15px;
    margin: auto;
    cursor: pointer;
    /* font-family: carfont; */
    /* font-family: 'Press Start 2p', cursive; */
    letter-spacing: 5;
    font-size: 20px;
    word-spacing: 3;
    line-height: 30px;
    text-transform: uppercase;
    box-shadow: 0 5px 5px #777;
}