/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
:root {
    --aqua: #7fdbff;
    --blue: #0075fa;
    --navy: #001f3f;
    --teal: #39cccc;
    --green: #2ecc40;
    --olive: #3d9970;
    --lime: #01ff70;

    --yellow: #ffdc00;
    --orange: #ff851b;
    --red: #ff4136;
    --fuchsia: #f012be;
    --purple: #b10dc9;
    --maroon: #85144b;

    --white: #ffffff;
    --silver: #dddddd;
    --gray: #6c757d;
    --dark-gray: #323336;
    --black: #111111;

    --font: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, Adwaita Sans, Cantarell, Ubuntu, roboto, noto, helvetica, arial, sans-serif;
    --monospace-font: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;

    --primary: var(--blue);
    --secondary: var(--gray);
    --font-color: var(--black);
    --bg-color: var(--white);

    --anchor-color: var(--primary);
    --anchor-hover-color: #005dae;

    --code-bg: var(--dark-gray);
    --code-fg: var(--silver);
}

[data-theme='dark'] {
    --font-color: var(--white);
    --bg-color: var(--dark-gray);
    --code-bg: var(--silver);
    --code-fg: var(--black);
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background-color: var(--bg-color);
    font-family: var(--font);
    color: var(--font-color);
    line-height: 1.5;
    height: 100vh;
}

main {
    display: block;
}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

h1, h2, h3, h4, h5, h6, p, hr, blockquote {
    margin-block: 0 1rem;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    text-transform: uppercase;
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
    border: none;
    height: 4px;
    background-color: var(--font-color);
}

pre {
    font-family: monospace, monospace;
    font-size: 1em;
    overflow: overlay;
    font-size: 0.875em;
    background-color: var(--code-bg);
    padding: 0.75rem;
    border-radius: 3px;
}

a {
    background-color: transparent;
    text-decoration: underline;
    color: var(--anchor-color);
    transition: color 250ms;
}

a:hover, a:focus {
    color: var(--anchor-hover-color);
    text-decoration: none;
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}

b, strong {
    font-weight: bolder;
}

code, kbd, samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

code {
    font-family: var(--monospace-font);
    font-size: 0.875em;
    color: var(--fuchsia);
    word-wrap: break-word;
}

pre code {
    font-family: var(--monospace-font);
    font-size: inherit;
    border-radius: 0.1875rem;
    word-wrap: normal;
    word-break: normal;
    white-space: pre-wrap;
    color: var(--code-fg);
}

small {
    font-size: 80%;
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

img {
    border-style: none;
}

button, input, optgroup, select, textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

button, input {
    overflow: visible;
}

button, select {
    text-transform: none;
}

button, [type='button'], [type='reset'], [type='submit'] {
    -webkit-appearance: button;
    appearance: button;
}

button::-moz-focus-inner, [type='button']::-moz-focus-inner, [type='reset']::-moz-focus-inner, [type='submit']::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

button:-moz-focusring, [type='button']:-moz-focusring, [type='reset']:-moz-focusring, [type='submit']:-moz-focusring {
    outline: 1px dotted ButtonText;
}

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

progress {
    vertical-align: baseline;
}

textarea {
    overflow: auto;
}

[type='checkbox'], [type='radio'] {
    box-sizing: border-box;
    padding: 0;
}

[type='number']::-webkit-inner-spin-button, [type='number']::-webkit-outer-spin-button {
    height: auto;
}

[type='search'] {
    -webkit-appearance: textfield;
    appearance: textfield;
    outline-offset: -2px;
}

[type='search']::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

details {
    display: block;
}

summary {
    display: list-item;
}

template {
    display: none;
}

[hidden] {
    display: none;
}

blockquote {
    margin: 2rem 0;
    padding: 0 0 0 1.5rem;
    border-left: 3px solid var(--silver);
}

blockquote p {
    margin: 0 0 0.75rem;
}

blockquote p:first-child {
    font-size: 1.125rem;
    line-height: 1.6;
}

blockquote p:last-of-type {
    font-size: 0.875rem;
    color: var(--gray);
}

main {
    flex: 1 auto;
}

.lead {
    font-size: 2.2rem;
    font-weight: 300;
    text-align: center;
    text-align-last: center;
}

.container {
    max-width: 960px;
    margin: 0 auto;
}

.site-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding-inline: 1rem;
}

.postlist {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.postlist-item a {
    display: block;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
}

.postlist-item time {
    line-height: 1;
    font-size: 0.875rem;
    opacity: 60%;
    display: block;
}

.site-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    flex-wrap: wrap;
    padding-block: 0.5rem;
    margin-block-end: 2rem;
    border-bottom: solid 4px var(--anchor-color);
}

.site-header .brand {
    margin: 0;
    flex: 1;
    text-align: left;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
}

.site-header .brand a {
    text-decoration: none;
}

.site-header .brand a:hover .site-header .brand a:active {
    text-decoration: underline;
}

.site-nav {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    text-transform: uppercase;
}

.site-nav a {
    text-decoration: none;
    font-weight: 700;
}

.site-nav a.active {
    color: var(--font-color);
}

footer {
    display: flex;
    text-align: center;
    padding-block: 1rem;
    text-transform: uppercase;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-weight: 700;
    margin-block-start: auto;
}

footer a {
    text-decoration: none;
}

footer p {
    margin-block: 0;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
}

.theme-switcher {
    color: var(--anchor-color);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: color 300ms;
    appearance: none;
    display: inline;
    text-transform: uppercase;
    font-weight: 700;
}

.theme-switcher:hover, .theme-switcher:active {
    color: var(--anchor-hover-color);
}

.theme-switcher:focus-visible {
    outline: 2px solid;
}

.post-content {
    line-height: 1.7;
}

.post-content h2 {
    font-size: 1.5rem;
    margin-block: 2rem 1rem;
    text-transform: none;
}

.post-content h3 {
    font-size: 1.25rem;
    margin-block: 1.5rem 0.75rem;
    text-transform: none;
}

.post-content p {
    margin-block: 1rem;
}

.post-content pre {
    margin-block: 1.5rem;
    overflow-x: auto;
}

.post-footer {
    margin-block-start: 2rem;
    padding-block-start: 1.5rem;
    border-top: 1px solid var(--silver);
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.post-footer::before {
    content: "Tags:";
    font-size: 0.875rem;
    color: var(--gray);
    margin-right: 0.5rem;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    background-color: var(--silver);
    color: var(--black);
    border-radius: 2px;
    text-transform: lowercase;
}

.resume {
    max-width: 720px;
    margin: 0 auto;
}

.resume h2 {
    font-size: 1rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray);
}

.resume h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 1.5rem 0 0.5rem;
    text-transform: none;
}

.resume h3 + p {
    margin-top: 0.5rem;
}

.resume .job-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.resume .job-date {
    color: var(--gray);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: block;
}

.resume p {
    margin-block: 0.5rem;
    line-height: 1.6;
}

.resume ul {
    margin-block: 0.75rem;
    padding-left: 1.25rem;
}

.resume li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.resume hr {
    border: none;
    border-top: 1px solid var(--silver);
    margin: 2rem 0;
}

.resume a {
    color: var(--anchor-color);
}

.resume .skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.9375rem;
}

.resume .certification {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.resume .certification-name {
    font-weight: 600;
}

.resume .certification-issuer {
    color: var(--gray);
}

.resume .certification-date {
    color: var(--gray);
    font-size: 0.875rem;
}

.resume .project {
    margin-bottom: 1rem;
}

.resume .project-name {
    font-weight: 600;
}

.resume .project-date {
    color: var(--gray);
    font-size: 0.875rem;
}

.resume .education {
    color: var(--gray);
    font-size: 0.9375rem;
}

@media print {
    * {
        color: #000;
    }
    .site-nav, footer, .site-header {
        display: none;
    }
}