/* Règles génériques */
html, body {
    font-family: Arial, sans-serif;
    font-size: 12pt;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: white;
}

/* Entête */
header {
    height: 40px;
    width: 100%;
    background-color: black;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
}

header h1 {
    margin: 0;
    font-size: 1.5em;
}

nav {
    display: inline-block;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline-block;
    width: 150px;
    text-align: center;
    line-height: 40px; /* Centrage vertical */
}

nav ul li a {
    color: white;
    text-decoration: none;
    display: block;
}

nav ul li a:hover {
    background-color: darkgray;
}

/* Corps */
main {
    display: flex;
    margin: 20px;
    height: calc(100% - 80px); /* Ajuste selon la taille de l'entête et du footer */
}

article {
    width: 70%;
    margin-right: 10px;
    padding: 10px;
}

article h2 {
    text-transform: uppercase;
}

article img {
    float: left;
    width: 30%;
    margin-right: 10px;
}

.extrait {
    text-align: justify;
}

.en-savoir-plus {
    color: red;
    text-decoration: none;
    text-align: right;
    display: block;
}

.en-savoir-plus:hover {
    text-decoration: underline;
}

aside {
    width: 30%;
    margin-left: 10px;
    padding: 10px;
    background-color: lightgray;
    border-radius: 8px;
    margin-top: 20px;
}

aside h3 {
    margin: 0;
}

aside ul {
    list-style: none;
    padding: 0;
}

aside ul li {
    margin: 5px 0;
    color: black;
}

aside ul li a {
    color: black;
    text-decoration: none;
}

aside ul li a:hover {
    text-decoration: underline;
}

/* Pied de page */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: black;
    color: white;
    padding: 10px;
    box-shadow: 0 -5px 5px rgba(0, 0, 0, 0.1);
}

footer .partenaires {
    float: left;
}

footer .partenaires ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer .partenaires ul li {
    margin: 5px 0;
}

footer .partenaires ul li a {
    color: lightgray;
    text-decoration: none;
}

footer .partenaires ul li a:hover {
    text-decoration: underline;
}

footer .contact {
    position: absolute;
    bottom: 10px;
    right: 10px;
    text-align: right;
}
