body {
    font-family: 'Lexend', Arial, sans-serif; /* Utilisation de Lexend en première option */
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

header {
    background-color: #ffffff;
    color: #161616;
    text-align: center;
    padding: 1em;
    border-bottom: 1px solid #dddddd; /* Ajout de la bordure inférieure */
    display: flex; /* Utilisation de flexbox pour aligner les éléments */
    align-items: center; /* Alignement vertical au centre */  
}

header img {
    margin-left: 9.5%; /* Ajout de la marge à gauche */
    max-height: 90px; /* Ajustez la hauteur maximale selon vos besoins */
}

.logo {
    max-width: 80px;
    height: auto;
}

.titre {
    margin-left: 20px;
    font-size: 1.5em;
}

#toggle-button {
    position: fixed;
    top: 1px; /* Adjusted to be below the header */
    left: 10px;
    z-index: 1000;
    padding: 10px 20px;
    background-color: white;
    color: black;
    border: none;
    cursor: pointer;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    margin-left: 240px; /* Adjusted to accommodate sidebar */
}

h5 {
    
    font-size: 32px; /* Ajustez la taille de l'écriture dans la section selon vos besoins */
}

h1 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
}

h2 {
    font-size: 2em;
    margin-bottom: 0.5em;
}

h3 {
    font-size: 1.5em;
    margin-bottom: 0.5em;
}

p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 1em;
}

pre {
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
}

ul {
    margin-bottom: 1em;
}

ul li {
    margin-bottom: 0.5em;
}

.sidebar {
    position: fixed;
    top: 150px; /* Adjusted to be below the header */
    left: 0;
    width: 200px;
    height: calc(100% - 100px); /* Adjusted to be below the header */
    background-color: transparent;
    padding: 20px;
    overflow-y: auto;
}

.sidebar h2 {
    font-size: 1.5em;
    margin-bottom: 1em;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
}

.sidebar ul li {
    margin-bottom: 0.5em;
}

.sidebar ul li a {
    text-decoration: none;
    color: #333;
}

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

blockquote {
    background-color: #f0f0f0;
    padding: 10px;
    border-left: 5px solid #ccc;
    margin: 10px 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        margin-left: 220px; /* Adjust for smaller screens */
        margin-right: 20px; /* Adjust for smaller screens */
    }

    .infobox {
        display: none; /* Hide infobox on smaller screens */
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        position: relative;
        height: auto;
    }

    .container {
        margin-left: 0;
        margin-right: 0;
        padding: 10px;
    }

    #toggle-button {
        display: none; /* Hide toggle button on smaller screens */
    }
}
