@import url('https://fonts.googleapis.com/css2?family=Cedarville+Cursive&family=Press+Start+2P&display=swap');
*{
    color: white;
    overflow: hidden;
    position: relative;
    z-index: 1;
    font-family: 'Press Start 2P', cursive;
    user-select: none;
    margin: 0;
    padding: 0;
    cursor: grab;
}
.fff{
    opacity: 100%;
}
img{
    display: flex;
    justify-content: center;
    z-index: 3;
}
.err{
    display:none
}
#err{
    display: none;
}
body{
    min-height: 30px;
    background-color: black;
    

}
span{
    color: black;
    font-size: 20px;
    text-decoration-style: wavy;


}
.conten{
 background-color: black;
} 
.border{
    border: 5px green solid;
    z-index: 1;
    border-style: groove;
}
.padingL{
    padding-left: 400px;
}
button{
    background-color:green;
    height: 45px;
}
.buttonHud{
    padding-left: 15px;
    padding-right: 15px;
    border: 2px rgb(255, 0, 255) solid ;
}
#pet{
    display: flex;
    justify-content: center;
    min-height: 400px;
    width: auto;
}
#peleaHud{  
    justify-content: center;
    position: sticky;
    display: flex;
    flex-direction: row;
    min-height: 1px;
    min-height: 200px;
}
.fondo{ 
    background-color: chocolate;
    background-image: url(./Room0.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.fondoOne{
    background-color: chocolate;
    background-image: url(./Room1.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}


#enemyName{
    position: fixed;
    z-index: 1;
    color: rgb(255, 0, 0);
    transform: translateX(120px);
    margin-left: 500px;
    margin-top: 15px;
    text-decoration: underline;
}
#enemyLife{
    color: rgb(255, 0, 0);
    z-index: 1;
    justify-content: center;
    margin-top: 15px;
    margin-left: 50px;
    
}

#enemiesKilled{
    position: fixed;

}
.kills{
    margin-left: 950px;
    margin-top: 380px;
    

}
.fireOff{
    height: 0px;
}
#atack{
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    flex-wrap: wrap;
    max-height: 100px;
    background-color: palevioletred;
}
#playerHud{
    display: flex;
    flex-direction: column-reverse;
    padding-bottom: 0px;
}
.statsHud{
    display: flex;
    flex-direction: row;
    height: 20px;
    padding-top: 5px;
}
.stats{
    display: flex;
    flex-direction: row-reverse;
}

.enemy{
    position: fixed;
    z-index: 3;
    margin-top: 70px;
    height:  300px;
    overflow: visible;
}

#goHit{
    z-index: 4;
    position: fixed;
    height: 0px;

}
.life{
    color:  white;
    background: rgb(255,0,0);
    background: linear-gradient(90deg, rgba(255,0,0,1) 0%, rgba(0,0,0,1) 75%);
}
.mana{
    color: white;
    background: rgb(0,18,255);
    background: linear-gradient(90deg, rgba(0,18,255,1) 0%, rgba(0,0,0,1) 75%);
}
#arrow{
    position: fixed;
    z-index: 3;
    height: 0px;
    width: auto;
    padding-left: 55px;
}
#dialogo{
    text-align: center;
    max-width: 400px;
    position: fixed;
    background-color: #fff;
    padding: 20px;
    color: #222;
    border-radius: 3px;
    margin-top: 33px;
    margin-left: 723px;
    line-height: 25px;
    border-width: 12px;
    border-style: groove;
}
.stick{
    position: fixed;
    z-index: 4;
}
#win{
    height: 0px;
}
#inspect{
    color: black;
    position: relative;
}
#inspect p{
    padding-top:20px ;
    background-color: chocolate;
    color: black;
    text-decoration: dashed;
    
}
#backpack{
    z-index: 10;
    height: 0;
    width: 0;
    border: 0px;
    margin-top: 45px;
}
.itemBag{
    display: flex;
    flex-direction: row;
}
#smoke{
    height: 0px;
}
#mordida{
    height: 0px;
}
#escudo{
    height: 0px;
}
.eye{
    height: 700px;
    position: sticky;
    z-index: 10;
    display: none;
}
#onDead{
    display: flex;
    flex-direction: row;
    justify-content: center;
}
#cajaDeTextoMuerto{
    height: 0px;
    margin-top: -250px;
    margin-left: 150px ;
}
#enemiesKilledDead{
    height: 0px;
    position: fixed;
    z-index: 5;
    margin-top: -50px;
    margin-left: 15px;
}
#reLoad{
    height: 0px;
    margin-left: 1204px;
    margin-top: -45px;
    position: fixed;
    z-index: 5;
}

#fireHit{
    height: 0px;
}

#skills{
    display: flex;
    flex-direction: row;
    text-align: center;
    max-width: 1000px;
    margin-top: 390px;
    margin-left: 200px;
}
#cajaDeTexto{
    color: black;
    height: 75px;
    text-align: center;
    padding-top: 15px;
    background: rgb(65,232,216);
    background: linear-gradient(90deg, rgba(65,232,216,1) 41%, rgba(238,247,117,1) 100%);
    text-decoration: underline;
    text-transform: uppercase;
    text-decoration-style: wavy;
    line-height: 30px;
}
#nota{
    position: fixed;
    width: 0px;
    height: 0px;
}
#textNote{
    position: fixed;
    width: 0;
    height: 0;
 
}
#menu{
    
}
.logo{
    height: 200px;
    width: 500;
    margin-left: 6px;
}
#menu p{
    margin-left: 100px;
    margin-top: 65px;
}
#menu button{
    height: 80px;
    width: 500px;
}