:root {
    --bg: #eee;
    --ink: #505050;
    --card: #ffffff;
    --line: #bbb;
    --accent: #0a9;
    --accent-dark: #1b7477;
    --accent-mid: #51b5ac;
    --wave-back: #1b7477;
    --wave-front: #8adbd3;
    --hex-one: #5b8b8c;
    --hex-two: #1b7477;
    --dot: rgba(27, 116, 119, .13);
    --muted: #7b7b7b;
    --veil: rgba(238, 238, 238, .72);
}

@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
    --bg: #14191a;
    --ink: #cfd6d6;
    --card: #1d2426;
    --line: #3b4749;
    --accent: #4fd2c2;
    --accent-dark: #0d4a4d;
    --accent-mid: #7fe0d4;
    --wave-back: #0d4a4d;
    --wave-front: #1f6f70;
    --hex-one: #2c4c4e;
    --hex-two: #0d4a4d;
    --dot: rgba(127, 224, 212, .10);
    --muted: #8fa0a0;
    --veil: rgba(20, 25, 26, .72);
}
}

:root[data-theme="dark"] {
--bg: #14191a;
--ink: #cfd6d6;
--card: #1d2426;
--line: #3b4749;
--accent: #4fd2c2;
--accent-dark: #0d4a4d;
--accent-mid: #7fe0d4;
--wave-back: #0d4a4d;
--wave-front: #1f6f70;
--hex-one: #2c4c4e;
--hex-two: #0d4a4d;
--dot: rgba(127, 224, 212, .10);
--muted: #8fa0a0;
--veil: rgba(20, 25, 26, .72);
}

body {
margin: 0;
font-family: 'Share Tech', sans-serif;
font-size: 16px;
color: var(--ink);
background: var(--bg);
overflow-x: hidden;
}

main {
position: relative;
padding: 7vh 0 14vh;
opacity: 0;
margin-top: -5px;
max-width: 100%;
}

@media all and (min-width:670px) {
main {
    width: 600px;
    margin-left: 10vw;
}
}

@media all and (max-width:670px) {
main { margin: 0 15px }
}

.wave {
width: 100vw;
height: 150px;
position: fixed;
bottom: 0;
fill: var(--wave-back);
z-index: -1;
}

#one {
height: 180px;
fill: var(--wave-front);
width: 120vw;
left: -10vw;
}

h1, h2 {
position: relative;
display: flex;
align-items: center;
font-family: 'Share Tech Mono', ui-monospace, monospace;
line-height: 1em;
word-spacing: -.1em;
letter-spacing: -.05em;
transition: .2s all ease;
margin-left: 10px;
margin-bottom: 15px;
}

h1 span, h2 span {
background: var(--veil);
padding: 5px 7px;
border-radius: 10px;
box-sizing: border-box;
}

h1, h2:active { color: var(--accent-mid); }
h1 { font-size: 2.2em; margin-bottom: 4px; }
h2 { cursor: pointer; margin-top: 26px; }
p:first-child { margin-top: 0 }
p:last-child { margin-bottom: 0 }

.tagline {
margin: 0 0 22px 10px;
font-family: 'Share Tech Mono', ui-monospace, monospace;
color: var(--muted);
letter-spacing: .02em;
}

.tagline a { color: var(--accent); text-decoration: none; }
.tagline a:hover { text-decoration: underline; }

.subtext {
position: relative;
border-radius: 10px;
background: var(--card);
border: 1px solid var(--line);
padding: 13px;
line-height: 1.5em;
}

.subtext.coll { display: none }
.subtext.coll.open { display: block }

.subtext ul { margin: 0; padding: 0 25px; }
.subtext li { margin-bottom: 4px; }

.subtext a {
color: var(--accent);
text-decoration: underline;
cursor: pointer;
transition: .2s all ease;
}

.subtext a:hover, h2:hover { color: var(--muted); }

.subtext:before {
content: '';
position: absolute;
width: 1px;
background: var(--line);
left: 1.2em;
height: 1.2em;
top: calc(-1.2em - 1px);
}

.subtext.coll:before {
left: 1em;
height: 1.2em;
top: calc(-1.2em - 1px);
}

h2.feature span {
color: var(--accent);
font-size: 1.12em;
}

.subtext.feature {
border-color: var(--accent);
border-left-width: 4px;
box-shadow: 0 2px 14px rgba(0, 0, 0, .07);
}

.badge {
display: inline-block;
font-family: 'Share Tech Mono', ui-monospace, monospace;
font-size: .7em;
letter-spacing: .08em;
text-transform: uppercase;
color: var(--card);
background: var(--accent);
border-radius: 20px;
padding: 3px 9px;
margin-left: 8px;
vertical-align: middle;
}

.role {
font-family: 'Share Tech Mono', ui-monospace, monospace;
font-size: 1.05em;
color: var(--ink);
margin: 0;
}

.meta {
font-family: 'Share Tech Mono', ui-monospace, monospace;
font-size: .85em;
color: var(--muted);
margin: 2px 0 8px;
}

.entry + .entry {
margin-top: 18px;
padding-top: 16px;
border-top: 1px dashed var(--line);
}

.tags {
display: flex;
flex-wrap: wrap;
gap: 7px;
margin: 0;
padding: 0;
list-style: none;
}

.tags li {
font-family: 'Share Tech Mono', ui-monospace, monospace;
font-size: .85em;
border: 1px solid var(--line);
border-radius: 20px;
padding: 3px 10px;
margin: 0;
}

.tags li.key {
border-color: var(--accent);
color: var(--accent);
}

.award {
display: flex;
justify-content: space-between;
gap: 12px;
}

.award + .award { margin-top: 8px; }
.award .yr { color: var(--muted); font-family: 'Share Tech Mono', ui-monospace, monospace; }

.hex-link {
position: relative;
display: flex;
align-items: center;
font-family: 'Share Tech Mono', ui-monospace, monospace;
line-height: 1em;
word-spacing: -.1em;
letter-spacing: -.05em;
transition: .2s all ease;
margin-left: 10px;
margin-bottom: 15px;
margin-top: 26px;
text-decoration: none;
color: var(--ink);
cursor: pointer;
}

.hex-link:hover { color: var(--muted); }
.hex-link span { background: var(--veil); padding: 5px 7px; border-radius: 10px; box-sizing: border-box; }

.hex:hover { transform: rotate(30deg); }

.hex, .hex:before, .hex:after {
height: 1em;
width: .59em;
border: solid;
border-width: 1px 0;
border-radius: 2px;
box-sizing: border-box;
}

main .hex {
position: relative;
display: inline-block;
margin-right: .5em;
transition: .4s all ease;
flex: none;
}

.hex:before, .hex:after {
content: '';
position: absolute;
margin-top: -1px;
}

.hex:before { transform: rotate(60deg); }
.hex:after { transform: rotate(-60deg); }

.hex, .hex:before, .hex:after { border-color: var(--line); }
h2.feature .hex, h2.feature .hex:before, h2.feature .hex:after { border-color: var(--accent); }
.hex.moved { transform: rotate(30deg); }

#hex-holder {
position: fixed;
height: 100vh;
width: 100vw;
top: 0;
z-index: -1;
pointer-events: none;
font-size: 100px;
}

#hex-holder .hex { position: fixed; }

#uno {
border-radius: 4px;
border: none;
background: var(--hex-one);
transform: rotate(-12deg);
bottom: 30vh;
left: 30px;
}

#uno:before, #uno:after { margin-top: 0; }

#hex-holder .hex:before, #hex-holder .hex:after {
border: inherit;
border-radius: inherit;
background: inherit;
}

#dos {
border-color: var(--hex-two);
border-radius: 3px;
border-width: 5px 0;
font-size: 100px;
bottom: 12vh;
right: -20px;
transform: rotate(7deg);
}

#dos:before, #dos:after { margin-top: -5px; }
#tres { display: none }

#bg {
position: fixed;
top: 0;
left: 0;
height: 100vh;
width: 100vw;
z-index: -2;
pointer-events: none;
}
