:root {
    --temperature-color: #f0f0f0;
    --temperature-shadow-color: #d9d9d9;
    --temperature-marker-color: #bfbfbf;
    --temperature-text-color: #8c8c8c;
    --wind-color: #95de64;
    --wind-shadow-color: #73d13d;
    --wind-marker-color: #52c41a;
    --wind-text-color: #389e0d;
    --precipitation-color: #69b1ff;
    --precipitation-shadow-color: #4096ff;
    --precipitation-marker-color: #1677ff;
    --precipitation-text-color: #0958d9;
    --now-color: #eb2f96;
    --now-text-color: #9e1068;
    --sunrise-color: #fadb14;
    --sunrise-text-color: #d4b106;
    --sunset-color: #fa8c16;
    --sunset-text-color: #d48806;
    --cloud-1-color: #fafafa;
    --cloud-1-shadow-color: #f5f5f5;
    --cloud-2-color: #f5f5f5;
    --cloud-2-shadow-color: #f0f0f0;
    --cloud-3-color: #f0f0f0;
    --cloud-3-shadow-color: #d9d9d9;
    --cloud-4-color: #d9d9d9;
    --cloud-4-shadow-color: #bfbfbf;
    --explain-color: #ffffff;
    --explain-shadow-color: #bfbfbf;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
    max-height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: lighter;
}

body {
    width: 2400px;
    height: 100%;
    max-width: 2400px;
    max-height: 100%;
    background: linear-gradient(to bottom, #bae0ff, #e6f4ff 50%);
}

h1,
h2,
h3 {
    font-weight: lighter;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

nav {
    position: fixed;
    bottom: 8px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

nav ul {
    list-style: none;
}

nav li {
    display: inline-block;
    padding: 8px;
}

nav svg {
    fill: none;
    stroke: white;
    stroke-width: 1;
    stroke-linecap: round;
}

.none {
    display: none !important;
}

.hidden {
    visibility: hidden !important;
}

.unit {
    font-size: 0.6em;
}

foreignObject {
    pointer-events: none;
}

path.temperature {
    stroke: none;
    fill: var(--temperature-color);
    filter: url(#temperature-filter);
}

text.temperature {
    stroke: none;
    fill: var(--temperature-text-color);
}

circle.temperature {
    stroke: none;
    fill: var(--temperature-marker-color);
}

path.wind {
    stroke: none;
    fill: var(--wind-color);
    filter: url(#wind-filter);
}

circle.wind {
    stroke: none;
    fill: var(--wind-marker-color);
}

text.wind {
    stroke: none;
    fill: var(--wind-text-color);
}

path.precipitation {
    stroke: none;
    fill: var(--precipitation-color);
    filter: url(#precipitation-filter);
}

circle.precipitation {
    stroke: none;
    fill: var(--precipitation-marker-color);
}

text.precipitation {
    stroke: none;
    fill: var(--precipitation-text-color);
}

circle.now {
    fill: var(--now-color) !important;
}

text.now {
    fill: var(--now-text-color) !important;
}

circle.sunrise {
    fill: var(--sunrise-color) !important;
}

text.sunrise {
    fill: var(--sunrise-text-color) !important;
}

circle.sunset {
    fill: var(--sunset-color) !important;
}

text.sunset {
    fill: var(--sunset-text-color) !important;
}

path.cloud-1 {
    fill: var(--cloud-1-color);
    filter: url(#cloud-1-filter);
}

path.cloud-2 {
    fill: var(--cloud-2-color);
    filter: url(#cloud-2-filter);
}

path.cloud-3 {
    fill: var(--cloud-3-color);
    filter: url(#cloud-3-filter);
}

path.cloud-4 {
    fill: var(--cloud-4-color);
    filter: url(#cloud-4-filter);
}

#message {
    position: absolute;
    top: 250px;
    left: 0;
    display: flex;
}

#message > * {
    width: 400px;
    padding: 16px;
    text-align: center;
}

#explanation {
    position: absolute;
    top: 350px;
    left: 0;
    width: 400px;
    padding: 16px;
    text-align: center;
    filter: url(#explain-filter);
}

path.explanation {
    stroke: var(--explain-color);
    stroke-width: 4;
    fill: none;
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.2));
}

.explainee {
    filter: url(#explain-filter) !important;
}

nav .explainee svg {
    stroke: var(--precipitation-color);
}

#dude-body {
    stroke: none;
    fill: #fa541c;
}

#dude-eye-right,
#dude-eye-left,
#dude-mouth,
#dude-hand-right,
#dude-hand-left {
    stroke: none;
    fill: #ad2102;
}
