/* Importa las fuentes desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900&display=swap');

/* Estilos generales de la página */
body {
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

/* Contenedor principal con sombra unificada */
.contenedor {
    display: flex;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra para ambos elementos */
    border-radius: 10px; /* Bordes redondeados */
    overflow: hidden; /* Mantiene los bordes redondeados */
}

/* Contenedor del formulario */
.form-container {
    padding: 50px;
    border-radius: 0 10px 10px 0; /* Bordes redondeados solo en las esquinas derechas */
    box-sizing: border-box;
    width: 400px;
    height: 650px;
}

/* Contenedor de la imagen */
.letrero {
    position: relative;
    overflow: hidden;
    width: 400px;
    height: 650px;
}

.letrero img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover; /* Imagen cubre todo el div sin deformarse */
}

.form-container h1 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #1e1c1c;
}

/* Estilos de los labels e inputs del formulario */
.form-container label {
    display: block;
    margin-bottom: 5px;
    color: #1d1c1c;
}

.password {
    text-align: center;
    margin-top: 0px;
    margin-bottom: 30px;
    font-size: small;
}

.cuenta {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 30px;
}

.terminos {
    text-align: center;
    font-size: small;
    line-height: 1;
    color: rgb(98, 98, 98);
}

.form-container input {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 15px;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #000000;
    border-radius: 0px;
}

/* Sin contorno al enfocar el input */
input:focus {
    outline: none;
}

/* Estilos del botón de envío */
.form-container button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: #ff7f00;
    color: #fff6f6;
    font-size: 16px;
    cursor: pointer;
    margin-top: 30px;
    margin-bottom: 20px;
}

.form-container button:hover {
    background: #e66a00;
}

.form-container a {
    color: #626262;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

.cuenta a {
    color: #ff7f00;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

.form-container a:hover {
    text-decoration: underline;
}

.hidden {
    display: none;
}

.alerta{
    margin-top: 0;  /* Eliminar el espacio superior */
    margin-bottom: 0; /* Eliminar el espacio inferior */
    color: #ff7f00; /* Cambiar el color del texto de la alerta */
    font-size: smaller;
}

.apis {
    display: flex;              /* Usar flexbox para alinear elementos */
    justify-content: center;    /* Centra los elementos horizontalmente */
    gap: 20px;                 /* Espacio entre las imágenes (ajusta el valor según necesites) */
    align-items: center;       /* Alinea verticalmente si es necesario */
}

.imgapi img {
    width: 35px;           /* Asegura que las imágenes no excedan el tamaño del contenedor */
    height: auto;              /* Mantiene la proporción de las imágenes */
}



/* Media Queries para diferentes tamaños de pantalla */
@media screen and (max-width: 1200px) {
    .letrero img {
        height: auto;
        object-fit: cover;
        transform: translate(-50%, -50%);
        position: absolute;
        width: 100%;
        height: 100%;
    }
}

@media screen and (max-width: 992px) {
    .letrero img {
        height: auto;
        object-fit: cover;
        transform: translate(-50%, -50%);
        position: absolute;
        width: 100%;
        height: 100%;
    }
}

@media screen and (max-width: 768px) {
    /* Oculta la imagen en pantallas pequeñas */
    .letrero {
        display: none;
    }

    .contenedor {
        box-shadow: none;
    }
}
