/* Establece el box-sizing para facilitar el diseño */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Estilos básicos para el cuerpo de la página */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    text-align: center; /* Centra el contenido principal */
}

/* Estilos del encabezado */
header {
    background: #2c3e50; /* Azul oscuro */
    color: #ffffff;
    padding: 20px 0;
    margin-bottom: 20px;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
}

header .subtitle {
    margin-top: 5px;
    font-size: 1.2em;
    font-style: italic;
}

/* Estilos del contenido principal (main) */
main {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Estilos para las secciones */
section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

section:last-child {
    border-bottom: none;
}

section h2, section h3 {
    color: #3498db; /* Azul brillante */
}

/* Estilos para los enlaces */
a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Estilos del pie de página */
footer {
    background: #333;
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
    font-size: 0.9em;
}