*{
    margin: 0;
    transition: 0.4s;
    padding: 0;
}
body{
    background-color: red;
    overflow: hidden;
}
.gameContainer{
    background-image: url(bg.jpg);
    background-repeat:  no-repeat;
    background-size: 100vw 100vh;
    width: 100%;
    height: 100vh;
}

.dino{
    background-image: url(dinosour.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 215px;
    height: 120px;
    position: absolute;
    bottom: 0;
    left: 20vw;
}

.obstacle{
    width: 100px;
    height: 100px;
    background-image: url(images.png);
    background-size: cover;
    position: absolute;
    bottom: 0;
    left: 50vw;
}

.gameOver{
    position: relative;
    top: 63px;
    font-size: 53px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-align: center;
    visibility: hidden ;

}

#scoreCount{
    position: absolute;
    right: 23px;
    color: white;
    background-color: gray;
    font-weight: bold;
    top: 25px;
    border: 2px solid black;
    padding: 10px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    width: 112px;
}


.animateDino{
    animation: dino 1s linear;
}

@keyframes dino {
    0%{
        bottom: 0;
    }
    50%{
        bottom: 300px;
    }
    100%{
        bottom: 0;
    }
}

.obstacleAni{
    animation:  obstacleAni 5s linear infinite;
}


@keyframes obstacleAni {
    0%{
        left: 100vw;
    }
    100%{
        left: -10vw;
    }
}