/* Dateiname: assets/style.css */

body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background-color: #f4f4f9;
    color: #333;
}

.container {
    max-width: 900px;
    margin: auto;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #0056b3;
    border-bottom: 3px solid #0056b3;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

/* Definition List (Hauptstruktur für Objekte) */
.json-object {
    margin: 15px 0 25px 0;
    padding-left: 0;
    border-left: none; /* Entfernen der äußeren Linie */
}

/* Verschachtelung für DT/DD-Paare */
.json-object dt {
    font-weight: bold;
    color: #212529;
    margin-top: 15px;
    padding-left: 10px;
    background-color: #f8f9fa;
    border-left: 5px solid #007bff; /* Haupt-Level-Indikator */
    margin-bottom: 5px;
}

.json-object dd {
    margin-left: 20px;
    padding: 5px 0 5px 10px;
    border-left: 1px dashed #ccc;
}

/* Verschachtelte DLs (Sub-Objekte) */
.json-object dd .json-object {
    margin: 5px 0 5px 0;
    padding-left: 0;
}

/* Styling für Arrays (Ungeordnete Listen) */
.json-array {
    list-style: none;
    padding-left: 10px;
    margin: 5px 0;
}

.json-array li {
    background-color: #f0f8ff;
    padding: 8px 10px;
    margin-bottom: 8px;
    border-radius: 4px;
    border: 1px solid #cce5ff;
}

.json-array li .json-object dt {
    /* Spezieller Stil für Schlüssel innerhalb eines Array-Objekts */
    background-color: transparent;
    border-left: none;
    font-size: 0.9em;
    font-weight: normal;
    color: #495057;
    margin-top: 5px;
}

.json-array li .json-object dd {
    margin-left: 10px;
    padding: 0 0 0 10px;
    font-size: 0.9em;
}

.data-link {
    color: #28a745; /* Grün für Links */
    text-decoration: none;
    font-style: italic;
}

.data-link:hover {
    text-decoration: underline;
}