*{
    margin: 0;
    padding: 0;
}
body{
    background-color: red;
    overflow: hidden;
}
.gameContainer{
    background-image: url(bg.png);
    background-repeat: no-repeat;
    background-size: 100vw 100vh;
    width: 100%;
    height: 100vh;
}
.dino{
    background-image: url(dino.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 180px;
    height: 135px;
    position: absolute;
    bottom: 12.3%;
    left: 52px;
}
.obstacle{
    background-image: url(dragon.jpg);
    background-size: cover;
    width: 150px;
    height: 143px;
    position: absolute;
    bottom: 12.3%;
    left: 44vw;
    
}

.gameOver{
    position: relative;
    top: 80px;
    font-size: 50px;
    font-style: italic;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-align: center;
    font-weight: bold;
    
}
#scoreCont{
    position: absolute;
    right: 45px;;
    top: 15px;
    border: 2px solid black;
    padding: 10px;
    font-family: sans-serif;
    font-weight: bold;
    width: 112px;
}
.animateDino{
    animation: dino 0.8s linear;
}

@keyframes dino{
    0%{
        bottom: 12.3%;
    }
    50%{
        bottom: 60%;
    }
    100%{
        bottom: 12.3%;
    }
}
.obstacleAni{
    animation: obstacleAni 5s linear infinite;
}

@keyframes obstacleAni{
    0%{
        left: 100vw;
    }
    100%{
        left: -10vw;
    }
    
}