body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000; /* Preto */
    color: #f5f5f5; /* Texto claro para contraste */
}

header {
    background-color: #FFFFE0; /* Amarelo claro */
    color: #000;
    padding: 20px 0;
    text-align: center;
}

.logo h1 {
    margin: 0;
    font-size: 2.5em;
}

.logo p {
    margin: 5px 0 0;
    font-style: italic;
}

main {
    padding: 20px;
    margin-bottom: 80px; /* Evita sobreposição com footer fixo */
}

.articles-section {
    background-color: #FFFFE0;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.articles-section h2 {
    margin-top: 0;
    text-align: center;
    color: #000;
}

#articlesList {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.article-item {
    background-color: #FFD700; /* Dourado para contraste */
    color: #000; /* Texto preto para boa leitura */
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.article-item h3 {
    margin: 0;
}

.article-item p {
    margin: 10px 0;
}

.article-item a {
    color: #0000EE; /* Azul padrão de links */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.article-item a:hover {
    color: #005f5f;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #FFFFE0;
    color: #000;
    position: fixed;
    width: 100%;
    bottom: 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}
