*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    overflow: hidden;
}
p{
    font-family: sans-serif;
    font-size: 12px;
    text-align: center;
    position: relative;
    top: 1.5vh;
}
#Background{
    background-image: url(img/bg.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    height: 100vh;
    width: 100%;
}
#player{
    background-image: url(img/dino.png);
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    height: 15%;
    width: 19%;
    bottom: 50px;
    left: 40px;
}   

.enemy{
    background-image: url(img/dragon.png);
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    height: 14%;
    width: 13%;
    bottom: 57px;
    right: -132px;
}    

.playerjum{
    animation: jump .5s linear ;
}


@keyframes jump{
    0%{
        bottom:50px ;
    }
    50%{
        bottom:322px ;
        
    }
    100%{
        bottom:50px ;
    }
}

.enemyani{
    animation: enemyani 6s linear infinite;
}


@keyframes enemyani{
    0%{
        left: 110vw;
    }
    100%{
        left:-10vw ;
    }
}

#gameover{
    font-weight: 100;
    text-align: center;
    font-size: 3rem;
    position: relative;
    top: 20vh;
    font-family: sans-serif;
}
#score{
    font-weight: 100;
    text-align: center;
    font-size: 3rem;
    position: relative;
    top: 10vh;
    font-family: sans-serif;
}

.playerdie{
    animation: playerdie 1.5s linear;
    animation-fill-mode: forwards;
}
@keyframes playerdie{
    0%,50%{

    }
    100%{
       bottom: -30vh;
       transform: rotate(-90deg); 
    }
}
