/* Réinitialisation de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Conteneur global */
.container {
    display: flex;
    height: 100vh;
}

/* Barre latérale */
.sidebar {
    width: 250px;
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    overflow-y: auto;
    position: fixed; /* Toujours visible */
    height: 100%;
}

.sidebar h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
    text-align: center;
}

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

.sidebar ul li {
    margin: 10px 0;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.1em;
}

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

/* Contenu principal */
.content {
    margin-left: 250px; /* Correspond à la largeur de la barre latérale */
    padding: 20px;
    overflow-y: auto;
    flex-grow: 1;
}

.content h1, .content h2 {
    margin-bottom: 10px;
    color: #2c3e50;
}

/* Titres */
.content h1 {
    font-size: 3em; /* Plus grand */
    margin-bottom: 15px;
    color: #2c3e50;
}

.content h2 {
    font-size: 2.5em; /* Plus grand */
    margin-bottom: 10px;
    color: #2c3e50;
}

.content h3 {
    font-size: 1.5em; /* Plus grand */
    margin-bottom: 10px;
    color: #3d556e;
}


.content p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.content p {
    font-size: 1.2em; /* Plus grand pour une meilleure lisibilité */
    line-height: 1.8; /* Augmente l'espace entre les lignes */
    margin-bottom: 20px;
    color: #333;
}

.tooltip {
    position: relative;
    cursor: help;
}

.tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Position au-dessus */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.red {
    color: rgb(181, 14, 14);
}

.orange {
    color: rgb(220, 144, 5);
}

.yellow {
    color: rgb(209, 188, 3);
}

.green {
    color: green;
}