@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');
*{
    margin: 0;
    padding: 0;
    font-family: 'poppins',sans-serif;
}
section{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    
    background: url('../../photos/autozara fondo3.jpg')no-repeat;
    background-position: center;
    background-size: cover;
}
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
.form-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.logo {
    width: 40%;
    max-width: 100%; /* Hacer la imagen responsiva */
    padding-left: 20px; /* Agregar espacio superior para separar la imagen del formulario */
    padding-top: 0px;
}
.form-box{
    /* position: relative; */
    width: 400px;
    height: 200px;
    background: transparent;
    border: 2px solid rgba(122, 122, 122, 0.716);
    border-radius: 20px;
    backdrop-filter: blur(25px);
    display: grid;
    /*justify-content: center;
    align-items: center;*/
    place-items: center;

}
h2{
    font-size: 3em;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.368);
    border-radius: 10px;
    text-align: center;
}
.inputbox{
    position: relative;
    margin: 30px 0;
    width: 350px;
    border-bottom: 2px solid #fff;
}
.inputbox label{
    position: absolute;
    top: 50%;
    width: inherit;
    text-align: center;
    transform: translateY(-50%);
    /* background-color: rgba(0, 0, 0, 0.455);
    border-radius: 5px; */
    /* -webkit-text-stroke: .5px rgba(0, 0, 0, 0.536); */
    color: #fff;
    font-size: 1.5em;
    pointer-events: none;
    transition: .5s;
}
/* Cambiar el color del botón "mostrar contraseña" en algunos navegadores */
input[type="password"]::-ms-reveal,
input[type="password"]::-webkit-reveal {
    color: #ff0000 !important;
    /* Cambia aquí el color deseado */
}

input:focus ~ label,
input:not(:placeholder-shown) ~ label {
    top: -10px;
}
.inputbox input {
    width: 100%;
    height: 50px;
    background: transparent;
    border: none;
    outline: none;
    text-align: center;
    /* text-align: center;  */
    font-size: 1.5em;
    padding:0 35px 0 5px;
    color: #fff;
}
.inputbox ion-icon{
    position: absolute;
    right: 8px;
    color: #fff;
    font-size: 1.2em;
    top: 20px;
}
.forget{
    margin: -15px 0 15px ;
    font-size: .9em;
    color: #fff;
    display: flex;
    justify-content: space-between;  
}
.forget label input{
    margin-right: 3px;
    
}
.forget label a{
    color: #fff;
    text-decoration: none;
}
.forget label a:hover{
    text-decoration: underline;
}
button{
    width: 100%;
    height: 50px;
    border-radius: 40px;
    background: #fff;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1.5em;
    font-weight: 600;
}
.register{
    font-size: 1em;
    color: #fff;
    text-align: center;
    margin: 25px 0 10px;
}
.register p a{
    text-decoration: none;
    color: #fff;
    font-weight: 600;
}
.register p a:hover{
    text-decoration: underline;
}
@media only screen and (max-width: 600px) {
    /* Estilos específicos para dispositivos con un ancho de pantalla de 768px o menos */
    /* img {
        width: 80%;
        padding-left: 10%;
    } */

    .form-box {
        width: 90%; /* Hacer el formulario más ancho en pantallas más pequeñas */
        max-width: 100%; /* Eliminar el ancho máximo en pantallas más pequeñas */
    }

    .inputbox {
        width: -webkit-fill-available; /* Hacer el ancho responsivo en pantallas más pequeñas */
        max-width: 240px; /* Establecer un ancho máximo en pantallas más pequeñas */
    }
    .form-container {
        flex-direction: column;
    }
    .logo {
        min-width: 200px;
        width: 70%;
        max-width: 400px; /* Hacer la imagen responsiva */
        padding-top: 20px;
        padding-left: 0px; /* Agregar espacio superior para separar la imagen del formulario */
    }
}

@media only screen and (min-width: 601px) and (max-width: 1024px) {
    /* Estilos específicos para dispositivos con un ancho de pantalla de 768px o menos */
    /* img {
        width: 80%;
        padding-left: 10%;
    } */

    .form-box {
        width: 90%; /* Hacer el formulario más ancho en pantallas más pequeñas */
        max-width: 400px;
         /* Eliminar el ancho máximo en pantallas más pequeñas */
    }

    .inputbox {
        width: -webkit-fill-available; /* Hacer el ancho responsivo en pantallas más pequeñas */
        max-width: 240px; /* Establecer un ancho máximo en pantallas más pequeñas */
    }
    .form-container {
        flex-direction: row;
        padding: 20px;
    }
    .logo {
        min-width: 200px;
        width: 70%;
        max-width: 100%; /* Hacer la imagen responsiva */
        padding-top: 0px;
        padding-left: 20px; /* Agregar espacio superior para separar la imagen del formulario */
    }
}
