@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Flex:opsz,wght@6..144,1..1000&display=swap');

body{
    background-color: black;
    margin: 0;
    align-items: center;
    justify-content: center;
    display: flex;
}

.div-elementos{
    align-items: center;
    justify-content: center;
    display: flex;
}

.div-logo{
    margin-right: 300px;
}

.div-logo-texto{
    color: white;
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    font-size: 30px;
}

/* auth */

.auth-box-form-email-texto{
    color: white;
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    font-size: 30px;
    margin: 8px 0 4px 0;
    align-self: flex-start;
    width: 100%;
}

.auth-box-form-contraseña-texto{
    color: white;
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    font-size: 30px;
    margin: 12px 0 4px 0;
    align-self: flex-start;
    width: 100%;
}

input{
    height: 40px;
    width: 500px;
    background-color: rgb(15, 15, 15);
    border-radius: 10px;
    border: 1px solid rgb(41, 41, 41);
    transition: border-color .15s ease;
    color: white;
    margin: 0 0 2px 0;
    align-self: flex-start;
}

input::placeholder{
    color: rgb(99, 99, 99);
    padding-left: 10px;
}

input:focus{
    border: solid 2px violet;
}

#loginBox{
    display: none;
}

.auth{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.auth-box-titulo{
    color: rgb(125, 3, 248);
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    font-size: 50px;
    margin: 0 0 10px 0;
}

.boton-auth-cuenta{
    color: white;
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    background: none;
    font-size: 20px;
    align-items: center;
    justify-content: center;
    display: flex;
    border: none;
    margin-top: 12px;
    cursor: pointer;
    transition: .3s;
}

.boton-auth-cuenta:hover{
    color: violet;
}

/* register box*/

.register-box{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 100px;
    flex-direction: column;
    width: 600px;
    height: 600px;
    background-color: rgba(39, 39, 39, 0.404);
    border: 2px;
    border-style: solid;
    border-color: rgb(44, 44, 44);
    border-radius: 20px;
}

.auth-submit-button{
    text-decoration: none;
    color: white;
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    background-color: rgb(125, 3, 248);
    font-size: 20px;
    height: 50px;
    width: 140px;
    align-items: center;
    justify-content: center;
    display: flex;
    border-radius: 10px;
    transition: .3s;
    cursor: pointer;
    border: none;
    margin-top: 12px;
}

.enseñar-contraseña{
    cursor: pointer;
    background: none;
    border: none;
    display: inline;
}

.auth-submit-button:hover{
    background-color: violet;
}

.boton-auth-google{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    gap: 8px;
    background-color: black;
    color: white;
    border: 1px solid rgb(41, 41, 41);
    cursor: pointer;
    margin-top: 8px;
    border-radius: 8px;
    font-family: 'Google Sans Flex';
    font-size: 14px;
    transition: border-color .15s ease, background .15s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.boton-auth-google:hover{
    border-color: rgb(125, 3, 248);
    background: rgb(20, 20, 20);
}


/* login box*/

.login-box{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 100px;
    flex-direction: column;
    width: 600px;
    height: 600px;
    background-color: rgba(39, 39, 39, 0.404);
    border: 2px;
    border-style: solid;
    border-color: rgb(44, 44, 44);
    border-radius: 20px;
}

/* username box */

#usuarioBox{
    display: none;
}

#usuarioBoxAtras{
    background: none;
    border: none;
    color: white;
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    font-size: 15px;
    cursor: pointer;
    transition: .3s;
    align-self: flex-start;
    padding: 0;
    margin-bottom: 0;
}

#usuarioBoxAtras:hover{
    color: violet;
}

.eleccion-usuario{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 100px;
    flex-direction: column;
    width: 600px;
    height: 600px;
    background-color: rgba(39, 39, 39, 0.404);
    border: 2px;
    border-style: solid;
    border-color: rgb(44, 44, 44);
    border-radius: 20px;
}

.eleccion-usuario-titulo{
    color: white;
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    font-size: 30px;
    margin: 0 0 8px 0;
}

.aceptar-terminos-label{
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    font-size: 10px;
    color: white;
    align-items: center;
    gap: 8px;
    display: flex;
    cursor: pointer;
    margin-top: 6px;
}

.aceptar-terminos-input{
    height: 30px;
    width: auto;
    display: flex;
    cursor: pointer;
}

.eleccion-usuario-errores{
    color: red;
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    font-size: 10px;
}

/* MEDIA QUERIES */

/* Media queries de moviles */

@media (max-width: 600px){

body{
    padding: 20px 0;
    min-height: 100vh;
    box-sizing: border-box;
}

.div-elementos{
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
    flex-direction: column;
}

.div-logo{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 16px 0;
    width: 100%;
}

.div-logo img{
    height: 80px !important;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.div-logo-texto{
    display: none;
}

.div-auth{
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

input{
    width: 100%;
    max-width: 100%;
    height: 44px;
    box-sizing: border-box;
    padding: 0 12px;
}

input::placeholder{
    padding-left: 0;
}

.auth-box-form{
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.auth-box-titulo{
    font-size: 32px;
    margin: 16px 0 8px 0;
}

.auth-box-form-email-texto,
.auth-box-form-contraseña-texto,
.eleccion-usuario-titulo{
    font-size: 18px;
    margin: 8px 0 4px 0;
}

.register-box{
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: auto;
    margin-top: 0;
    padding: 20px 12px;
    box-sizing: border-box;
    border-radius: 16px;
}

.login-box{
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: auto;
    margin-top: 0;
    padding: 20px 12px;
    box-sizing: border-box;
    border-radius: 16px;
}

#usuarioBox{
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: auto;
    margin-top: 0;
    padding: 20px 12px;
    box-sizing: border-box;
    border-radius: 16px;
}

.eleccion-usuario-form{
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.auth-submit-button{
    width: 100%;
    max-width: 100%;
    height: 48px;
    font-size: 18px;
    margin-top: 16px;
    align-self: stretch;
}

.boton-auth-google{
    width: 100%;
    justify-content: center;
    margin-top: 12px;
    padding: 10px 12px;
    font-size: 14px;
    box-sizing: border-box;
}

.aceptar-terminos-label{
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    align-items: flex-start;
    font-size: 11px;
    line-height: 1.4;
    margin-top: 12px;
}

.aceptar-terminos-input{
    flex-shrink: 0;
    margin-top: 2px;
}

.enseñar-contraseña{
    align-self: flex-end;
    margin-top: -36px;
    margin-right: 8px;
    position: relative;
    z-index: 2;
}

.boton-auth-cuenta{
    font-size: 16px;
    margin-top: 16px;
}

.h-captcha{
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    transform: scale(0.9);
    transform-origin: left center;
    margin-top: 8px;
}

}

/* media queries de tablet */

@media (max-width: 1024px){

.div-elementos{
    flex-direction: column;
    padding: 30px 16px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.div-logo{
    align-items: center;
    justify-content: center;
    display: flex;
    margin: 0 0 24px 0;
    flex-direction: column;
}

.div-logo img{
    height: 140px !important;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.div-logo-texto{
    display: none;
}

.div-auth{
    align-items: center;
    justify-content: center;
    display: flex;
    width: 100%;
    max-width: 100%;
}

.register-box,
.login-box,
#usuarioBox{
    width: 100%;
    max-width: 520px;
    height: auto;
    min-height: auto;
    margin-top: 0;
    padding: 30px 24px;
    box-sizing: border-box;
}

input{
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.auth-box-form,
.eleccion-usuario-form{
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.auth-box-titulo{
    font-size: 40px;
}

.auth-box-form-email-texto,
.auth-box-form-contraseña-texto,
.eleccion-usuario-titulo{
    font-size: 22px;
}

}