/* Styles pour la page Actualités */
header{
    display: flex;
    justify-content: center;
    align-items: end;
    height: 700px;
    padding: 0;
    margin: 0;
    margin-top: 65px;
    background-image: 
    linear-gradient(to bottom, rgba(243, 239, 232, 0.4) 70%, var(--main-color) 100%), 
    url(../img/fondactualites.png);
    background-size: cover;
    background-position: center;
    padding-bottom: 100px;
    flex-wrap: wrap;
    flex-direction: column-reverse;
    flex-wrap: wrap;
    align-content: center;
}
header h1{
    display: flex;
    flex-direction: column;
    align-items: center;
    color : var(--secondary-color);
    font-size: 2.8rem;
    font-weight: bold;
    position: absolute;
    top: 70%;
    left: 30%;
    font-family: var(--title-font);
     
}
main h1{
    margin-top: 5%;
    padding: 1%;
    background-color: rgba(249, 248, 253, 0.4);
    font-size: 1.8rem;
    font-family: var(--title-font);
    color: var(--green-color);
    font-weight: 800;
}
section{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2%;
    padding: 5% 15%;
    
}
section img{
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
article{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2%;
      
 }
article:hover img{
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
article p{
  
    font-size: 1.3rem;
    color: var(--secondary-color);
    line-height: 1;
    font-family: var(--text-font);
    padding: 3%;
    margin-top: 2%;
   
}

footer a {
    text-decoration: none;
    color: var(--secondary-color);
}
.flag {
    font-size: 30px;
    border: none;
    background: none;
    cursor: pointer;
}
.burger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #3a2c1a;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

