﻿#game-container {
    height: 300px;
    bottom: 10px;
    position: relative;
    overflow: hidden;
}

#dino {
    width: 50px;
    height: 80px;
    position: absolute;
    bottom: 20px;
    left: 50px;
}

#obstacle {
    width: 30px;
    height: 60px;
    position: absolute;
    bottom: 0;
    right: 0;
    animation: moveObstacle 1.8s linear infinite;
}
#cloud {
    width: 60px;
    height: 30px;
    position: absolute;
    bottom: 150px;
    right: 0;
    animation: moveObstacle 3s linear infinite;
/*    background-color:white;*/
}

@keyframes moveObstacle {
    0% {
        left: 100%;
    }

    100% {
        left: -50px;
    }
}

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

    50% {
        bottom: 150px;
    }

    100% {
        bottom: 0;
    }
}

#dino.jump {
    animation: jump 0.5s ease-out;
}

