body {
    font-family: Arial, sans-serif;
    padding: 20px;
}

a {
    text-decoration: none;
    color: black;
}

a:link, a:visited {
    text-decoration: none;
    color: black;
}

.chapter:hover {
    background-color: #ffdc00;
    cursor: pointer;
}
.chapter {
    margin: 5px 0;
    padding: 10px;
    background-color: #f0f0f0; /* Light grey background for chapters */
    border-radius: 4px; /* Optional: adds rounded corners */
}

:root {
    --completed-color: #000000; /* Standardfarbe */
    --current-color: #4d9be6; /* Standardfarbe */
}

.completed {
    background-color: var(--completed-color);
}

.current {
    background-color: var(--current-color);
}


/* Additional styling for the learning path titles */
.learningPath > h2 {
    color: #333; /* Dark grey color for text */
    margin-bottom: 10px; /* Space below the title */
}

/* Styling for the learning paths container */
.learningPaths {
    display: flex;
    flex-direction: column; /* Stack learning paths vertically */
    gap: 20px; /* Space between each learning path */
    padding: 20px; /* Padding around the container */
}

@media (min-width: 768px) {
    .learningPaths {
        flex-direction: row; /* Display learning paths side by side on wider screens */
        flex-wrap: wrap; /* Allow wrapping if there's not enough space */
        gap: 20px; /* Space between learning paths */
    }

    .learningPath {
        flex: 1; /* Allow learning paths to grow and fill the available space */
        min-width: 400px; /* Minimum width of each learning path */
    }
}
