/*general*/
body{
    background-color: darkgrey;
    height: 100vh;
    width: 100%;
    margin: 0;
}

p{
    margin-block-start: 0;
    margin-block-end: 0;
}

#playground{
    height: 80vh;
    width: 100%;
    background-color: lightgray;
    position: relative;
    overflow: hidden;
    background-image: url(../media/misc/bck-t7-!.webp);
    background-size: contain;
    transition: background-position 0.1s linear;
    background-position-x: 0px;
}

#info{
    height: 20vh;
    width: 100%;
    background-color: burlywood;
}

#loading{
    display: flex;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
    height: 100vh;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    z-index: 10;
}

.PG-element{
    background: no-repeat;
    display: inline-block;
    position: absolute;
    background-size: contain;
}

/*menu*/

#menu{
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

#menu-container{
    background-image: url(../media/misc/MainBoxv1.webp);
    background-size: contain;
    color: black;
    font-weight: bold;
    width: 65vh; 
    height: 65vh;
    text-align: center;
    white-space: pre-wrap;
    border-radius: 3rem;
}

#menu-container p{
    display: inline-block;
    padding: 10px 20px;
    border-radius: 10px;
    margin: 10px;
    cursor: pointer;
    width: 20%;
    color: transparent;
    background-position: center;
}

p#play-button{
    background-image: url(../media/misc/play.webp);
    margin-top: 15vh;
}

p#shop-button{
    background-image: url(../media/misc/shop.webp);
}

#info div p{
    display: inline-block;
    font-size: 2rem;
    margin: 12px 0px 0px 8px;
}

#lives i{ 
    color: crimson;
    margin: 0 5px;
}

/* shop */
#shop{
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

#shop-container{
    background-color: beige;
    color: black;
    font-weight: bold;
    width: 50%; 
    height: 80%;
    text-align: center;
    overflow: auto;
}

.shop-item{
    width: 30%;
    display: inline-block;
    margin: 5px;
}

.shop-item img{
    width: 100%;
    
}

.shop-item.hat img{
    background-image: url(../media/skins/lowqualityRaul.webp);
    background-size: cover;
}

.price{
    height: 20px;
}

.shop-button {
    color: white;
    font-weight: bold;
    padding: 5px;
    margin: 0 10px;
    border-radius: 12px;
}

.equip{
    background-color: rgb(77, 77, 208);
}

.buy{
    background-color: green;
}

.equiped{
    background-color: rgb(82, 82, 82);
}

#backtomenu{
    color: white;
    font-weight: bold;
    padding: 10px;
    width: fit-content;
    border-radius: 12px;
    background-color: black;
    margin: 10px auto;
}

/*character*/

#character{
    width: 20vh;
    height: 20vh;
}

/*ambient*/

.coin{
    width: 10vh;
    height: 10vh;
    background-image: url(../media/misc/moneda.webp);
}

.spike{
    width: 10vh;
    height: 10vh;
    background-image: url(../media/misc/spikes.webp);
}