    :root { --fg:#0f172a; --muted:#475569; --bg:#ffffff; --accent:#2563eb; --card:#f8fafc;}
    *{box-sizing:border-box}
    html,body{
	margin:0;padding:0;background:var(--bg);color:var(--fg);font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;line-height:1.6
}
     
    a{color:var(--accent);text-decoration:none}
    a:hover{text-decoration:underline}
    header{padding:2rem 1rem 1rem;max-width:900px;margin:0 auto}
    header h1{margin:0 0 .25rem 0;font-size:2rem}
    header p{margin:.125rem 0;color:var(--muted)}
    main{max-width:900px;margin:0 auto;padding:1rem}
    section{
	background:var(--card);
	border-radius:1rem;
	padding:1.25rem;
	margin:1rem 0;
	box-shadow:0 1px 2px rgba(0,0,0,.04)
	}
        .page { page-break-after: always; margin-bottom: 40px; }
        .header { text-align: right; font-size: 0.9em; margin-bottom: 20px; }
        .title { text-align: center; font-size: 1.5em; font-weight: bold; margin-bottom: 20px; }
        .section-title { font-size: 1.2em; font-weight: bold; margin-top: 20px; margin-bottom: 10px; }
        .exercice-title { font-weight: bold; margin-top: 15px; margin-bottom: 5px; }
        .math-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
        .math-table th, .math-table td { border: 1px solid #ccc; padding: 8px; text-align: left; }
        .math-table th { background-color: #f2f2f2; }
        .exercice-list { list-style-type: none; padding: 0; }
        .exercice-list li { margin-bottom: 10px; }
        .formula-container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
        .formula { margin-right: 20px; white-space: nowrap; }
	.section:hover {
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }


    h2{margin-top:1.2rem}
    h3{margin-top:1rem}
    p{margin:.4rem 0}
    .exercice{border-left:4px solid var(--accent);padding-left:10px}
.exercice ol li {
    padding-left: 10px; /* Augmentez ou diminuez cette valeur pour l'espacement */
  }
    .note{font-size:.95rem;color:var(--muted)}
    code,kbd,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}
    ul{padding-left:1.2rem;margin:.25rem 0}
    .footer{color:var(--muted);font-size:.9rem;margin-top:2rem;text-align:center;padding:1rem 0}
    .toc{display:flex;flex-wrap:wrap;gap:.5rem;margin:.5rem 0 1rem}
    .toc a{background:#eef2ff;border-radius:999px;padding:.25rem .6rem;font-size:.9rem}
  .columns-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .columns-flex li {
    width: 48%; /* Pour laisser un petit espace entre les colonnes */
  }
        #chronometre {
            font-size: 2em;
            color: #2874a6;
            background-color: #ebf5fb;
            padding: 10px 20px;
            border-radius: 8px;
            position: fixed;
            top: 20px;
            right: 20px;
            cursor: move;
            z-index: 1000;
        }
        #controls {
            margin-top: 10px;
        }
        #controls button {
            margin: 0 5px;
            padding: 5px 10px;
            font-size: 1em;
            cursor: pointer;
            border: none;
            border-radius: 5px;
            background-color: #28a745;
            color: #2874a6;
        }
        #controls button.pause {
            background-color: #fef9e7;
        }
        #controls button.reset {
            background-color: #fadbd8;
        }
        #controls button.add-time {
            background-color: #ebdef0;
        }
        #result-container {
            position: fixed;
            top: 150px;
            right: 20px;
            background-color: #f8f9fa;
            border: 1px solid #ced4da;
            border-radius: 8px;
            padding: 15px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            width: 300px;
        }
        #result-container.hidden {
            display: none;
        }

	#eleve {
   	 color: #007BFF; /* Choisissez la couleur de votre choix, ici un bleu */
    	font-weight: bold;
	}

        #result-container button {
            margin-top: 10px;
            padding: 5px 10px;
            font-size: 1em;
            cursor: pointer;
            border: none;
            border-radius: 5px;
            background-color: #007BFF;
            color: #2874a6;
        }
        #class-selector {
            margin: 20px 0;
        }
        .hidden {
            display: none;
        }
        table {
            border-collapse: collapse;
            width: 100%;
            margin-top: 20px;
        }
        table, th, td {
            border: 1px solid black;
        }
        th, td {
            padding: 10px;
            text-align: center;
        }
        #absent-list {
            margin-top: 20px;
        }

#overlay-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white; /* Ou une autre couleur si vous le souhaitez */
    display: none; /* Cachez-le par défaut */
    z-index: 1000;
}

#overlay-container.hidden {
    display: none;
}

#result-container {
    font-size: 2em;
    font-weight: bold;
    text-align: center;
}

nav {
    position: fixed;
    top: 0;
    left: 0; /* Ou 'right: 0;' pour la mettre à droite */
    width: 250px; /* Une largeur fixe pour éviter qu'elle ne prenne toute la largeur */
    height: 100%; /* Prend toute la hauteur de la fenêtre */
    padding: 15px; /* Ajoutez un peu d'espace intérieur */
    background-color: #f0f0f0; /* Une couleur de fond pour la distinguer */
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1); /* Une ombre légère pour la mettre en valeur */
    overflow-y: auto; /* Permet le défilement si le contenu est trop long */
}
.exercice-container {
    display: flex;
    justify-content: flex-end; /* Pousse les éléments vers la droite */
    align-items: center;
}

/* Styles pour le bouton de correction */
.correction-btn {
    display: inline-block;
    padding: 10px 15px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    border: 1px solid #0056b3;
    transition: background-color 0.3s ease;
}

.correction-btn:hover {
    background-color: #0056b3;
}