body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
    background-image: url("https://cdn.hobbyconsolas.com/sites/navi.axelspringer.es/public/media/image/2023/07/dark-souls-3088076.jpg?tf=3840x");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.botones {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-direction: row;
    background-color: rgba(0, 0, 0, 0.7);
    width: 60%;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 40px;

}

button {
    background-color: rgb(53, 53, 53);
    border: 2px solid #1d1d1d;
    border-radius: 10px;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.2s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

button:hover {
    transform: scale(1.1);
}

button img {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

h1 {
    font-size: 70px;
    margin-bottom: 20px;
    color: #ffffff;
    font-family: "Junge", cursive;
    font-weight: 400;
    font-style: normal;
}

/* Resultado centrado, ancho completo, grande y con transparencia */
#resultado {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    color: rgba(202, 20, 20, 0.8); /* Blanco con transparencia */
    text-align: center;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro y semitransparente */
    width: 100vw; /* Ancho del monitor completo */
    padding: 20px 0;
    border-radius: 0; /* Quitar los bordes redondeados para adaptarse al ancho */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    opacity: 0; /* Inicialmente oculto */
    transition: opacity 0.5s ease-in-out; /* Transición suave */
    pointer-events: none; /* Evita bloquear la interacción con los botones */
    z-index: 999; /* Asegura que el texto quede sobre todo lo demás */
    font-family: "Junge", cursive;
    font-weight: 400;
    font-style: normal;
      
}

/* Mostrar el resultado con una transición suave */
#resultado.mostrar {
    opacity: 1; /* Se mostrará cuando tenga la clase 'mostrar' */
}




/* Resultado para empate centrado, ancho completo, grande y con transparencia */
#empate {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    color: rgba(255, 255, 255, 0.8); /* Blanco con transparencia */
    text-align: center;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro y semitransparente */
    width: 100vw; /* Ancho del monitor completo */
    padding: 20px 0;
    border-radius: 0;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    opacity: 0; /* Inicialmente oculto */
    transition: opacity 0.5s ease-in-out;
    pointer-events: none; /* Evita bloquear la interacción con los botones */
    z-index: 999;
    font-family: "Kalam", cursive;
    font-weight: 400;
    font-style: normal;

}

/* Resultado para victoria con GIF de fondo */
#victoria {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    color: rgba(255, 255, 255, 0.9); /* Blanco con poca transparencia */
    text-align: center;
    font-weight: bold;
    background: url('https://media.tenor.com/GvNrUCZnZ9IAAAAM/cucaracha.gif') no-repeat center center; /* GIF de fondo */
    background-size: cover; /* Asegura que el GIF cubra todo el área */
    width: 100vw; /* Ancho del monitor completo */
    padding: 40px 0;
    border-radius: 0;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    opacity: 0; /* Inicialmente oculto */
    transition: opacity 0.5s ease-in-out;
    pointer-events: none; /* Evita bloquear la interacción con los botones */
    z-index: 999;
    font-family: "Kalam", cursive;
    font-weight: 400;
    font-style: normal;
    height: 100%;
}

/* Mostrar el resultado de victoria con una transición suave */
#victoria.mostrar {
    opacity: 1; /* Se mostrará cuando tenga la clase 'mostrar' */
}


/* Mostrar el resultado del empate con una transición suave */
#empate.mostrar {
    opacity: 1; /* Se mostrará cuando tenga la clase 'mostrar' */
}


