body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    color: white;
    background-color: #1c1e26;
}

.container {
    display: flex;
    flex-wrap: nowrap;
    height: 100vh;
    overflow: hidden;
}

.sidebar {
    width: auto; /* Automatische Breite, basierend auf dem Inhalt */
    max-width: 200px; /* Maximalbreite, falls gewünscht */
    background-color: #2d2f39;
    padding: 10px; /* Etwas weniger Padding */
    position: fixed;
    top: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 10;
}

.sidebar h3 {
    font-size: 1.2rem; /* Kleinere Schriftgröße */
    color: #00ffb8;
    margin-bottom: 10px;
}

.sidebar ul {
    padding: 0;
}

.section-header {
    cursor: pointer;
    margin-bottom: 10px;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.section-header span:first-child {
    font-size: 1.2rem;
    color: white;
}

.section-title .arrow {
    font-size: 1.2rem;
    color: #00ffb8; /* Gleiche Farbe wie das Wort "Navigation" */
    transition: transform 0.3s ease;
}

.main-section-title {
    font-size: 2.5rem; /* Größe wie "Installation" */
    margin-top: 40px;
    margin-bottom: 20px;
    color: white;
    text-align: left;
}



.sub-menu {
    display: none;
    margin-top: 5px;
    padding-left: 10px;
}

.sub-menu.open {
    display: block;
}

.sub-menu li {
    margin-bottom: 10px;
}

.sub-menu a {
    color: #00ffb8; /* Gleiche Farbe für die Untermenüpunkte */
    text-decoration: none;
}

.sub-menu a:hover {
    text-decoration: underline;
    color: #00ffb8; /* Auch beim Hover dieselbe Farbe */
}


.section-header.open .arrow {
    transform: rotate(90deg); /* Pfeil dreht sich nach unten bei geöffnetem Menü */
}

.content {
    margin-left: 200px; /* Weniger Abstand zur Sidebar */
    padding: 20px;
    overflow-y: auto; /* Inhalt scrollt bei langen Dokumenten */
}

header {
    text-align: center;
    background-color: #16181d;
    padding: 40px 20px;
    margin-bottom: 20px;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2rem;
}

.tip-box {
    background-color: #2a915e;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    color: white;
}

.requirements,
.scaffold,
.meta-only {
    background-color: #22242e;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    line-height: 25px; 
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

ul {
    margin-top: 5px; /* Reduziert den Abstand zwischen Einzeiler und Liste */
    padding-left: 20px; /* Abstand der Punkte vom linken Rand */
    list-style-type: disc; /* Standardmäßig Aufzählungspunkte */
}

pre {
    background-color: #2d2f39;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    color: #00ffb8;
}

code {
    font-family: monospace;
    background-color: #333740;
    padding: 3px 6px;
    border-radius: 5px;
}

footer {
    background-color: #16181d;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}

.kleine-unterstrichene-ueberschrift {
    text-decoration: underline;
    font-size: 16px; /* Schriftgröße des Absatzes */
    font-family: inherit; /* Gleiche Schriftart wie Absatz */
    font-weight: normal; /* Nicht fett */
    line-height: 1.6;
    margin-bottom: 5px; /* Wenig Abstand unter der Überschrift */
}
p {
    font-size: 16px;
    line-height: 1.6;
    margin-top: 5px; /* Wenig Abstand über dem Absatz */
}



.code-container {
    display: inline-block;  /* Nur so breit wie der Inhalt */
    padding: 10px;
    border-radius: 8px;
    background-color: #2d2d2d; /* Dunkler Hintergrund */
}

pre.custom-code {
    margin: 0;
    padding: 10px;
    font-size: 16px;
    line-height: 1.5;
    border-radius: 5px;
    font-family: 'Courier New', Courier, monospace;
}

pre.custom-code code {
    white-space: pre; /* Zeilenumbrüche erhalten */
    display: block;
}

pre.custom-code code span:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.02);  /* leichte Farbe für gerade Zeilen */
}

pre.custom-code code span:nth-child(odd) {
    background-color: transparent;  /* keine Farbe für ungerade Zeilen */
}


/* Für kleinere Bildschirme */
@media screen and (max-width: 768px) {
    .sidebar {
        width: 200px;
    }
    .content {
        margin-left: 220px;
    }
}

.indent-paragraph ul {
    padding-left: 5px; /* Minimale Einrückung */
    margin-left: 0;     /* Keine zusätzliche Einrückung */
    list-style-position: inside; /* Punkte bleiben am Textanfang */
}

.indent-paragraph > p {
    margin-left: 5px;   /* Dezente Einrückung */
    text-indent: 8px;  /* Leichtes Einrücken nur der ersten Zeile */
}

a {
    color: #00ffb8;
    text-decoration: underline;
    cursor: pointer;
  }
  
  a:hover {
    color: rgb(61, 202, 207);
  }

  .large-symbol {
    font-size: 27px;  /* Größe des Symbols */
    color: #00ffb8;
  }