body {
    font-family: 'Georgia', serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* En-tête */
header {
    z-index: 1;
    background-color: darkgreen;
    padding: 10px 0;
    color: white;
    text-align: center;
    position: fixed;
    top: 0;
    width: 100%;
}

header img {
    width: 50px;
}

header h2 {
    margin: 0;
    font-size: 2.5em;
    font-family: 'Times New Roman', Times, serif;
}

/* Section principale */
main {
    display: flex;
    justify-content: space-between;
    top:110px;
    position: relative;
    padding: 20px;
    background-color: white;
    margin: 20px auto;
    max-width: 1200px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

main h2 {
    color: darkgreen;
    border-bottom: 2px solid darkgreen;
    padding-bottom: 10px;
}

main p {
    margin-bottom: 20px;
}

/* Articles */
article {
    margin-bottom: 20px;
    padding: 20px;
    border-bottom: 1px solid #ddd;
}

article h3 {
    color: darkgreen;
    margin-bottom: 10px;
    font-size: 1.5em;
}

article p {
    margin-bottom: 10px;
}

article a {
    color: darkgreen;
    text-decoration: none;
}

article a:hover {
    text-decoration: underline;
}

article img, article video {
    display: block;
    max-width: 50%;
    margin-left: auto;
    margin-right: auto;
    height: auto;
    margin-bottom: 10px;
}


/* Section principale */
main {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: white;
    margin-left: 0;
    max-width: 1200px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
@media screen and (max-width:1600px) {
    article p{
        width: 70%;
        text-align: left;
    }
}
@media screen and (max-width:1100px) {
    article p{
        width: 50%;
        text-align: left;
    }
    
}
@media screen and (max-width:869px) {
 article img, article video {
    
    max-width: 100%;
}
  article p{
        width:inherit;
        text-align: inherit;
    }
}

section #news {
    flex: 3;
    margin-right: 20px;
}

aside {
    position: fixed;
    top: 110px;
    right: 0;
    height: 100vh;
    flex: 1;
    background-color: #f9f9f9;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

aside h3 {
    color: darkgreen;
    border-bottom: 2px solid darkgreen;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

aside ul {
    list-style: none;
    padding: 0;
}

aside ul li {
    margin-bottom: 10px;
}

aside ul li a {
    color: darkgreen;
    text-decoration: none;
}

aside ul li a:hover {
    text-decoration: underline;
}

.ad {
    background-color: #e0e0e0;
    padding: 20px;
    width: 300px;
    text-align: center;
    margin-top: 20px;
}
@media screen and (min-width: 869px) {
.ads_promo{
    display: none;
}
}
/* Pied de page */
footer {
    position: fixed;
    background-color: darkgreen;
    color: white;
    text-align: center;
    padding: 10px 0;
    width: 100%;
    bottom: 0;
}

footer p {
    margin: 0;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
.rubrique{
    text-transform: capitalize;
}

