/* Grundlegendes Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    color: #333;
    scroll-behavior: smooth; /* Für sanftes Scrollen */
}

header {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}

/* Inhaltsverzeichnis mit Dropdown */
.toc {
    background-color: #f9f9f9;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

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

.toc li {
    margin-bottom: 10px;
    font-weight: bold;
}

.toc a {
    color: #444;
    text-decoration: none;
}

.toc a:hover,
.toc a:focus {
    text-decoration: underline;
}

/* Verstecktes Kontrollkästchen für das Dropdown */
input[type="checkbox"] {
    display: none;
}

/* Styling des Labels, das die Dropdown-Liste öffnet */
.toc label {
    cursor: pointer;
    color: #444;
    font-size: 16px;  /* Schriftgröße des Labels anpassen */
    display: inline-block;
    padding: 10px;
    background-color: #ddd; /* Hintergrundfarbe für Label hinzufügen */
    border-radius: 5px;
}

/* Das Dropdown-Menü wird nur angezeigt, wenn das Kontrollkästchen aktiviert ist */
input[type="checkbox"]:checked + ul {
    display: block;
}

.toc ul ul {
    display: none;
    margin-left: 20px;
}

.section {
    margin-bottom: 30px;
}

h2 {
    font-size: 24px;
    color: #333;
}

p,
ul,
dl {
    font-size: 16px;
    line-height: 1.6;
}

ul {
    padding-left: 20px;
}

.section-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.glossary dt {
    font-weight: bold;
}

.glossary dd {
    margin-bottom: 10px;
}

/* Spezifisches Styling für Maus- und Tastatur-Daten */
.toc li a {
    font-weight: normal;
    font-size: 16px;
}

.toc li a:hover,
.toc li a:focus {
    font-weight: bold;
}

.toc label {
    font-weight: normal;
}

.section-content ul {
    list-style-type: square;
}
