html {
    --redcircle: #ff1d08;
    --orangecircle: #f8d017;
    --greencircle: #20cb6b;
    --greycircle: grey;
}

.headertabelle {
    display: flex;
    align-items: center;
    /* Vertikale Ausrichtung */
    justify-content: space-between;
    /* Titel links, Bild rechts */
    width: 100%;
    gap: 20px;
}

.distanzSchloss {
    height: auto;
    width: 50%;
    object-fit: contain;
}

#abfahrtsbereich {
    display: flex;
    width: 100%;
    gap: 20px;
    /* optionaler Abstand zwischen Tabelle und Legende */
}

#abfahrtinfo {
    width: 80%;
}

#legende {
    padding-top: 30px;
    width: 20%;
}

.circle {
    width: 16px;
    height: 16px;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%,
            70% 100%, 30% 100%, 0% 70%, 0% 30%);
    display: inline-block;
    margin-right: 8px;
    flex-shrink: 0;
}

.green {
    background-color: var(--greencircle);
}

.orange {
    background-color: var(--orangecircle);
}

.red {
    background-color: var(--redcircle);
}

.grey {
    background-color: var(--greycircle);
}

#legende ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#legende li {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    ;
}

.footerAnzeige {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px;
    color: white;
    font-family: 'Chakra Petch', sans-serif;
    flex-wrap: wrap;
    /* Falls Fenster zu klein wird */
}

.time {
    font-weight: bold;
    font-size: 1.5em;
    margin-left: 6px;
}

.whitebox {
    background-color: white;
    color: var(--backgroundcolor2);
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: bold;
    font-size: 1.1em;
    white-space: nowrap;
    width: 7.5%;
}

.linie {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: black;
}

.whitebox img.icon {
    height: 20px;
    width: auto;
    display: inline-block;
}

.zwischenraum {
    width: auto;
    /* Abstand zwischen den beiden Blöcken */
}