body,
html {
    margin: 0;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    box-sizing: border-box;
    position: relative;
    font-family: omnes-pro, sans-serif;
    font-weight: 400;
    font-style: normal;
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE10+/Edge */
    user-select: none;
    /* Standard */
    -webkit-user-drag: none;
    box-sizing: border-box;
}


/* Como su nombre lo indica, tiene el estilo para el elemento fondo de pantalla. */

#fondo-de-pantalla {
    background: url("../recursos/fondoDePantalla.png") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    position: absolute;
    width: 100vw;
    height: 100vh;
}


/* Este es el contenedor de nuestra web app */

#pagina-contenido {
    position: absolute;
    width: 100vw;
    height: 100vh;
}


/*      Inicio Sesion       */

#inicio-sesion {
    color: white;
    width: 500px;
    height: 500px;
}

#inicio-sesion #logo {
    position: absolute;
    left: 50%;
    top: 33%;
    width: 75%;
    transform: translate(-50%, -50%);
    max-width: calc(100% - 20px);
    max-height: calc(100% - 20px);
}

#inicio-sesion #campos {
    position: relative;
    top: 50%;
    width: 70%;
    height: 50%;
    max-height: 50%;
    box-sizing: border-box;
}

#inicio-sesion #campos input,
select {
    width: 100%;
    padding: 18px 10px;
    margin: 8px 0;
    display: inline-block;
    box-sizing: border-box;
    background: transparent;
    border: none;
    border-bottom: solid;
    border-bottom-color: white;
    color: #3a3a6c;
    font-size: 14px;
}

#inicio-sesion #boton-inicio-sesion {
    position: absolute;
    left: 82%;
    top: 66%;
    width: 20%;
    transform: translate(-50%, -50%);
}

#inicio-sesion-mensaje {
    position: absolute;
    width: 100%;
    height: 60px;
    bottom: 0;
}

#inicio-sesion-mensaje .mensaje {
    box-sizing: border-box;
    padding: 20px;
    background-color: #234180;
    color: white;
    text-align: center;
}


/*      fin deInicio Sesion       */


/*      Clases globales     */

.panel {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 25px;
    border-radius: 15px;
    box-sizing: border-box;
}

.sombra {
    -webkit-box-shadow: 0px 10px 28px 1px rgba(0, 0, 0, 0.125);
    -moz-box-shadow: 0px 10px 28px 1px rgba(0, 0, 0, 0.125);
    box-shadow: 0px 10px 28px 1px rgba(0, 0, 0, 0.125);
}

.rellenar {
    position: relative;
    width: 100%;
    height: 100%;
}

.rellenar-ancho {
    position: relative;
    width: 100%;
}

.rellenar-alto {
    position: relative;
    height: 100%;
}

.centrar {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
}

.centrar-horizontal {
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
    width: 20%;
}

.solo-celular {
    display: none;
}

.pantalla-negra {
    position: absolute;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0.0, 0.0, 0.0, 0.80);
    top: 0;
    left: 0;
}

.desactivado {
    display: none;
}

#contenido canvas {
    width: 100%;
}

.lista-juegos {
    margin: auto;
    overflow: auto;
}

.tarjeta-juego {
    position: relative;
    padding: 25px;
    border-radius: 15px;
    box-sizing: border-box;
    background-size: cover;
    background-position: center;
    width: 300px;
    height: 400px;
    float: left;
    margin: 10px;
    overflow: hidden;
    position: relative;
}

.tarjeta-juego div {
    box-sizing: border-box;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0.0, 0.0, 0.0, 0.5);
    color: white;
    width: 100%;
    height: 100%;
    padding: 25px;
    -webkit-transition: 0.15s;
    /* For Safari 3.1 to 6.0 */
    transition: 0.15s;
}

.tarjeta-juego span {
    position: absolute;
    font-size: 40px;
    color: white;
    bottom: calc(5% + 75px);
    text-align: center;
    width: calc(100% - 40px);
    left: 50%;
    transform: translate(-50%, 0%);
}

.tarjeta-juego div:hover {
    opacity: 1;
}

.tarjeta-juego button {
    position: absolute;
    bottom: 5%;
    left: 50%;
    width: calc(100% - 40px);
    height: 50px;
    transform: translate(-50%, 0%);
    border-radius: 6px;
    font-size: 20px;
    background-color: #ffffff;
    z-index: 3;
}

@media only screen and (max-width: 850px) {
    .solo-celular {
        display: block;
    }
    .desactivado-celular {
        display: none;
    }
    .tarjeta-juego {
        width: calc(50% - 25px);
    }
}

@media only screen and (max-width: 500px) {
    .tarjeta-juego {
        width: calc(100% - 25px);
    }
}

.valido {
    display: none;
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #28a745;
}

.invalido {
    display: none;
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #dc3545;
}

.ImgenRedonda {
    border-radius: .25rem!important;
    height: 33%;
    width: 100%;
}

#LoginConsulta {
    display: none;
}