html {
    --color-jet: #131516;
    --color-mid-grey: #444F61;
    --color-slate: #555F61;
    --color-primary: #632d36;
    --color-camo: #D4CF75;
    --color-border-grey: #ebebeb;

    /* Solarized colors */
    --solarized-base03: #002b36;
    --solarized-base02: #073642;
    --solarized-base01: #586e75;
    --solarized-base00: #657b83;
    --solarized-base0: #839496;
    --solarized-base1: #93a1a1;
    --solarized-base2: #eee8d5;
    --solarized-base3: #fdf6e3;
    --solarized-yellow: #b58900;
    --solarized-orange: #cb4b16;
    --solarized-red: #dc322f;
    --solarized-magenta: #d33682;
    --solarized-violet: #6c71c4;
    --solarized-blue: #268bd2;
    --solarized-cyan: #2aa198;
    --solarized-green: #859900;
    --solarized-green-pale: #9da800;


    /* One half theme */
    --theme-red: #ca1243;
    --theme-yellow: #c18401;
    --theme-orange: #d75f00;
    --theme-green: #50a14f;
    --theme-blue: #4078f2;
    --theme-cyan: #0184bc;
    --theme-purple: #a626a4;
    --theme-brown: #986801;
    --theme-light-green: #5AB559;

    /* offwhite 100 */
    --theme-base0: #fafafa;
    /* gray 100 */
    --theme-base1: #f0f0f1;
    /* gray 200 */
    --theme-base2: #e5e5e6;
    /* gray 300 */
    --theme-base3: #a0a1a7;
    /* gray 400 */
    --theme-base4: #696c77;
    /* gray 500 */
    --theme-base5: #383a42;
    /* gray 600 */
    --theme-base6: #202227;
    /* gray 700 */
    --theme-base7: #090a0b;

    background: var(--theme-base3);
}

body {
    color: var(--color-jet);
}

h1, h2, h3, h4, h5 {
    font-family: 'Oswald', sans-serif;
    font-display: swap;
    font-weight: 500;
    color: var(--color-primary);
}
pre, code {
    font-display: swap;
    font-family: 'Fira Mono', monospace;
}
code {
  white-space: normal;
}
time {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--color-slate);
}
a {
    color: var(--theme-blue);
}
#wrapper {
    background: #fff;
}

/**
 * Forms
 **/
label {
    font-weight: normal;
    color: var(--color-slate);
}
input[type=checkbox] {
    margin-right: 1rem;
    vertical-align: baseline;
}
button,
input[type=submit] {
    text-transform: none;
    border: 1px solid var(--theme-green);
    background: var(--theme-green);
    color: #fff;
    font-size: 1.6rem;
    line-height: 1.5rem;
}
button:hover,
button:active,
button:focus,
input[type=submit]:hover,
input[type=submit]:active,
input[type=submit]:focus {
    color: #fff;
    background: var(--theme-light-green);
}


/**
 * Utilities
 **/
.u-flex {
    display: flex;
}
.u-hide {
    display: none;
}


/**
 * Navigation
 **/
.header-container {
    padding-top: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--color-border-grey);
}
.logo {
    margin: 0;
    position: relative;
}
.logo img {
    max-width: 128px;
}
.nav-links {
    list-style: none;
}
.nav-link {
    font-family: 'Oswald', sans-serif;
    font-display: swap;
    font-size: 2rem;
    color: var(--color-primary);
}
.nav-link a {
    color: var(--color-primary);
    text-decoration: none;
}
.search-trigger {
    float: right;
    color: var(--color-primary);
    border: none;
    width: auto;
    padding: 0.5rem 0 0 0;
    background: none;
}
.search-trigger:hover,
.nav-link a:hover {
    opacity: 0.7;
    background: none;
}

/* Search box */
.search-box {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}
.search-box form {
    margin: 0;
}
.search-box input {
    position: relative;
}
.search-box button {
    padding: 0 1.5rem;
}


/**
 * Content
 */
.node {
    margin-bottom: 4rem;
}
.framed {
    float: left;
    margin-right: 1rem;
}
.post > ul,
.post > ul ul {
    list-style: disc;
    list-style-position: outside;
    margin-left: 1.5rem;
}
.post img {
    display: block;
    margin: 0 auto;
    /* scale images to fit viewport */
    max-width: 100%;
    height: auto;
}


/**
 * Tags
 */
.metadata {
    display: flex;
    margin-bottom: 2rem;
}
.tags {
    list-style: none;
    margin: 0 0 0 2rem;
}
.tags li {
    margin: 0 1rem 0.5rem 0;
    display: inline-block;
}
.tags a {
    background: var(--theme-base1);
    padding: 0.5rem 1rem;
    display: inline-block;
    text-decoration: none;
}

@media (max-width: 400px) {
    .tags {
        display: none;
    }
}

/**
 * Pagination
 **/
.pagination {
  list-style: none;
}
.pagination li {
    display: inline-block;
    margin: 0 0.5rem 0 0;
}
.pagination a {
    border-radius: 50%;
    padding: 0.7rem 1.25rem;
    text-decoration: none;
}
.pagination a:hover {
    background: var(--theme-base3);
}
.pagination .active a {
    border: 2px solid var(--color-primary);
}

/**
 * Footer
 **/
.footer {
    background: var(--theme-base2);
    padding-top: 3rem;
}
.footer h3 {
  color: var(--color-slate);
}
.social {
    display: flex;
}
.social h3 {
    font-size: 2rem;
    padding-right: 3rem;
}
.social ul {
    list-style: none;
    display: flex;
}
.social li {
    padding-right: 3rem;
}
.copyright {
    font-size: 1.1rem;
    color: var(--color-slate);
}

/**
 * Home page
 **/
.mini-bio {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    font-size: 2rem;
    border-bottom: 1px solid var(--color-border-grey);
}


/**
 * Comments
 **/
.comment {
    margin-bottom: 3rem;
}
.comment code {
  white-space: break-spaces;
}
.comment-body {
    color: var(--color-mid-grey);
    font-size: 1.3rem;
}
/* Trim margin off last paragraph */
.comment-body *:last-child {
    margin: 0;
}
.commenter {
    margin: 0.5rem 0 1rem 0;
    padding: 0.5rem 0.5rem 0 0;
    font-size: 1.3rem;
    color: var(--theme-base5);
    display: inline-block;
    border-top: 1px solid var(--color-border-grey);
}
.comment.author span {
    color: var(--color-primary);
    font-weight: bold;
}
.comment-form input[type=email],
.comment-form input[type=text],
.comment-form textarea {
    min-width: 10rem;
    max-width: 40rem;
    width: 100%;
}
.comment-subheading {
    color: var(--color-mid-grey);
}
