/* Style général */
body {
    font-family: 'Orbitron', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: white;
}

/* En-tête */
header {
    background-color: #1E1E1E;
    padding: 20px;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 28px;
}

header p {
    font-size: 16px;
    color: #bbb;
}

/* Conteneur des articles */
.article-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 50px 20px;
}

/* Article */
.article {
    background-color: #252525;
    border-radius: 15px;
    overflow: hidden;
    width: 30%;
    min-width: 280px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.article-img {
    width: 100%;
    height: auto;
    max-width: 100%; /* Évite que l'image dépasse */
    display: block; /* Permet le centrage */
    margin: 0 auto; /* Centre horizontalement */
}


.article-content {
    padding: 20px;
}

.article-content h2 {
    font-size: 18px;
    color: orange;
}

.article-content .resume {
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    color: #ddd;
    line-height: 1.5;
}

/* Pied de l'article */
.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.read-more {
    color: orange;
    text-decoration: none;
    font-weight: bold;
}

.publish-date {
    font-size: 12px;
    color: #bbb;
}

/* Pied de page */
footer {
    background-color: #1E1E1E;
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
}

