/* --- PERSONNALISATION DU LIVRE BOOKDOWN avec nuances de brun --- */

/* Changer la police et la couleur de fond */
body {
    font-family: "Arial", Times New Roman;
    background-color: #f5f5dc; /* beige clair */
    color: #333;
}

/* Personnalisation des titres */
h1 {
    color: #8B4513; /* saddle brown */
    font-size: 2.2em;
    font-weight: bold;
    border-bottom: 3px solid #8B4513;
    padding-bottom: 5px;
}

h2 {
    color: #A0522D; /* sienna */
    font-size: 1.8em;
    font-weight: bold;
    border-bottom: 2px solid #A0522D;
    padding-bottom: 4px;
}

h3 {
    color: #CD853F; /* peru */
    font-size: 1.5em;
    font-weight: bold;
}

h4 {
    color: #CD853F;
    font-size: 1.2em;
    font-weight: bold;
}

/* Mise en forme des paragraphes */
p {
    font-size: 1.1em;
    line-height: 1.6;
}

/* Style des liens */
a {
    color: #A0522D;
    text-decoration: none;
}

a:hover {
    color: #8B4513;
    text-decoration: underline;
}

/* Style des blocs de code */
pre {
    background-color: #f4f4f4;
    border-left: 5px solid #A0522D;
    padding: 10px;
    font-size: 1em;
}

code {
    background-color: #faebd7; /* antique white */
    padding: 3px 6px;
    font-size: 1em;
    border-radius: 3px;
}

/* Style des tableaux */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 1em;
}

th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #A0522D;
    color: white;
}

/* Encadrer les citations */
blockquote {
    border-left: 5px solid #CD853F;
    padding-left: 15px;
    color: #666;
    font-style: italic;
}

/* Personnalisation du menu latéral de GitBook */
.book-summary {
    background-color: #8B4513 !important;
}

.book-summary ul li a {
    color: white !important;
}

.book-summary ul li a:hover {
    color: #D2B48C !important; /* tan */
}

/* Espacement entre les chapitres */
.book-body .page-inner {
    padding: 20px;
}

/* Ajout d'un pied de page personnalisé */
.book-footer {
    text-align: center;
    font-size: 0.9em;
    color: #666;
    padding: 15px;
    border-top: 1px solid #ddd;
    opacity: 0;
    animation: fadeIn 2s ease-in forwards;
}
  
/* Animation */
@keyframes fadeIn {
    to {
      opacity: 1;
    }
}

