/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	text-align: left;
	font: 12px Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: #061C37;
	background: #1E4297;
	background-repeat:repeat-x;
}

/* Contenedor principal */
.container {
    max-width: 940px;
    margin: 0 auto;
    background-color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Imagen de cabecera */
.header-image {
    width: 100%;
    height: 430px;
    object-fit: cover;
    display: block;
}

/* Navegación */
.navigation {
    background-color: #1a365d;
    padding: 10px 0;
}

.navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 5px;
    padding: 0 10px;
    margin: 0;
    white-space: nowrap;
    overflow-x: auto;
}

.navigation li {
    margin: 0;
}

.navigation a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 11px;
    padding: 6px 8px;
    border-radius: 3px;
    transition: background-color 0.3s;
    display: block;
    white-space: nowrap;
}

.navigation a:hover,
.navigation a.active {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Contenido principal */
.content {
    padding: 30px;
}

.content h1 {
    text-align: center;
    color: #009900;
    font-size: 24px;
    margin-bottom: 10px;
    text-decoration: underline;
}

.content h2 {
    text-align: center;
    color: #0000ff;
    font-size: 20px;
    margin-bottom: 30px;
    text-decoration: underline;
}

.content h3 {
    font-weight: bold;
    text-decoration: underline;
    font-style: italic;
    margin: 25px 0 15px 0;
    color: #333;
}

.content p {
    text-align: justify;
    margin-bottom: 15px;
    line-height: 1.6;
}

.content ul {
    margin: 15px 0;
    padding-left: 30px;
}

.content li {
    margin-bottom: 8px;
}

.contact-info {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin-top: 30px;
}

.contact-info p {
    text-align: left;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        margin: 0 10px;
    }
    
    .navigation ul {
        justify-content: flex-start;
        padding: 0 5px;
        gap: 2px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .navigation a {
        font-size: 10px;
        padding: 5px 6px;
        min-width: max-content;
    }
    
    .content {
        padding: 20px;
    }
    
    .content h1 {
        font-size: 20px;
    }
    
    .content h2 {
        font-size: 18px;
    }
}
