body {
    display: flex;
    font-family: Arial;
    background-color: #fafafa;
    padding: 10px 30px 10 10px;
}

h2, h3, h4, h5, h6 {
    margin-top: 40px;
}

h2 {
    color: #4592f7;
}

h3:not(.subject > h3) {
    color: #6ed12c;
}

p {
    line-height: 30px;
}

ul li {
    margin-top: 12px; /* Adds space between each list item */
}

code:not(pre > code) {
    width: 20px;
    background: linear-gradient(45deg, rgba(51, 51, 51, 0.05), rgba(221, 221, 221, 0.1), rgba(51, 51, 51, 0.05));
    border-radius: 10px;
    padding: 5px 8px;
    border: 1px solid rgba(170, 170, 170, .5);
    margin: 0px 7px;
}

pre {
    background: linear-gradient(45deg, rgba(51, 51, 51, 0.05), rgba(221, 221, 221, 0.1), rgba(51, 51, 51, 0.05));
    border-radius: 10px;
    padding: 5px 8px;
    border: 1px solid rgba(170, 170, 170, .5);
    margin: 10px 0px;
    line-height: 25px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: Arial, sans-serif;
    margin-top: 30px;
}

th, td {
    border: 1px solid rgba(170, 170, 170, .5);
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}

tr:nth-child(even) {
    background-color: #f6f6f6;
}

.sidebar {
    position: fixed; /* Fixes the sidebar in place */
    top: 0;
    left: 0;
    width: 250px;
    height: 100vh; /* Takes up the full height of the viewport */
    overflow-y: auto; /* Adds a vertical scrollbar if content overflows */
    /* background-color: #fafafa; */
    border-right: 1px solid #ddd;
    padding: 10px 20px;
    box-sizing: border-box;
    /* Hide scrollbar on Firefox */
    scrollbar-width: none; /* For Firefox */
}

.content {
    margin-left: 260px; /* Creates space for the fixed sidebar */
    padding: 20px;
}

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

.sidebar a {
    background-color: #f3f3f3;
    border-radius: 10px;
    padding: 10px;
    text-decoration: none;
    color: #333;
    display: block; /* Ensures the links do not overlap */
    margin-bottom: 5px; /* Adds space between each link */
    word-wrap: break-word; /* Ensures long words break properly */
}

.sidebar a.h1-link {
    background-color: #ddd;
    font-weight: bold; /* Makes the text bold */
}

.sidebar a:hover {
    background-color: #ececec;
}

.sidebar li {
    margin-left: 20px;
}

.subjectContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.subject {
    background-color: #fff;
    /* border: 2px solid #eee; */
    border-radius: 10px;
    padding: 20px;
    width: 250px;
    height: 390px;
    transition-duration: 300ms;
    margin: 10px;
    box-shadow:  2px 2px 4px rgba(0, 0, 0, 0.2); /* Schatten hinzufÃ¼gen */;
}

.subject:hover {
    transform: scale(1.02);
    box-shadow:  5px 5px 4px rgba(0, 0, 0, 0.2); /* Schatten hinzufÃ¼gen */;
}

.subjectImageContainer {
    height: 190px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.subjectImage {
    width: 250px;
    margin-bottom: 20px;
    border-radius: 10px;
}

.languageCard {
    width: 20px;
    background: linear-gradient(45deg, rgba(51, 51, 51, 0.05), rgba(221, 221, 221, 0.1), rgba(51, 51, 51, 0.05));
    border-radius: 10px;
    padding: 8px;
    border: 1px solid rgba(170, 170, 170, .5); 
}

.example {
    background: #e3f9ff;
    color: #aaa;
    border-radius: 10px;
    padding: 10px;
    border: 1px solid #c2f3ff;
}