.chart-container {
    width: 90%;
    max-width: 1200px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsives Verhalten für das Chart */
#weatherChart {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
}

/* Stile für größere Bildschirme */
@media screen and (min-width: 768px) {
    .chart-container {
        padding: 30px;
    }
}

/* Stile für kleinere Bildschirme */
@media screen and (max-width: 767px) {
    .chart-container {
        width: 95%;
        padding: 15px;
    }

    #weatherChart {
        aspect-ratio: 4 / 3; /* Anpassung für bessere Darstellung auf kleineren Bildschirmen */
    }
}

/* Stile für sehr kleine Bildschirme */
@media screen and (max-width: 480px) {
    .chart-container {
        width: 98%;
        padding: 10px;
    }

    #weatherChart {
        aspect-ratio: 1 / 1; /* Quadratisches Format für sehr kleine Bildschirme */
    }
}

/* Zusätzliche Stile für bessere Lesbarkeit */
.chart-title {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.chart-legend {
    margin-top: 15px;
    text-align: center;
    font-size: 0.9em;
    color: #666;
}