body {
    margin: 0;
    padding: 0;
}

body,
table {
    font-family: Avenir, Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: normal;
}

.title {
    font-size: 24px;
    text-align: center;
    padding-bottom: 19px;
    padding-top: 10px;
}

.clear {
    clear: both;
    height: 20px;
}

a,
a:visited {
    text-decoration: none;
    color: rgb(39, 39, 39);
}

.temp {
    float: left;
    font-size: 42px;
    font-weight: bold;
}

.tempmax {
    float: right;
    width: 250px;
    font-size: 16px;
}

.temp-trend {
    font-size: 18px;
    color: #5b5b5b;
}

.minmax {
    display: inline-block;
    font-weight: bold;
    width: 120px;
}

.container {
    width: 650px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.wtable {
    display: table;
    width: 640px;
}

.wtable img {
    height: 20px;
    padding: 0px 6px;
}

.wtable .row {
    display: table-row;
}

.wtable .col {
    display: table-cell;
    padding: 6px 0;
    border-bottom: 1px solid #585858;
}

.wtable .row .col:first-child {
    width: 35px;
}

.wtable .row .col:nth-child(2) {
    font-size: 16px;
    font-weight: bold;
    width: 200px;
}

.readout {
    font-size: 11px;
    color: darkgray;
    float: right;
}

.timestamp {
    padding: 10px 2px;
    text-align: right;
    color: #a6a6a6;
}

@media only screen and (max-width: 600px) {
    .wtable {
        display: block;
        width: 100%;
    }

    .wtable .row {
        display: block;
        padding: 2px;
        border-bottom: 1px solid lightgray;
        min-height: 60px;
    }

    .wtable .row .col:first-child {
        float: left;
    }

    .wtable .row .col:nth-child(2) {
        float: left;
    }

    .wtable .row .col:nth-child(3) {
        float: right;
        padding: 4px 8px;
    }

    .wtable .row .col:nth-child(4) {
        clear: both;
    }

    .wtable .col {
        display: block;
        border: none;
    }

    .container {
        width: auto;
        height: auto;
        position: relative;
        padding: 3px;
    }

    .clear {
        border-bottom: 1px solid lightgray;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background: #2b2e35;
        color: white;
    }

    a,
    a:visited {
        color: white;
    }

    img {
        filter: brightness(0) invert(1);
    }
}