* {
    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.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 0px;
    left: 52px;
    width: 250px;
    height: 114px;
}

.obstacle {
    background-image: url(dragon.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 0px;
    left: 54vw;
    width: 250px;
    height: 114px;
}

.animateDino {
    animation: dino 0.6s linear;
}

.gameOver {
    position: absolute;
    top: 50px;
    width: 100%;
    text-align: center;
    font-size: 53px;
}



#scoreCount {
    position: absolute;
    top: 10px;
    right: 10px;
    border: 2px solid red;
    padding: 10px;
    font-size: 24px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: red;
}


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

#restartBtn {
    position: absolute;
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    font-size: 20px;
    cursor: pointer;
}

@keyframes dino {
    0% {
        bottom: 0;
    }

    50% {
        bottom: 400px;
    }

    100% {
        bottom: 0;

    }
}

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

    100% {
        left: -10vw;
    }
}