@font-face {
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url(/fonts/lexend.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Cornerstone';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url(/fonts/cornerstone.woff2) format('woff2');
}

html {
    height: 100%;
    font-size: 14px;
}

body {
    height: 100%;
    color: hsla(0, 0%, 20%, 1);
    background-color: hsla(0, 0%, 95%, 1);
    font-family: 'Lexend', 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
}

body:after,
header:after,
main:after,
footer:after {
    display: table;
    content: '';
    clear: both;
}

header, main, footer {
    display: block;
    width: 80%;
    max-width: 1200px;
    padding: 40px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

header {
    z-index: 7;
    padding-top: 50px;
}

header #logo {
    height: 100px;
    width: 100px;
    border: none;
    outline: none;
    cursor: pointer;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
}

nav-gem {
    display: none;
}

nav {
    display: block;
    float: right;
    height: 53px;
}

nav ul li {
    display: block;
    position: relative;
    float: left;
    transition: border 0.7s;
    cursor: pointer;
    padding-bottom: 2px;
    border-bottom: 1px solid hsla(0, 0%, 20%, 0);
    margin-left: 20px;
    text-transform: lowercase;
}

nav ul li:hover,
nav ul li.active {
    border-bottom-color: hsla(0, 0%, 10%, 1);
}

nav ul li a {
    text-decoration: none;
    color: inherit;
    font-size: 14px;
    font-family: 'Lexend', sans-serif;
}

nav ul li.dropdown {
    border-bottom: none;
    margin-left: 0;
    cursor: default;
}

nav ul li.dropdown a {
    cursor: pointer;
}

nav ul li.dropdown ul {
    visibility: hidden;
    position: relative;
    top: 17px;
    padding: 16px 27px 12px 20px;
    background-color: hsla(0, 0%, 20%, 1);
}

nav ul li.dropdown.visible ul {
    visibility: visible;
}

nav ul li.dropdown ul li {
    display: block;
    float: unset;
    margin: 7px 0;
    padding-right: 17px;
    cursor: pointer;
    font-size: 0.9em;
    letter-spacing: 0.02em;
}

nav ul li.dropdown.visible:before {
    content: '\2666';
    position: absolute;
    top: 33px;
    left: -1px;
    font-size: 2em;
    line-height: 0;
    z-index: 1;
}

nav ul li.dropdown ul li:hover {
    display: block;
    float: unset;
    margin: 7px 0;
    border-bottom-color: hsla(0, 0%, 95%, 1);
}

nav ul li.dropdown ul li a {
    color: hsla(0, 0%, 95%, 1);
}

main h1 {
    font-family: 'Cornerstone', sans-serif;
    font-size: 2em;
    font-weight: 700;
    text-transform: lowercase;
    letter-spacing: 0.04em;
    margin-left: -7px;
}

main h1 sup {
    font-size: 0.7em;
    letter-spacing: 0.04em;
    font-weight: 400;
}

main h2#description {
    font-size: 1em;
    color: hsla(0, 0%, 95%, 1);
    font-weight: 400;
    background-color: hsla(0, 0%, 20%, 1);
    padding: 15px 20px 12px 20px;
}

main h3 {
    padding: 0;
    margin: 0;
}

main section {
    line-height: 1.7em;
    text-align: left;
}

main section:after {
    display: table;
    content: '';
    clear: both;
}

main a[href] {
    color: inherit;
    text-decoration: none;
    border-bottom: 2px solid hsla(0, 0%, 70%, 1);
    padding-bottom: 2px;
    transition: border 0.7s;
}

main button {
    display: block;
    color: hsla(0, 0%, 20%, 1);
    background-color: hsla(0, 0%, 95%, 1);
    border: 2px solid hsla(0, 0%, 20%, 1);
    padding: 12px 22px 12px 20px;
    font-size: 1em;
    cursor: pointer;
    margin: 20px 0;
    transition: background 0.7s;
    font-family: inherit;
    letter-spacing: 0.01em;
}

main button.inline {
    display: inline;
}

main button.grid {
    display: inline;
    margin: 4px 4px 4px 4px;
}

main button:hover {
    color: hsla(0, 0%, 95%, 1);
    background-color: hsla(0, 0%, 20%, 1);
    border-color: hsla(0, 0%, 95%, 1);
}

main button + strong:before {
    content: '-------\00A0\0028\00A0';
}

main button + strong:after {
    content: '\00A0\0029';
}

main a[href]:hover {
    border-bottom-color: hsla(211, 100%, 50%, 1);
}

main img {
    cursor: pointer;
    box-shadow: 0px 0px 4px 0px hsla(0, 0%, 20%, 0.7);
}

main img[type^='banner'] {
    box-shadow: unset;
    display: block;
    max-height: 300px;
    margin: 0 auto;
    cursor: default;
}

main img[type^='full'] {
    width: 100%;
}

main img[type^='borderless-inline'] {
    cursor: default;
    box-shadow: unset;
}

main img[type^='borderless-inline'],
main img[type^='inline'] {
    float: left;
    margin: 7px 35px 15px 0;
    max-width: 375px;
    width: 100%;
}

main img[type$='right'] {
    float: right;
}

main img[type^='borderless-inline'][type$='right'],
main img[type^='inline'][type$='right'] {
    margin: 7px 0 15px 35px;
}

main img[type^='inline'] + img {
    float: right;
    margin: 30px 0 15px 35px;
    max-width: 375px;
    width: 100%;
}

main img[type*='small'] {
    max-width: 170px;
}

main img[type*='medium'] {
    max-width: 270px;
}

main img[type*='large'] {
    max-width: 475px;
}

main article img[type^='inline'] {
    max-width: 500px;
}

main comments {
    margin-top: 40px;
    display: block;
}

#error main {
    margin: 14% auto;
    width: 40%;
}

block {
    display: block;
}

block.half {
    max-width: 46.5%;
    float: left;
    padding: 20px 1.75%;
}

block:after {
    display: table;
    content: '';
    clear: both;
}

block img[type^='inline'] {
    max-width: 45%;
}

pre {
    font-family: Consolas, monospace;
    margin: 0 27px -24px 27px;
    padding: 0 27px 17px 27px;
    background-color: hsla(0, 0%, 100%, 1);
    overflow-x: scroll;
}

blockquote {
    display: inline-block;
    padding: 40px 40px 40px 20px;
    margin: 0;
    font-size: 1.7em;
    font-family: inherit;
    font-weight: 400;
    line-height: 1.4em;
    color: hsla(0, 0%, 20%, 1);
    border-bottom: 1px solid hsla(0, 0%, 85%, 1);
    border-top: 1px solid hsla(0, 0%, 85%, 1);
    width: calc(100% - 80px);
}

blockquote author {
    display: block;
    font-size: 1em;
    font-family: 'Cornerstone', sans-serif;
    text-align: left;
    margin-top: 20px;
}

hr.dashed {
    border-top: 0;
    border-bottom: 2px dashed hsla(0, 0%, 70%, 1);
}

hr.thin {
    border-top: 0;
    border-bottom: 1px solid hsla(0, 0%, 85%, 1);
    margin: 20px 0;
}

vertical-pad {
    display: block;
    height: 20px;
    width: 100%;
}

type {
    display: inline-block;
    opacity: 0;
}

gallery {
    display: block;
    padding-top: 40px;
}

gallery img {
    margin: 5px 0.4%;
    display: inline-block;
}

/*
--------------------------------
  Menu
--------------------------------
*/

menu {
    position: absolute;
    display: none;
    height: 200px;
    width: 200px;
    z-index: 100;
    background: hsla(0, 0%, 95%, 1);
    box-shadow: 0 0 4px hsla(0, 0%, 0%, 0.2);
    border: 1px solid hsla(0, 0%, 0%, 0.2);
    border-radius: 4px;
    padding: 4px 0;
    margin: 0;
}

menu hr {
    border-top: none;
    border-bottom: 1px solid hsla(0, 0%, 0%, 0.2);
}

menu item {
    display: block;
    width: calc(100% - 28px);
    padding: 7px 14px 7px 14px;
    text-align: left;
    font-size: 0.9em;
    cursor: pointer;
    font-weight: 700;
    border: 1px solid hsla(0, 0%, 0%, 0);
}

menu item:hover {
    background-color: hsla(0, 0%, 44%, 1);
    color: hsla(0, 0%, 95%, 1);
    border: 1px solid hsla(0, 0%, 0%, 0.2);
    position: relative;
    left: -1px;
}

/*
--------------------------------
  LightBox Images
--------------------------------
*/

lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: hsla(0, 0%, 10%, 0.9);
    display: none;
    z-index: 10;
    cursor: pointer;
    overflow: auto;
}

lightbox img {
    display: block;
    position: relative;
    top: 1.5%;
    height: 97%;
    max-width: 98%;
    margin: 0 auto;
}

lightbox img[type*='narrow'] {
    height: unset;
    top: 17%;
}

lightbox img[type*='wide'] {
    max-width: 1000%;
}

lightbox img[type*='natural'] {
    width: unset;
}

/*
--------------------------------
  WordBox Text
--------------------------------
*/

wordbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: hsla(0, 0%, 10%, 0.97);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
}

wordbox p {
    font-size: 2.4em;
    letter-spacing: -0.04em;
    color: hsla(0, 0%, 85%, 1);
    text-align: left;
    height: auto;
    max-width: 87%;
    margin: auto auto;
}

wordbox author {
    display: block;
    text-align: left;
    width: 100%;
    padding-top: 20px;
}

wordbox input#prompt {
    background-color: hsla(0, 0%, 10%, 0);
    font-family: Cornerstone, sans-serif;
    color: hsla(0, 0%, 95%, 1);
    font-size: 5em;
    border: none;
    border-bottom: 3px solid hsla(0, 0%, 95%, 1);
    padding-bottom: 7px;
    outline: none;
}

/*
--------------------------------
  Login
--------------------------------
*/

main#login {
    text-align: center;
    margin-top: 70px;
}

main#login input {
    padding: 14px;
    border: 2px solid;
    font-size: 1em;
}

main#login button {
    display: inline-block;
}

/*
--------------------------------
  Edit
--------------------------------
*/

#pencil {
    margin-left: 70px;
}

nav ul li#pencil.dropdown.visible:before {
    top: 34px;
}

edit {
    display: none;
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: hsla(0, 0%, 95%, 1);
    z-index: 7;
}

edit ul {
    text-align: right;
    list-style-type: none;
    margin: 30px 30px 0;
}

edit ul li {
    display: inline-block;
    color: hsla(0, 0%, 20%, 1);
    background-color: hsla(0, 0%, 95%, 1);
    border: 2px solid hsla(0, 0%, 20%, 1);
    padding: 12px 22px 12px 20px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.7s;
    font-family: inherit;
    letter-spacing: 0.01em;
}

edit ul li:hover {
    color: hsla(0, 0%, 95%, 1);
    background-color: hsla(0, 0%, 20%, 1);
    border-color: hsla(0, 0%, 95%, 1);
}

edit ul li:last-of-type {
    font-size: 1.7em;
    line-height: 0.99em;
    padding: 11px 14px 9px 15px;
    position: relative;
    top: 4.8px;
}

edit fields {
    display: block;
    width: 92%;
    margin: 0 auto;
}

edit field {
    display: inline-block;
    width: 20%;
    padding-bottom: 20px;
    padding-right: 40px;
    vertical-align: top;
}

edit field:nth-child(3) {
    width: 48.4%;
}

edit field:nth-child(5),
edit field:nth-child(6) {
    width: 46.3%;
}

edit field:nth-child(4),
edit field:nth-child(7) {
    display: block;
    padding-right: 0;
    width: 95.9%;
}

edit field input,
edit field textarea {
    padding: 14px;
    border: 2px solid;
    font-size: 1em;
    width: calc(100% - 32px);
}

edit field:nth-child(5) textarea,
edit field:nth-child(6) textarea {
    height: 57px;
}

edit field:nth-child(7) textarea {
    height: 400px;
}

edit counter {
    display: block;
    font-weight: 600;
}

edit counter.warning {
    color: hsla(0, 40%, 50%, 1);
}

/*
--------------------------------
  Responsive Layout
--------------------------------
*/

@media screen and (max-width: 1024px) {
    header, main, footer {
        width: calc(90% - 40px);
        cursor: pointer;
    }

    main article img {
        display: block;
        width: 100%;
        max-width: unset !important;
        height: auto;
        max-height: unset !important;
        margin-left: auto;
        margin-right: auto;
    }

    main img[type*='nomobile'] {
        display: none;
    }

    main article img[type^='inline'] {
        margin-bottom: 40px;
    }

    gallery img {
        margin: 5px 0.3%;
    }

    block.half {
        max-width: 96.5%;
        padding: 20px 1.75%;
    }

    blockquote {
        font-size: 1em;
    }

    lightbox {
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    lightbox img {
        height: unset;
        max-height: 97%;
        top: 0;
    }

    wordbox p {
        font-size: 1.4em;
    }

    pre {
        margin: 0;
    }
}

@media screen and (max-width: 768px) {
    main {
        padding-top: 0;
    }

    gallery img {
        display: block;
        width: 100%;
        max-width: unset !important;
        height: auto;
        max-height: unset !important;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
    }

    main h1 {
        font-size: 1.4em;
        font-weight: 800;
    }

    main h1 sup {
        display: block;
        margin-left: 18px;
    }

    main h1 glyph {
        display: block;
        float: left;
        margin: 0 5px 10px 0;
    }

    main button + strong {
        display: none;
    }

    nav {
        position: fixed;
        height: 100%;
        top: 0;
        right: 0;
        margin-right: -240px;
        background-color: hsla(0, 0%, 14%, 1);
        color: hsla(0, 0%, 95%, 1);
        font-size: 1.2em;
        box-shadow: 0 0 4px 0 hsla(0, 0%, 20%, 0.7);
        transition: margin 0.2s;
    }

    nav.visible {
        margin-right: 0;
    }

    nav-gem {
        position: absolute;
        display: block;
        top: 10px;
        right: 20px;
        color: hsla(0, 0%, 20%, 1);
        font-size: 2em;
        cursor: pointer;
    }

    nav ul {
        padding-left: 0;
        padding-top: 10px;
    }

    nav ul li {
        display: block;
        float: unset;
        margin: 0;
        padding: 10px 24px;
        border-bottom: 1px solid hsla(0, 0%, 95%, 0.1);
    }

    nav ul li:hover,
    nav ul li.active {
        border-color: hsla(0, 0%, 95%, 1);
    }

    nav ul li.dropdown {
        border-color: hsla(0, 0%, 95%, 0);
    }

    nav ul li.dropdown ul {
        visibility: hidden;
        background-color: hsla(0, 0%, 14%, 1);
        top: 0;
        left: 10px;
        padding: 4px 7px;
    }

    nav ul li.dropdown.visible ul {
        visibility: visible;
    }

    nav ul li.dropdown ul li {
        display: block;
        float: unset;
        font-size: 0.9em;
        letter-spacing: 0.02em;
        padding: 0;
        width: 170px;
        border-color: hsla(0, 0%, 95%, 0);
    }

    nav ul li.dropdown.visible:before {
        display: none;
    }

    nav ul li.dropdown ul li:hover {
        display: block;
        float: unset;
        margin: 7px 0;
        border-color: hsla(0, 0%, 95%, 0);
    }
}