@import url(fondos.css);

/* DEL BAR O CABECERA */
.bar {
    height: 10vh;
    display: flex;
    align-items: center;
    padding: 0px 30px;
}

.logo {
    width: 170px;
}

/* DEL FORMULARIO */
.contenido {
    height: 90vh;
    display: flex;
    justify-content: space-around;
}

.card {
    background-color: rgba(0, 0, 0, 0.8);
    width: 50%;
    /*de si padre .contenido */
    height: 90%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    color: white;
    font-size: 20px;
}

.texto-1 {
    width: 70%;
    /*de su padre, .card */
    font-size: 37px;
    font-weight: bold;
    margin-top: 40px;
}

.input-form {
    width: 65%;
    padding: 24px 2.5%;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 5px;
    outline: 2px solid grey;
    /* border: 2px solid grey; */
    font-size: 20px;
    color: white;
}

/* .input-form:focus, */
.input-form:hover {
    /* border: 3px solid white;
    outline: none; */
    outline: 3px solid white;
}

.button {
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 20px;
    cursor: pointer;
    padding: 24px 2.5%;
    width: 70%;
    transition: 0.5s;
}

.boton-sesion {
    background-color: rgb(229, 9, 20);
}

.boton-sesion:focus,
.boton-sesion:hover {
    background-color: #c4151e;
    transform: scale(1.05);
}

.texto-2 {
    width: 70%;
    text-align: center;
    font-size: 16px;
}

.boton-codigo {
    background-color: #ffffff42;
}

.boton-codigo:focus,
.boton-codigo:hover {
    background-color: #ffffff29;
    transform: scale(1.05);
}

.renovar-password {
    color: white;
    font-size: 16px;
    text-decoration: none;
}

.renovar-password:hover {
    /* pass */
}

/* pass */
.texto-3 {
    width: 70%;
    text-align: left;
    color: grey;

}


@media screen and (max-width:640px) {
    * {
        background-color: black;
    }

    .logo {
        width: 120px;
        margin-left: 30px;
    }

    .card {
        width: 100%;
    }

    .texto-1 {
        font-size: 26px;
    }

    .input-form {
        padding: 2.5%;
        font-size: 15px;
    }

    .button {
        padding: 2.5%;
        font-size: 15px;
    }


    /* Ó, REMPLAZANDO TODOS ESTOS CAMBIOS INDIVIDUALES, POR:  */
    .card {
        width: 100%;
    }

    .texto-1,
    .boton-sesion,
    .texto-2,
    .boton-codigo,
    .opcion,
    .texto-3,
    .texto-4 {
        width: 90%;
        transform: scaleY(0.8);
    }

    .input-form {
        width: 82.5%;
        transform: scaleY(0.8);
    }
}

@media screen and (min-width:641px) and (max-width:899px) {
    .card {
        width: 100%;
        height: 200vh;
    }

    * {
        background-color: black;
    }

    .texto-1,
    .boton-sesion,
    .texto-2,
    .boton-codigo,
    .opcion,
    .texto-3,
    .texto-4 {
        width: 50%;
        transform: scaleY(0.8);
    }

    .input-form {
        width: 44%;
        transform: scaleY(0.8);
    }
}

/* Ó REMPLAZANDO LA CONDICIÓN: */
@media screen and (max-height:640px) {
    .card {
        width: 100%;
        height: 150vh;
    }

    * {
        background-color: black;
    }

    .logo {
        /* width: 120px; */
        height: auto;
        margin-left: 60px;
        height: 20vh;
    }

    .texto-1,
    .boton-sesion,
    .texto-2,
    .boton-codigo,
    .opcion,
    .texto-3,
    .texto-4 {
        width: 50%;
        transform: scaleY(0.8);
    }

    .input-form {
        width: 44%;
        transform: scaleY(0.8);
    }
}




/* CÓDIGO CHECKBOX DE JESUS
.input-check {
    cursor: pointer;
    border: 1px solid #888;
    border-radius: 2px;
    background-color: #020202;
    appearance: none;
    width: 19px;
    height: 19px;
    transition: 0.8s;
}

.input-check:hover {
    border: 1px solid white;
}

.input-check:checked {
    background-color: rgb(198, 198, 198);
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='red' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
} */