* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Afacad Flux", sans-serif !important;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
    font-variation-settings: "slnt" 0;
    background-color: #f4f4f4;
    padding: 0; 
    margin: 20px;
}



/* Estilos para encabezados */
h1 {
    color: #333;
    text-align: center;
}

/* Estilo para el logo con animación */
.logo {
    display: block;
    width: 150px;
    height: auto;
    animation: zoom 5s infinite;
}

/* Animación de zoom in y zoom out */
@keyframes zoom {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}
/* contenedor de CBU*/
.form_contender {
    background-color: rgba(255, 255, 255, 0.9);
    border: 2px solid #af4c4c;
    border-radius: 10px;
    padding: 20px;
    max-width: 600px;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
/* Contenedor del formulario */
.form-container {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 70%;
    min-height: 830px;
    margin: 20px auto;
    border: 2px solid rgba(210, 2, 2, 0.595);
    display: flex;
    flex-direction: column;
    align-items: center;
    
    border-radius: 15px;
}
.form-container-profer {
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 15px;
    width: 100vh;
    gap: 40px;
}

/* Formulario izquierdo */
.form-container-izq,
.form-container-der {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 48%; /* Ambos formularios ocupan el 48% del ancho total */
    min-height: 830px;
    border: 2px solid rgba(210, 2, 2, 0.595);
    display: flex;
    flex-direction: column;
    align-items: center;
}



/* Estilos para el formulario */
form {

    width: 100%;
}

/* Estilos para etiquetas */
label {
    display: block;
    margin-bottom: 5px;
    color: #000;
    font-weight: bold;
}

#presentacion {
    width: 376px;
    height: 116px;
    resize: none;
  }
  

/* Estilos para campos de entrada */
input[type="email"],
input[type="password"],
input[type="text"],
select,
input[type="number"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Contenedor de botones */
.button-container {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
}

/* Estilos para botones */
.submit_button,
.back_button {
    width: 120px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.submit_button {
    background-color: rgb(0, 145, 111);
    color: white;
}

.submit_button:hover {
    background-color: rgba(0, 181, 139, 0.723);
}

.back_button {
    background-color: rgb(145, 0, 0);
    color: white;
}

.back_button:hover {
    background-color: rgba(181, 0, 0, 0.723);
}

/* Estilos para enlaces */
a {
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    color: #000;
}

a:hover {
    color: red;
    text-decoration: underline;
}

/* Estilos para el footer */
.footer {
    background-color: rgb(0, 0, 0);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px;
    width: 100%; 
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 10px 0;
}

.footer-link {
    color: white;
    font-weight: bolder;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #ff0000;
}

.footer-social {
    display: flex;
    gap: 50px;
    margin: 10px 0;
}

.footer-icon {
    background-color: white;
    text-decoration: none;
    padding: 10px;
    border: 1px solid white;
    border-radius: 50%;
    transition: background-color 0.3s, color 0.3s;
}

.footer-icon:hover {
    background-color: white;
    color: black;
    box-shadow: 0 4px 8px 1px rgb(218, 2, 2);
}

.footer-icon img {
    width: 24px;
    height: 24px;
    display: block;
}

/* Desde 390px hasta 768px (móviles y tabletas pequeñas) */
@media (min-width: 390px) and (max-width: 768px) {
    /* Form container principal */
    .form-container {
        max-width: none;
        min-height: none;  
        padding: none;
        flex-direction: none;  
        align-items: normal;
    }

    /* Form container con dos secciones */
    .form-container-profer {
        max-width: 100%;  
        flex-direction: column; 
        gap: 10px;
    }

    /* Formularios izquierdo y derecho */
    .form-container-izq,
    .form-container-der {
        width: 100%;  
        min-height: auto;
        padding: 12px;
        margin-bottom: 10px;  
    }

    /* Ajustes del logo */
    .logo {
       display: none;
    }

    /* Ajustes del textarea */
    #presentacion {
        width: 100%;
        height: 150px;
    }

    /* Ajustes de botones */
    .submit_button,
    .back_button {
        width: 90%;
        padding: 12px;
        font-size: 14px;
        margin-bottom: 10px;
    }

    /* Ajuste de inputs */
    input[type="email"],
    input[type="password"],
    input[type="text"],
    select,
    input[type="number"] {
        width: 100%;
        padding: 12px;
        margin-bottom: 15px;
        font-size: 14px;
    }

    /* Ajustar el contenedor de botones */
    .button-container {
        flex-direction: column;
        align-items: center;
    }

    /* Ajustar etiquetas */
    label {
        font-size: 14px;
        margin-bottom: 6px;
    }
}


/* Desde 769px hasta 1024px (tabletas en modo vertical) */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Form container principal */
    .form-container {
        max-width: 90%;
        min-height: auto;
        padding: 20px;
    }

    /* Form container con dos secciones */
    .form-container-profer {
        width: 100%; 
        flex-direction: row;  
        gap: 20px; 
        align-items: flex-start;
    }

    /* Formularios izquierdo y derecho */
    .form-container-izq,
    .form-container-der {
        width: 48%;  
        min-height: auto;
        padding: 20px;
    }

    /* Ajustes del logo */
    .logo {
        width: 130px; 
        height: auto;
    }

    /* Ajustes del textarea */
    #presentacion {
        width: 100%;
        height: 160px;
    }

    /* Ajustes de botones */
    .submit_button,
    .back_button {
        width: 100%;
        padding: 12px;
        font-size: 15px;
        margin-top: 10px;
    }

    /* Ajuste de inputs */
    input[type="email"],
    input[type="password"],
    input[type="text"],
    select,
    input[type="number"] {
        width: 100%;
        padding: 12px;
        margin-bottom: 10px;
        font-size: 14px;
    }

    /* Ajustar el contenedor de botones */
    .button-container {
        flex-direction: column;
        align-items: center;
    }

    /* Ajustar etiquetas */
    label {
        font-size: 15px;
        margin-bottom: 8px;
    }
}








