:root {
    --bg0-h: #1d2021;
    --bg0: #282828;
    --bg0-s: #32302f;
    --bg1: #3c3836;
    --bg2: #504945;
    --bg3: #665c54;
    --bg4: #7c6f64;
    --gray: #928374;
    --fg0: #fbf1c7;
    --fg1: #ebdbb2;
    --fg2: #d5c4a1;
    --fg3: #bdae93;
    --fg4: #a89984;
    --red1: #cc241d;
    --red2: #fb4934;
    --green1: #98971a;
    --green2: #b8bb26;
    --yellow1: #d79921;
    --yellow2: #fabd2f;
    --blue1: #458588;
    --blue2: #83a598;
    --purple1: #b16286;
    --purple2: #d3869b;
    --aqua1: #689d6a;
    --aqua2: #8ec07c;
    --orange1: #d65d0e;
    --orange2: #fe8019;

    --background-color: var(--bg0-h);
    /* --background-color: #FF00;     */
    --text-color: var(--aqua2);

    --weather-background-color: var(--orange1);
    --weather-text-color: var(--fg1);
    --weather-text-accent-color: var(--fg1);
    --weather-sun-color: var(--yellow1);
}

body {
    background-color: var(--background-color);
    font-family: monospace;
    color: var(--text-color);
    text-shadow: 0px 0px 2px var(--yellow2);
    height: 100%;
}

a {
    font-size: inherit;
    color: var(--text-color);
    text-decoration-line: none;
}

#center-piece {
    font-size: 90px;
    padding: 30px 0;
}

#content {
    vertical-align: middle;
    align-items: center;
    display: grid;
    grid-template-columns: 0.9fr 1fr;
    grid-template-areas:
        "sites aurora-panel"
        "sites weather-panel";
}

#sites {
    grid-area: sites;
}

.folder {
    font-size: 20px;
    margin-bottom: 1em;
}

.linked {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    font-size: 15px;
    margin-left: 20px;
}

.link {
    padding: 10px;
    width: 100px;
    height: 123px;
    align-items: center;
    text-align: center;
    margin: 3px;
    overflow: hidden;

    background-color: var(--bg0);
    border-radius: 10px;
    border-style: solid;
    border-color: var(--background-color);
}

.link:hover {
    border-color: var(--fg3);
    border-style: solid;
}

.link img {
    width: 100%;
    height: 100px !important;
    height: auto;
    overflow: hidden;
    object-fit: contain;
}

.link a {
    color: var(--blue2);
    text-shadow: 0px 0px 2px var(--yellow1);
}

#aurora-panel {
    grid-area: aurora-panel;
    display: flex;
    max-height: 300px;
}

#aurora-forecast {
    margin: 5px;
    overflow: scroll;
    text-wrap: wrap;
    font-size: small;
}

#aurora-display {
    max-width: 300px;
    max-height: 300px;

    justify-content: center;
    align-items: center;
}

#aurora-display img {
    width: 100%;
}

#aurora-display canvas {
    width: 100%;
}

#aurora-forcast {
    text-wrap-mode: wrap;
}

#weather-panel {
    grid-area: weather-panel;
    max-width: 440px;
}
