/* Noah (js/noah.js, js/noah-world.js), a chapter of parallels: the rules it shares with every such chapter are
   css/parallels.css's, and the figures it shares with the Patriarchs are inked by css/patriarchs.css. Here is what is
   its own: the inks of its three worlds, in the theme and in the night's palette of the drawing, given to the shared
   rules on the panel; and the inks of the figures and grounds its pictures add. */

/* the three worlds, each in an ink of its own: the Creation in the gold of the first light, the Flood in the blue of
   the waters, the world after in the green of the covenant */
#panel-noah {
  --pt-mid: 34rem;
  --pt-ring: conic-gradient(var(--genB-edge) 0 33.3%, var(--heaven-edge) 0 66.6%, var(--cov-edge) 0);
  --g0-ink: var(--genB-ink);   --g0-edge: var(--genB-edge);   --g0-soft: var(--genB-soft);   --pw-g0: #efcb74; --pw-g0-soft: #3a2a17;
  --g1-ink: var(--heaven-ink); --g1-edge: var(--heaven-edge); --g1-soft: var(--heaven-soft); --pw-g1: #a3bff1; --pw-g1-soft: #1f2748;
  --g2-ink: var(--cov-ink);    --g2-edge: var(--cov-edge);    --g2-soft: var(--cov-soft);    --pw-g2: #8fd6d2; --pw-g2-soft: #132d30;
}

/* the page of the three worlds: the three side by side on a wide screen, one under another on a narrower one */
#panel-noah .pt-four-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
@media (max-width: 899px) { #panel-noah .pt-four-list { grid-template-columns: minmax(0, 1fr); } }

/* ---- inks added for particular pictures (js/noah-world.js), each set kept with the pictures it was first drawn for ---- */
/* for the waters, the land, the birds, and the kinds */
.pw-nh-sea { fill: #1b2a48; }
.pw-nh-deep { fill: #0f1426; }
.pw-nh-surface { fill: none; stroke: #5b7cb3; stroke-width: 1.6; }
.pw-nh-swell { fill: none; stroke: #4a6596; stroke-width: 1.1; opacity: 0.6; }
.pw-nh-sea.pw-nh-thin { opacity: 0.78; }
.pw-nm.on-nhDeep { stroke: #0f1426; }
.pw-nm:is(.on-nhFlood, .on-nhSea, .on-nhOpen) { stroke: #1b2a48; }
.pw-nh-wind { stroke-width: 2.2; }
.pw-nh-rain { fill: none; stroke: var(--pw-blue); stroke-width: 1.2; stroke-linecap: round; opacity: 0.55; }
.pw-nh-drowned { fill: none; stroke: var(--pw-pale); stroke-width: 1.2; stroke-linejoin: round; opacity: 0.55; }
.pw-nh-depth { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linecap: round; }
.pw-nh-oldline { fill: none; stroke: var(--pw-pale); stroke-width: 1.4; stroke-dasharray: 4 4; opacity: 0.65; }
.pw-nh-hole { fill: var(--pw-hole); stroke: var(--ink); stroke-width: 1.2; }
.pw-nh-crack { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0.7; }
.pw-nh-raven { fill: #07040a; stroke: var(--ink); stroke-width: 1.1; stroke-linejoin: round; }
.pw-nh-dove { fill: #f6f2ec; }
.pw-nh-track { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linecap: round; stroke-dasharray: 2 4; opacity: 0.8; }
.pw-nh-limb { stroke-width: 2; }
.pw-nh-young { stroke: var(--pw-air); stroke-width: 1.4; paint-order: stroke; }
.pw-nh-young * { fill: var(--soft); stroke: var(--ink); stroke-width: 1.3; }
.pw-nh-young .pw-leg { stroke-width: 1.8; }
.pw-nh-arrow { fill: none; stroke: var(--pw-blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* for the image, the blessing, food, and seeing */
.pw-nh-glow { fill: var(--ink); opacity: 0.26; }
.pw-nh-glow.pw-nh-aura { opacity: 0.12; }
.pw-nh-beam { fill: var(--ink); opacity: 0.1; }
.pw-nh-cone { fill: var(--ink); opacity: 0.07; }
.pw-nh-sight { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-dasharray: 2 4; stroke-linecap: round; opacity: 0.8; }
.pw-nh-guard { fill: var(--ink); fill-opacity: 0.12; stroke: var(--ink); stroke-width: 1.5; stroke-opacity: 0.75; }
.pw-nh-wiped { fill: none; stroke: var(--pw-pale); stroke-width: 1.3; stroke-dasharray: 3 3; opacity: 0.7; }
.pw-nh-wiped .pw-veil { stroke: var(--pw-pale); stroke-width: 1.3; }
.pw-nh-stone { opacity: 0.9; }
.pw-nh-flood { fill: color-mix(in srgb, var(--pw-blue) 20%, var(--pw-air)); fill-opacity: 0.8; }
.pw-nh-surface { fill: none; stroke: var(--pw-blue); stroke-width: 1.6; stroke-linejoin: round; }
.pw-nh-backway { stroke-dasharray: 3 4; }
.pw-nh-wave { fill: none; stroke: var(--pw-blue); stroke-width: 1.1; stroke-linecap: round; opacity: 0.5; }
.pw-nh-rain { fill: none; stroke: var(--pw-blue); stroke-width: 1.1; stroke-linecap: round; opacity: 0.55; }
.pw-nh-hole { fill: var(--pw-hole); }
.pw-nh-plain { fill: color-mix(in srgb, var(--pw-ground) 55%, var(--pw-air)); }
.pw-nh-farhill { fill: color-mix(in srgb, var(--pw-ground) 80%, var(--pw-air)); }
.pw-nh-horizon { fill: none; stroke: var(--pw-rule); stroke-width: 1.2; }
.pw-nh-tuft { fill: none; stroke: var(--pw-mute); stroke-width: 1.1; stroke-linecap: round; opacity: 0.7; }
.pw-nh-leaf { stroke-width: 1.2; }
.pw-nh-fruit { stroke: var(--pw-air); stroke-width: 0.8; }
.pw-nh-meat { fill: #c98476; stroke: var(--pw-air); stroke-width: 0.8; stroke-linejoin: round; }
.pw-nh-bone { fill: none; stroke: #efe4d6; stroke-width: 2.6; stroke-linecap: round; }
.pw-nh-knob { fill: #efe4d6; }
.pw-nh-marble { fill: none; stroke: #ecc2b4; stroke-width: 1.1; stroke-linecap: round; opacity: 0.8; }
.pw-nh-club { stroke-width: 3.2; }
.pw-nh-garment { stroke-width: 1.5; }
.pw-nh-hull { fill: color-mix(in srgb, #8a6a4a 20%, var(--pw-air)); }
.pw-nh-plank { fill: none; stroke: color-mix(in srgb, #8a6a4a 34%, var(--pw-air)); stroke-width: 1.2; }
.pw-nh-rib { fill: none; stroke: color-mix(in srgb, #8a6a4a 46%, var(--pw-air)); stroke-width: 4; stroke-linecap: round; }
.pw-nh-beam-wood { fill: none; stroke: color-mix(in srgb, #8a6a4a 46%, var(--pw-air)); stroke-width: 5; }

/* for rest, the ground, and the sign */
.pw-ark-pale { --ink: var(--pw-pale); --soft: var(--pw-water); opacity: 0.7; }
.pw-ark-win { fill: none; stroke: var(--pw-hole); stroke-width: 3; stroke-dasharray: 4 2.2; }
.pw-ark-door { fill: var(--pw-hole); stroke: var(--ink); stroke-width: 1.1; }
.pw-o.pw-rgs-far { opacity: 0.22; }
.pw-rgs-water { fill: var(--pw-blue); opacity: 0.2; }
.pw-rgs-surface { fill: none; stroke: var(--pw-blue); stroke-width: 1.6; opacity: 0.8; }
.pw-rgs-smoke { fill: none; stroke: var(--pw-pale); stroke-linecap: round; }
.pw-rgs-smoke0 { stroke-width: 2.4; opacity: 0.7; } .pw-rgs-smoke1 { stroke-width: 3.4; opacity: 0.45; } .pw-rgs-smoke2 { stroke-width: 4.6; opacity: 0.24; }
.pw-rgs-furrow { opacity: 0.75; }
.pw-rgs-hills { fill: var(--soft); }
.pw-rgs-handle { stroke-width: 2.2; }
.pw-rgs-vine { stroke-width: 1.5; }
.pw-rgs-billow { fill: var(--cloud); stroke: var(--ink); stroke-width: 1.6; }
.pw-rgs-billowfill { fill: var(--cloud); }
.pw-rgs-storm { --cloud: #1b1a2b; }
.pw-rgs-storm .pw-rgs-billow { stroke-opacity: 0.55; }
.pw-rgs-fair { --cloud: color-mix(in srgb, var(--pw-pale) 16%, var(--pw-air)); }
.pw-rgs-fair .pw-rgs-billow { stroke: var(--pw-pale); stroke-opacity: 0.45; }
.pw-rgs-rain { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linecap: round; opacity: 0.7; }
.pw-rgs-lightfall { stroke-width: 1.3; stroke-dasharray: 3 4; opacity: 0.5; }
.pw-rgs-bowglow { fill: none; stroke: #fff6e8; stroke-width: 28; opacity: 0.05; }
.pw-rgs-bow { fill: none; stroke-width: 3.9; opacity: 0.86; }
.pw-rgs-bow0 { stroke: #e58a8a; } .pw-rgs-bow1 { stroke: #eba774; } .pw-rgs-bow2 { stroke: #e9d17c; }
.pw-rgs-bow3 { stroke: #96d095; } .pw-rgs-bow4 { stroke: #88b4e8; } .pw-rgs-bow5 { stroke: #ad95e0; }
