/* Restablecer márgenes y rellenos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilos generales */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

body {
    font: 15px/18px 'Poppins', sans-serif;
    color: #333;
    background: linear-gradient(to bottom, #ffffff, #f0f4f8);
    /* Fondo degradado en azul claro */
    background-size: cover;
    background-attachment: fixed;
    padding-top: 100px;
    /* Ajusta este valor según la altura del menú */
    flex-grow: 1;
}

/* Subtítulo */
.subtitulo {
    font-size: 1.8em;
    color: #004494;
    text-align: center;
    margin-bottom: 15px;
    margin-top: 30px;
}


/* Contenedor principal */
.contenedor {
    width: 1050px;
    color: #333;
    padding: 20px 40px;
    margin: 20px auto;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

/* Título */
.contenedor .titulo {
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    font-size: 2.5em;
    text-align: center;
    color: #004494;
    margin-bottom: 20px;
}

/* Estilos para tablas */
table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    border-radius: 5px;
}

table th, table td {
    padding: 15px;
    text-align: center;
    border: 1px solid #004494;
}

table th {
    background-color: #004494;
    color: #FFFFFF;
    font-weight: bold;
}

table td {
    background-color: #f9f9f9;
}

/* Texto general */
.TEXTO1, .TEXTO2, .TEXTO4 {
    font-family: 'Poppins', sans-serif;
    color: #333;
    font-size: 1.2em;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 20px;
}

.TEXTO3 {
    text-align: center;
    line-height: 100%;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    font-size: 18px;
    color: #ffffff;
}

.TEXTO6 {
    text-align: center;
    line-height: 100%;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    font-size: 20px;
    color: #004494;
    padding: 20px;
}

/* Footer */
footer {
    background-color: #1a237e;
    color: white;
    padding: 40px 20px;
    text-align: center;
    margin-top: 40px;
}

footer p, h2 {
    font-size: 1em;
}

footer a {
    color: #ffffff; /* Azul de Facebook */
    text-decoration: none;
    margin-left: 10px;
}

footer a i {
    font-size: 100px; /* Tamaño del icono */
}

footer a:hover {
    color: #ffffff; /* Color al pasar el ratón */
}