/* Style de base */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
}

/* Bannière et logo */
header {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Logo rond */
.logo-image {
    width: 80px;
    height: 80px;
    border-radius: 50%; /* Rend l'image circulaire */
    overflow: hidden; /* Cache les bords pour un rendu propre */
    border: 2px solid #fff; /* Optionnel : ajoute un contour blanc */
}

header h1 {
    font-size: 2.5em;
    margin: 0;
}

header p {
    font-size: 1.2em;
    margin: 5px 0;
}

/* Menu de navigation */
nav {
    background-color: #555;
    padding: 10px;
    text-align: center;
}

nav a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
}

nav a:hover {
    text-decoration: underline;
}

/* Contenu principal */
main {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Style des articles */
article {
    margin-bottom: 20px;
}

article h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 10px;
}

/* Nouvelle règle pour le titre de section Informatique */
#informatique h2 {
    font-size: 1em; /* Plus petit */
    color: #4A90E2; /* Couleur bleu ciel */
}

/* Changement de taille pour le titre de l'article */
.article-content h3 {
    font-size: 2em; /* Plus grand */
    margin: 0;
    color: #333;
}

article p {
    line-height: 1.6;
    color: #555;
}

/* Pied de page */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
    margin-top: 20px;
}

/* Section Informatique */
#informatique {
    padding: 20px;
}

/* Bloc d'article */
.article-bloc {
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    margin: 20px 0;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Image de l'article */
.article-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
}

/* Contenu de l'article */
.article-content p {
    margin: 10px 0;
    color: #666;
    line-height: 1.6;
}

/* Bouton Lire l'article */
.read-more {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.read-more:hover {
    background-color: #555;
}
