/* Reset básico */
body, h1, h2, h3, p, ul, li, table {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilo general */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: white;
    color: #333;
    padding: 20px;
}

/* Encabezado */
header {
    text-align: center;
    background-color: green;
    color: white;
    padding: 20px 0;
    margin-bottom: 20px;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
}

header nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

header nav a:hover {
    text-decoration: underline;
}

/* Secciones principales */
main section {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Noticias */
article h3 {
    font-size: 1.5rem;
    color: #007bff;
    margin-bottom: 10px;
}

article p {
    margin-bottom: 20px;
}

#destacado p {
    margin-bottom: 20px;
}

#destacado img {
    float: left; 
    margin: 15px;
    width: 300px;
    height: 160px;
}

#noticias img {
    float: left; 
    margin: 15px;
    width: 200px;
    height: 142px;
}

#noticias div {
    display: inline-block; 
    width: 1000px
}

/* Tablas */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

table th, table td {
    text-align: left;
    padding: 10px;
    border: 1px solid #ddd;
}

table th {
    background-color: #007bff;
    color: white;
}

/* Enlaces */
a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Pie de página */
footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
}