@charset "utf-8";

/* CSS Document */
@font-face {
    font-family: 'electronic';
    /*src: url('../fonts/DS-DIGI.TTF');*/
    src: url('../fonts/SFDigitalReadout-Heavy.ttf');
    font-style: normal;
    font-weight: normal;
}

html {
    font-size: 2vmin;
    overflow: hidden;
}

.div_info {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    /* Fondo semitransparente para enfocar la atención */
    color: #c7d5ff;
    text-shadow: 0.1rem 0.2rem 0rem gray;
    font-size: 4rem;
    text-align: center;
    /* padding-top: 5rem; */
    text-align: center;
}

#id_div_login {
    display: block;
}

.div_titulo {
    color: rgb(11, 11, 209);
    text-align: center;
    font-size: 2rem;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-style: oblique;
    font-weight: bold;
    padding: 0.1rem; 
}

.div_cabecera {
    background-color: #e7b00c;
    height: fit-content;
    padding: 0 1rem 0 1rem;
    display: grid;
    grid-template-columns: 45% 10% 45%;
    box-shadow: 0.3rem 0.2rem 0.3rem 0.1rem black;
    border-radius: 2rem;

}

.div_usuario {
    position: absolute;
    top: 0;
    right: 0;
    padding-right: 1rem;
}

.columna_cabecera {
    display: flex;
    align-items: center;
}

#cab_2 {
    justify-content: center;
}

#cab_3 {
    justify-content: end;
}

#titulo_login {
    text-decoration: underline;
}

.div_marcador_y_mensaje {
    font-family: 'electronic';
    font-size: 1.5rem;
    font-style: italic;
}

.div_marcador {
    background: black;
    width: 6rem;
    height: 4rem;
    color: red;
    text-align: center;
    font-size: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    box-shadow: inset -0.1rem -0.1rem 0.1rem 0.2rem rgb(239, 176, 117);
}

.div_mensaje {
    position: absolute;
    width: fit-content;
    top:0;
    right: 0;
    padding: 0.1rem 0.1rem;
    background-color: #de1b1b;
    font-size: 2rem;
    color: #fff;
    border-radius: 2rem;
    box-shadow: 0.2rem 0.4rem 1rem 0.5rem rgba(0, 0, 0, 0.3);
    transition: top 3s ease-out;
    border-width: 0.2rem;
    border-color: white;
    border-style: solid;
}
.div_burbuja {
    position: absolute;
    color: white;
    font-size: 2rem;
    text-shadow: 0.1rem 0.1rem 0.1rem black;
    transition: top 5s ease-out;
}

.burbuja_activa {
    top: 0;
}

.parpadeo {
    animation-name: parpadeo;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: 5;
}

@keyframes parpadeo {
    0% {
        opacity: 1.0;
        color: rgb(0, 0, 0)
    }

    25% {
        opacity: 1.0;
        color: rgb(248, 5, 5)
    }

    50% {
        opacity: 1.0;
        color: rgb(248, 5, 5)
    }

    100% {
        opacity: 1.0;
        color: rgb(0, 0, 0)
    }
}

.div_marcador#marcador_tiempo {
    width: 7rem;
}

.div_config {
    margin-left: 1rem;
}

#img_smile,
#img_config,
#img_undo,
#img_ayuda {
    height: 4rem;
    margin-top: auto;
    margin-bottom: auto;
}

.img_btn {
    cursor: pointer;
    margin-top: auto;
    margin-bottom: auto;
    transition: transform 0.3s ease;
}

.img_btn_desactivado {
    cursor: default;
    margin-top: auto;
    margin-bottom: auto;
}

.img_btn:hover,
.img_btn_pulsado {
    transform: translateY(0.1rem);
    box-shadow: inset 0.1rem 0.1rem 0.1rem 0.1rem #6f6363
}

.img_menu {
    display: inline-flex;
    cursor: pointer;
}

.div_contenedor {
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
    border-style: outset;
    border-width: 0.2rem;
    border-color: black;
    font-size: 0;
    display: none;
}

.div_casilla {
    display: inline-block;
    background-size: cover;
}

.div_casilla1 {
    background-image: url("../img/1.png");
}

.div_casilla2 {
    background-image: url("../img/2.png");
}

.div_casilla3 {
    background-image: url("../img/3.png");
}

.div_casilla4 {
    background-image: url("../img/4.png");
}

.div_casilla5 {
    background-image: url("../img/5.png");
}

.div_casilla6 {
    background-image: url("../img/6.png");
}

.div_casilla7 {
    background-image: url("../img/7.png");
}

.div_casilla8 {
    background-image: url("../img/8.png");
}

.div_casilla_bomba {
    background-image: url("../img/bomba.png");
}

.div_casilla_banderin {
    background-image: url("../img/banderin.png");
}

.div_casilla_explosion {
    background-image: url("../img/explosion.png");
}

.div_casilla_vacia {
    background-image: url("../img/vacia.png");

}

.div_casilla_oculta {
    background-image: url("../img/oculta.png");
    cursor: pointer;
}

.div_casilla_ayuda_vacia {
    background-image: url("../img/ayuda_vacia.png");
    cursor: pointer;

}

.div_casilla_ayuda_bomba {
    background-image: url("../img/ayuda_bomba.png");
    cursor: pointer;

}

.confeti {
    position: absolute;
    width: 0.3rem;
    height: 0.3rem;
    background-color: #f00;
    /* Color por defecto */
    border-radius: 50%;
}

.div_enhorabuena {
    font-size: 4rem;
    color: #9dff00;
    text-shadow: #f9c803 -0.2rem -0.2rem 3rem,
        black -0.2rem -0.1rem 0;
    font-weight: bold;
    margin-bottom: 2rem;

}

.div_datos_ganador {
    color: #f9c803
}

.div_enhoramala {
    font-size: 3rem;
    color: #e7b00c;
    text-shadow: #fbfafa -0.1rem -0.1rem 0;
    font-weight: bold;
    margin-bottom: 2rem;

}

.msg_fin {
    background: #79737370;
    width: fit-content;
    border-radius: 2rem;
    border: 0.4rem solid #3fd97b;
    padding: 1rem;
    margin: auto;
    font-size: 1.5rem;
}

.btn {
    font-size: 2rem;
    background-color: #e7b00c;
    border-radius: 2rem;
    cursor: pointer;
    border: solid 0.2rem black;
}

.btn:hover {
    background-color: #f7df95;
}

.entrada {
    border: none;
    font-size: 4rem;
    height: auto;
    outline: 0;
    background-color: #e7b00c;
    color: #0d01ff;
    border-radius: 5rem;
    box-shadow: 0.3rem 0.2rem 0.3rem 0.1rem black;
    margin: 0 0 1rem;
}

.entrada_datos {
    width: fit-content;
}

.entrada_numeros {
    width: 5rem;
    text-align: center;
}

.entrada_numeros:read-only {
    background-color: #c9c9c9;
}

.label_entrada {
    display: inline-block;
    width: 10rem;
    text-align: right;
    margin-right: 2rem;
}

.div_error_login,
label.error {
    font-weight: bold;
    color: red;
    font-size: 1.5rem;
    display: block;
    width: auto;
    text-shadow: 0 0 1rem rgb(209 243 21);
    margin-bottom: 1rem;
}

#vinculo_registro {
    text-shadow: none;
}

#boton_cancelar {
    display: none;
}

.div_error_login {
    display: none;
}

#id_menu {
    padding: 0;
    margin: 0;
    width: 40rem;
    background-color: #e7b00c;
    position: absolute;
    left: 0;
    top: 0;
    list-style: none;
    box-shadow: 0.3rem 0.2rem 0.3rem 0.1rem #353535;
    display: none;

}

#id_menu li {
    border-bottom: 0.1rem solid rgb(0, 0, 0);
    line-height: 3rem;
    padding-left: 2rem;
    text-decoration: none;
    font-size: 2.5rem;
    color: rgb(120, 121, 121);
    font-weight: bold;
    -webkit-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    transition: all 200ms linear;
}

#id_menu li img {
    vertical-align: middle;
    height: 3rem;
}

#id_menu li:hover {
    width: 41rem;
    background-color: #f0d072;
    box-shadow: 0.1rem 0.1rem 1rem 1rem #353535;
    transition: all 300ms linear;
    padding-left: 2rem;
    cursor: pointer;
    font-size: 3rem;
}

.div_info_menu {
    width: fit-content;
    font-family: sans-serif;
    font-style: italic;
    font-size: 1.5rem;
    line-height: 1.5rem;
    text-wrap: nowrap;
    padding-right: 1rem;
    background: #b7b7b782;
}

.div_info_menu span {
    color: red;
    font-weight: bold;
    align-items: end;
}

.Modal {
    height: 100%;
    width: 100%;
    display: none;
    position: fixed;
    z-index: 2;
}

.showModal {
    position: absolute;
    top: 50%;
    left: 30%;
    min-width: 70vw;
    transform: translate(-20%, -50%);
    border: 0.1rem solid black;
    text-align: center;
    padding-bottom: 1rem;
    box-shadow: 0.2rem 0.2rem 1rem 0.1rem black;
    background: #e5e5e5;
    border-radius: 1rem;
}

.showModal span {
    display: inline-block;
    margin: 1rem;
}

.showModal .btn,
.showModal div {
    font-size: 1.5rem;
}
.cuerpoModal {
    overflow: auto;
    max-height: 50vh;
    padding: 0rem 1rem;
    background: white;
}

.cabeceraModal {
    position: sticky;
    top: 0;
    background-color: #e7b00c;
    font-size: 1.5rem;
    height: 2rem;
    overflow: hidden;
    text-shadow: 0.1rem 0.1rem 0.1rem #f9f9f9;
    font-weight: bold;
    padding: 0rem 2rem;
    border-radius: 1rem 1rem 0 0;
}

.btnCerrarModal {
    height: 2rem;
    position: absolute;
    right: 0;
}

.btnCerrarModal:hover {
    transform: translate(0.1rem, 0.1rem);
    background: #f1c74b;
    cursor: pointer;
}

.tabla_ranking {
    border-collapse: collapse;
    margin: auto;
    font-size: 1.8rem;
}


.showModal td {
    border: none;
    border-top: 0.1rem solid rgb(208, 207, 207);

}

/**************************************************/
.showModal th {
    color: blue;
    padding: 1rem;
}

.showModal td:first-child {
    text-align: right;
    font-weight: bold;
}
.modal_espere {
    height: 100%;
    width: 99%;
    display: none;
    position: fixed;
    z-index: 2;
    background: rgb(67 67 67 / 70%);
}
.img_opcion {
    height: 3rem;
    margin-right: 1rem;
}
.espere {
    display: flex;
    vertical-align: middle;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-size: 1.5rem;
    color: white;
    text-shadow: 0.1rem 0.1rem black;
    flex-direction: column;
}

.espere img {
    height: 10rem;
}

.tabla_registro {
    margin: auto;
}

.tabla_registro td {
    padding-right: 1rem;
    vertical-align: top;
}

.tabla_registro td:first-child {
    text-align: right;
    font-weight: bolder;
}

.contrasena_debil {
    background: rgb(109, 245, 131);
    background: linear-gradient(90deg, rgba(109, 245, 131, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(248, 247, 249, 1) 100%);
    display: block;
}

.contrasena_media {
    background: rgb(109, 245, 131);
    background: linear-gradient(90deg, rgba(109, 245, 131, 1) 0%, rgba(246, 125, 11, 1) 50%, rgba(248, 247, 249, 1) 75%);
    display: block;
}

.contrasena_fuerte {
    background: rgb(109, 245, 131);
    background: linear-gradient(90deg, rgba(109, 245, 131, 1) 0%, rgba(246, 125, 11, 1) 50%, rgba(247, 2, 32, 1) 100%);
    display: block;

}

#img_info_registro {
    box-shadow: none;
    vertical-align: middle;
}
.modal_ayuda {
    display: none;

}
.modal_ayuda_contenido {
    text-align: left;
    padding-left: 1rem;
}