/* Estilos específicos del juego */
/* Estilos del canvas principal */
#canvas {
    background-image: url('../sprites/back-ground.jpg');
    background-size: 100% 100%;
    overflow: hidden;
    position: absolute;
    margin: 0px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Cambiado de -1 a 0 para que sea visible */
    /* Efectos de monitor retro intensificados */
    position: relative; /* Para que los pseudo-elementos se posicionen con respecto al canvas */
}

/* Estilos para el pad de dibujo */
#drawing-pad {
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.705);
    border-radius: 10%;
    position: absolute; /* Changed from fixed to absolute */
    bottom: 10px; /* Add some padding from bottom */
    font-family: Jersey, Arial, sans-serif;
}

/* Estilos para tutorial */
#tutorial-shade {
    position: fixed;
    z-index: 2;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(255,255,255,0.7);
    font-family: Jersey, Arial, sans-serif;
}

#tutorial-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    font-family: Jersey, Arial, sans-serif;
}

#tutorial-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    font-family: Jersey, Arial, sans-serif;
}

/* Estilos para game over */
#game-over-shade {
    position: fixed;
    z-index: 3;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(255, 255, 255, 0.7);
    font-family: Jersey, Arial, sans-serif;
}

#game-over-content {
    background-color: #fefefe;
    display: grid;
    margin: 15% auto;
    padding: 20px;
    width: 80%;
    justify-content: center;
    font-family: Jersey, Arial, sans-serif;
}

.game-over-msg {
    font-size: 2em;
    text-align: center;
    font-family: Jersey, Arial, sans-serif;
}

#reload-img-container {
    display: flex;
    justify-content: center;
}

#reload-img {
    cursor: pointer;
    width: 50%;
}
