/* Wetter -CSS */

* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    margin: 0;
    padding: 20px;
}

.header {
    grid-column: 1 / -1;
    text-align: center;
}

.dashboard {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1800px;
    margin: auto;
    align-items: start;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.kopf {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 10px;
}

.unterkopf {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.textrot {
    font-size: 1em;
    margin-bottom: 10px;
    color: #ff0303;
}

.titel {
    font-size: 1.6em;
    font-weight: bold;
    margin-bottom: 10px;
}

.wert {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
}

.unterwert {
    font-size: 1.1em;
    color: #666;
    margin-top: 4px;
}

.chart-container {
    width: 100%;
    min-height: 300px;
}

.plotly-graph-div {
    width: 100% !important;
    height: 300px !important;
}

.zeile-temp {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 12px;
}

.footer {
    grid-column: 1 / -1;
    text-align: center;
}

/* Tablet */
@media (max-width: 1300px) {
    .dashboard {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Smartphone */
@media (max-width: 700px) {
    .dashboard {
        grid-template-columns: 1fr;
    }

    .plotly-graph-div {
        height: 180px !important;
    }
}
 
