
body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: grid;
    grid-template-rows: 200px auto;
    grid-template-columns: 30% 70%;
    grid-template-areas: 
        "header header"
        "aside main";
    height: 100vh;
}

/* Style pour le header */
header {
    grid-area: header;
    background-color: #333;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

/* Style pour l'image dans le header */
.header-image {
    height: 150px;
    margin-right: 20px;
}

/* Style pour le texte dans le header */
.header-text {
    text-align: center;
    flex: 1;
}

/* Optionnel : styliser les titres */
h1, h2 {
    margin: 0;
}

h1 {
    font-size: 2.5em;
}

h2 {
    font-size: 1.5em;
    position: relative;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333;
    position: absolute;
    bottom: 0;
}


aside {
    grid-area: aside;
    background-color: #f4f4f4;
    padding: 20px;
}


main {
    grid-area: main;
    padding: 20px;
    background-color: #fff;
}

/* Style pour les articles dans le main */
main article {
    border: 2px solid #ddd;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Style pour le titre des articles */
main h2 {
    margin-top: 0;
    font-size: 1.5em;
    padding-bottom: 10px;
    position: relative;
}

/* Ajouter une ligne sous les h2 dans les articles */
main h2::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333; /* Couleur de la ligne */
    position: absolute;
    bottom: 0;
    left: 0;
}
