body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    padding: 20px;
}

.content {
    padding-top: 20px;
}

h1 {
    font-size: 150%;
    font-weight: 150;
}

.value-row {
    margin-bottom: 2em;
}

img.logo {
    max-width: 70%;
}

.main-value {
    font-size: 2em;
    padding-bottom: 10px;
}

.icon {
    padding-right: 30px;
    width: 2em;
    height: 2em;
}

.icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* or `cover` if you want it to crop */
    display: block;
}

img.direction {
    max-width: 1em;
    max-height: 1em;
}

.grid-wrapper {
    display: grid;
    gap: 1rem;
    /* space between the cells */
    padding: 1rem;
    /* inner spacing around the grid */
    grid-template-columns: 20% 80%;
}

.cell {
    padding: 1rem;
}

.weather-grid {
    display: grid;
    gap: 1rem;
    /* space between the cells */
    padding: 1rem;
    /* inner spacing around the grid */
    grid-template-columns: 40% 60%;
}

.weather-info {
    color: #a0a0a0;
    font-size: 70%;
}

.version {
    color: #dddddd;
}

.version a,
.version a:visited,
.version a:hover {
    color: #dddddd;
}

table {
    border-collapse: separate !important;
    /* Important */
    border-spacing: 0;
    /* Removes gaps */
    border-radius: 10px;
    overflow: hidden;
    /* Ensures corners clip properly */
    border: 0;
}

table .gray {
    color: #888;
}

.sparkline {
    height: 2em;
    width: 10em;
}

.pure-menu-item {
    height: inherit;
}

.moon {
    margin-bottom: 20px;
}

.moon img {
    width: 128px;
}

.connection-lost {
    color: red;
}

@media (max-width: 767px) {
    table {
        font-size: 0.9em !important;
    }

    .menu {
        display: flex;
        justify-content: center;
    }

    .logo { 
        display: flex;
    }

    .logo img {
        width: 130px;
        height: 50px;
    }

    .logo h1 {
        font-size: 80%;
        margin-left: 3em;
        margin-top: 1em;
    }
}

.main-value {
    font-size: 1.8em;
    padding-bottom: 5px;
}

.icon {
    padding-right: 10px;
}

.icon img {
    max-width: 2em;
    max-height: 2em;
}
}