#mineracao{
    width: 60%;
    height: 70vh;
    background-color: rgb(51, 45, 45);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 20px 0px 0px 20px;
}

#vidaPedra{
    background-color: rgb(231, 18, 18);
    border-radius: 20px;
    width: 80%;
    height: 20px;
    display: flex;
    align-items: center;
    margin: 10px;
    overflow: hidden; /* Garantir que a barra interna não transborde */
}

#vidaPerdida{
    background-color: green;
    width: 100%;
    height: 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.3s ease-out; /* Animação suave da barra de vida */
}

#vidaPerdida p { /* Estilizando o texto da vida */
    margin: 0;
    padding: 0;
    font-size: 12px;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px black;
}

#conjuntoMineracao{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    background-color: rgb(58, 30, 30);
    background-image: url('../imagens/fundos/fundo1.png'); /* Fundo padrão */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 60vh;
    width: 80%;
    margin-bottom: 20px;
    border-radius: 15px;
}

#botaoMinerar{
    background-color: green;
    border-radius: 20px;
    margin-bottom: 20px;
    width: 100%;
    height: 20px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    color: white; /* Adicionado */
    font-size: 18px; /* Adicionado */
    font-weight: bold; /* Adicionado */
    cursor: pointer; /* Adicionado */
}

#botaoMinerar:hover{
    background-color: #09390b;
}

#botaoMinerar:active{
    transform: scale(0.9);
    background-color: #1f5d21;
}

#botaoMinerar:disabled { /* Estilo para botão desabilitado */
    background-color: #555;
    cursor: not-allowed;
}

#picareta{
    /* background-color: #ec0000; */
    width: 80%;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin: 10px; */
    animation-direction: alternate;
}

#pedregulho{
    /* background-color: #d3d3d3; */
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
}

/* Animações da mineração */
@keyframes minerar{
    0%{
        translate: 0px;
        rotate: 0deg;
    }
    50%{
        translate: 50px;
        rotate: 20deg;
    }
    100%{
        translate: 90px;
        rotate: 30deg;
    }
}

@keyframes pedraHit {
    to{
        transform: scale(1);
    }
    from{
        transform: scale(0.9);
    }
}

@keyframes pedraMorre {
    to{
        transform: scale(1);
        transition: rotate 0.5s;
        rotate: 360deg;
    }
    from{
        transform: scale(0);
        opacity: 0.5;
    }
}

