/* styles.css */

/* Allgemeine Stile */
body {
    margin: 0;
    padding: 0;
    background-color: #090909; /* Dunkler Hintergrund für besseren Kontrast */
    color: #ffffff; /* Weiße Schriftfarbe */
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden; /* Verhindert Scrollen */
}

#main-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
}

/*Hier ist der komplette CSS-Code mit allen relevanten Korrekturen:

```css
/* styles.css */

/* Allgemeine Stile */
body {
    margin: 0;
    padding: 0;
    background-color: #090909; /* Dunkler Hintergrund für besseren Kontrast */
    color: #ffffff; /* Weiße Schriftfarbe */
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden; /* Verhindert Scrollen */
}

#main-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
}

/* Linker Bereich Styling */
#left-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
    padding: 20px;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.5); /* Halbtransparentes Schwarz */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Kalender Styling */
#calendar {
    margin-top: 20px;
    width: 100%;
}

/* Linker Bereich: Digitale Uhr */
#digital-clock {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    width: 100%;
    min-width: 250px;
}

#time {
    font-size: 4em; /* Große Schriftgröße für die Uhrzeit */
    font-weight: bold;
    margin-bottom: 10px;
    color: #00ff00; /* Grüne Farbe für die Uhrzeit (anpassbar) */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Textschatten für bessere Sichtbarkeit */
}

#date {
    font-size: 1.5em; /* Kleinere Schriftgröße für das Datum */
    color: #ffffff; /* Weiß für das Datum */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Mittlerer Bereich: Wetterinformationen */
#weather-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-color: rgba(0, 0, 0, 0.5); /* Halbtransparentes Schwarz */
    padding: 20px;
    border-radius: 10px;
    width: 40%;
    min-width: 300px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

#current-weather {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

#weather-icon {
    width: 100px;
    height: 100px;
}

#temperature {
    font-size: 2.5em;
    font-weight: bold;
    margin-top: 10px;
}

#feels-like {
    font-size: 1.2em;
    margin-top: 5px;
}

#sun-times {
    font-size: 1em;
    margin-top: 5px;
}

#forecast {
    width: 100%;
}

#forecast h2 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.8em;
}

#forecast ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#forecast li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.1); /* Leicht transparentes Weiß */
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.forecast-date {
    width: 80px;
    font-size: 1.2em;
}

.forecast-temp {
    display: flex;
    align-items: center;
    font-size: 1.2em;
}

.forecast-temp img {
    width: 50px;
    height: 50px;
    margin-left: 10px;
}

/* Rechter Bereich: Spritpreise */
#fuel-prices {
    display: flex;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.5); /* Halbtransparentes Schwarz */
    padding: 20px;
    border-radius: 10px;
    width: 30%;
    min-width: 250px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

#fuel-prices h2 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.8em;
}

#fuel-prices ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#fuel-prices li {
    background-color: rgba(255, 255, 255, 0.1); /* Leicht transparentes Weiß */
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
}

.fuel-name {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 5px;
}

.fuel-details {
    display: flex;
    justify-content: space-between;
    font-size: 1em;
}

.fuel-type {
    flex: 1;
}

.fuel-distance {
    flex: 0.5;
    text-align: right;
}

/* Nachrichtenticker */
#news-ticker {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Etwas transparenteres Schwarz */
    padding: 10px 0;
    position: absolute;
    bottom: 0;
    left: 0;
    overflow: hidden;
}

.news-content {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 60s linear infinite; /* Längere Dauer für langsameren Ticker */
    font-size: 1.2em;
    padding-left: 100%;
    color: #ffffff;
}

.news-content a {
    color: #ffffff; /* Weiße Links */
    text-decoration: none;
    margin-right: 50px; /* Abstand zwischen den Nachrichten */
}

.news-content a:hover {
    text-decoration: underline;
    color: #ffcc00; /* Hover-Farbe */
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Kalender-Styling */
.calendar {
    width: 100%;
    border-collapse: collapse;
}

.calendar caption {
    font-weight: bold;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.calendar th, .calendar td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

.calendar th {
    background-color: #333;
}

.calendar td {
    background-color: #222;
}

.calendar .today {
    background-color: #f2f2f2;
}

.calendar .event-marker {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 5px;
    cursor: pointer;
}

/* Farben für die Mülltonnen-Typen */
.event-restmuell {
    background-color: #000000 !important; /* Schwarz für Restmüll */
}

.event-bio {
    background-color: #8b4513 !important; /* Braun für Biomüll */
}

.event-papier {
    background-color: #008000 !important; /* Grün für Papier */
}

.event-gelber-sack {
    background-color: #FFFF00 !important; /* Gelb für Gelber Sack */
    color: #000 !important; /* Schwarzer Text für Lesbarkeit */
}

.event-sperrmuell {
    background-color: #FFA500 !important; /* Orange für Sperrmüll */
}

/* Abfuhrtermine Styling */
#awigo-events {
    margin-top: 20px;
    width: 100%;
}

#awigo-events h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    text-align: center;
}

#awigo-events ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#awigo-events li {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
}
.event-date {
    font-weight: bold;
}

.event-summary {
    margin-left: 10px;
    text-align: right;
    flex-grow: 1;
}

/* Responsive Design */
@media (max-width: 1200px) {
    #main-container {
        flex-direction: column;
        align-items: center;
    }

    #digital-clock,
    #weather-section,
    #fuel-prices {
        width: 90%;
        min-width: unset;
        margin-bottom: 20px;
    }
}
