/* Estilos globales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/roboto/v29/KFOmCnqEu92Fr1Mu4mxK.woff2') format('woff2');
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #000000;
}

a {
    color: #003366;
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.4s ease; 
}

a:hover {
    color: #E24B4B;
    font-weight: bold;
}

/* Barra superior */
.top-line {
    width: 100%;
    border-bottom: 1px solid #ccc;
    padding: 5px 20px;
    display: flex;
    justify-content: flex-end;
    background-color: #f8f9fa;
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.1);
}

.top-line .links a {
    display: block;
    margin-bottom: 5px;
}

/* Contenedores principales */
.container, .container-document {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    width: 90%;
    margin:auto;
    max-width: 1140px;
    min-height: 400px;
}

.container-document {
    margin-top: 30px;
    border: 0 solid red;
}

/* Sección de información */
.info-section {
    flex: 1 1 85%;
    padding: 20px;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-section .text-and-image {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
}

.info-section .text-and-image img,
.info-section img {
    max-width: 300px;
    margin-bottom: 25px;
    margin-right: auto;
}

.info-section img.no-margin {
    margin-bottom: 0;
    margin-right: 5px;
    vertical-align: middle; 
}

.info-section h2,
.info-section h3 {
    color: #003A5D;
    margin-bottom: 15px;
}

.info-section p,
.info-section p.margin {
    font-size: 0.95em;
    line-height: 1.7;
}

/* Sección de formulario */
.form-section {
    flex: 1 1 40%;
    padding: 40px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: -3px 9px 10px rgba(0, 0, 0, 0.1);
}

.form-section h1 {
    font-size: 1.5em;
    color: #003366;
    margin-bottom: 20px;
}

.form-section form {
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-section label {
    font-size: 0.9em;
    margin-bottom: 5px;
    color: #333333;
}

.form-section input {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 0.9em;
    width: 100%;
}

.form-section button {
    padding: 12px;
    background-color: #003A5D;
    color: #ffffff;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 700;
    width: 220px;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.form-section button:hover {
    background-color: #E24B4B;
    transform: scale(1.05);
}

.form-section .links {
    margin-top: 15px;
    text-align: center;
}

.form-section .links a {
    display: block;
    margin-bottom: 5px;
}

/* Footer */
footer {
    text-align: center;
    font-size: 0.8em;
    color: #003A5D;
    width: 100%;
    padding: 10px;
    background-color: #f8f9fa;
    margin-top: auto;
    position: relative;
}
