body {
    font-family: 'Inter', sans-serif;
    background: #fffff9;
    color: #333;
}

aside,
.dek,
.content.text-block,
.centered > p,
.centered li,
blockquote {
    font-size: 1.25rem;
    line-height: 150%;
}

.centered li,
blockquote,
figure {
    margin: 1rem 0;
}

.centered li {
    border-radius: 3rem;
}

.centered li:nth-of-type(odd) {
    background: rgba(255, 165, 0, .75);
}

.centered li:nth-of-type(even) {
    background: rgba(255, 165, 0, .25);
}


blockquote {
    font-style: italic;
}

blockquote>p>a {
    color: inherit;
    display: block;
    text-align: right;
    margin-top: 2rem;
    font-weight: 300;
    font-style: normal;
}

.main blockquote>p>a {
    font-size: 1.25rem;
}

blockquote>p>a::before {
    content: '– ';
}

article figure> :first-child,
.main blockquote p,
.text-block img,
.centered li {
    position: relative;
    display: block;
    max-width: 100%;
    margin: auto;
}

.text-block img[src *= "headshot"] {
    max-width: 50%;
    min-width: 15rem;
    border-radius: 50%;
    background: rgba(12, 174, 255, 0.5);
    background: linear-gradient(220deg, rgba(12,174,255,0.75) 50%, rgba(12,174,255,0.25) 100%);
    background-clip: content-box;
    padding: 5px;
    border: 1px solid rgba(12, 174, 255, 0.5);
}

article figure>img {
    max-height: 30em;
}

article table {
    overflow-x: scroll
}

.table-centerall th, .table-centerall td {
    text-align: center;
    vertical-align: middle;
}

.table-insideborders tbody td {
    border-width: 1px;
    border-style: solid;
    border: 1px 1px 1px 0;
}

.table-insideborders tbody th[scope="row"] {
    border-right: 1px solid black;
}

figcaption {
    font-style: italic;
    font-size: small;
    text-align: center;
    margin-top: 2em;
}

article aside {
    font-style: italic;
    background: rgba(255, 165, 0, .75);
    color: #333;
    display: block;
    font-size: 1.5em;
    padding: 2rem;
    margin: 1rem;
    text-align: center;
}

article aside.image {
    padding: 1px;
}

article aside.image img {
    width: 100%;
}

.centered {
    text-align: center;
}

.centered p,
.centered ul {
    text-align: left;
}

.centered ul {
    font-style: italic;
    list-style: none;
}

nav.pagination a[rel='next']::after {
    content: '\00a0\00a0\276d';
}

nav.pagination {
    font-size: 1.5rem;
    width: 100%;
    display: inline-block;
    text-align: center;
    margin-top: 3rem;
}

.container-fluid {
    padding: 0;
    overflow: hidden;
}

.main .content,
.page .content,
footer#contact {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.main .content {
    margin-bottom: 8rem;
}

.main .content > p,
.main .content > * > p {
    max-width: 21em;
    margin-left: auto;
    margin-right: auto;
}

.main .content.cta-sm {
    max-width: 34rem;
}

.main #title {
    margin-bottom: 8rem;
    display: flex;
    justify-content: center;
}

.main #title h1 {
    font-size: 5rem;
    font-weight: 300;
    line-height: 75%;
    text-align: right;
    color: #ccc;
}

.showTitleOnScroll #title h1 {
    margin-top: 4rem;
    text-align: center;
    line-height: 100%;
}

.main #title span {
    display: block;
}

#top-nav h1,
footer#contact,
.page .content,
.content.text-block,
.main .content > header {
    max-width: 55rem;
    margin-left: auto;
    margin-right: auto;
}

.single-article header {
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 3em;
}

.single-article footer#contact {
    margin-top: 3rem;
}

h1,
h2,
article .content h3,
table,
blockquote,
nav,
aside,
.content.text-block,
.dek,
.centered p,
.centered ul {
    font-family: 'Source Sans Pro', sans-serif;
}

article>header h2 {
    text-transform: capitalize;
}

.main #top-nav h1,
.single-article header h2 {
    font-size: 3rem;
}

.single-article article h3 {
    padding-top: 1rem;
}

.article-banner {
    width: 100%;
    margin-bottom: 1em;
}

article footer {
    margin-top: 3em;
}

.main .photos::before,
.main .posts::before,
[class*=" cta"] .centered li,
footer#contact::before {
    font-family: 'fontello';
    font-size: 3rem;
}

.main .photos::before,
.main .posts::before,
footer#contact::before {
    position: relative;
    left: calc(50% - 0.5em);
}

.posts::before {
    content: '\E80A';
}

.photos::before {
    content: '\E80E';
}

footer#contact::before {
    left: calc(50% - 1.125em);
    content: '\e80a  \e80e';
}

.gallery {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.posts .gallery > * {
    margin: 3rem 0 0 1rem;
}

.posts .gallery {
    margin: -3rem 0 0 -1rem;
}

.photos .gallery {
    margin-left: -0.5rem;
    width: calc(100% + 1rem);
}

.gallery header a {
    color: inherit;
}

.gallery-item img {
    width: 100%;
}

article.gallery-item img {
    margin-bottom: 0.5em;
}

.underline-titles h2 {
    max-width: 34rem;
    font-weight: 800;
    display: inline-block;
    padding-bottom: 0.25rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border-bottom: 1px solid black;
    margin-bottom: 1rem;
}

header.underline-titles {
    margin-bottom: 1rem;
}

.main .content[class*=" cta"],
.text-block.full-screen {
    padding: 0;
}

.text-block.full-screen {
    margin: 0;
}

.text-block.full-screen div * {
    width: 100vw;
    height: calc(100vh - 5rem);
}

body.resume header#title {
    margin-bottom: 1rem;
}

[class*=" cta"] > div {
    border-radius: 3rem;
    background-color: rgba(12, 174, 255, 0.25);
    padding: 2rem 0.5rem;
}

.cta-sm > div {
    padding: 2rem 1rem 1rem 1rem;
}

[class*=" cta"] h2 {
    font-size: 3rem;
    border-bottom: none;
}

.main .content[class*=" cta"] p {
    max-width: 55rem;
}

.cta-sm p {
    padding: 0 1rem;
}

#copyright {
    text-align: right;
    margin-top: 3rem;
    margin-bottom: 0;
}

footer#contact ul {
    margin-bottom: 3em;
    padding-left: 1.125em;
}

footer#contact .underline-titles>h2 {
    padding-left: 0;
}

footer#contact .gallery {
    padding-top: 2em;
}

article .dek,
.content.text-block,
.centered > p,
.centered > ul,
blockquote {
    font-weight: 300;
}

.centered li,
.main blockquote {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
    font-weight: normal;
}

.main blockquote::before {
    text-align: left;
    display: block;
    position: relative;
    font-size: 20em;
    color: rgba(255, 165, 0, .25);
    top: 0.25em;
}

.main blockquote:nth-of-type(odd)::before {
    content: '\201c';
    left: -0.2em;
}

.main blockquote:nth-of-type(even)::before {
    content: '\201d';
    left: calc(100% - 0.35em);
}

.centered ul {
    padding: 0;
}

[class*=" cta"] .centered ul {
    text-align: center;
    margin: 2rem auto 3rem auto;
}

.cta-sm .centered ul {
    margin: 1rem auto;
}

[class*=" cta"] .centered li {
    display: inline;
    font-style: normal;
    padding: 0;
    margin: 1rem;
    background: none;
}

[class*=" cta"] li a {
    visibility: hidden;
    display: inline-flex;
    width: 5rem;
    height: 5rem;
    margin-bottom: 1rem;
}

[class*=" cta"] li a::after {
    visibility: visible;
    position: absolute;
    line-height: 5rem;
    width: 5rem;
    top: 0;
    border-radius: 5rem;
    color: #fffff9;
    background: #333;
}

[class*=" cta"] li a[href *= "twitter"]::after { content: '\f099' }
[class*=" cta"] li a[href *= "linkedin"]::after { content: '\f0e1' }
[class*=" cta"] li a[href *= "medium"]::after { content: '\e800' }
[class*=" cta"] li a[href *= "github"]::after{ content: '\e801' }
[class*=" cta"] li a[href *= "resume"]::after{ content: '\f15c' }

[class*=" cta"] li a:hover {
    text-decoration: none;
}

[class*=" cta"] li a:hover::after {
    color: white;
    background-color: rgba(12, 174, 255);
}

#top-nav {
    background: #fffff9f0;
    width: 100%;
    text-align: left;
    z-index: 100;
}

#top-nav h1 {
    font-weight: 900;
}

#top-nav a {
    color: inherit;
    text-decoration: none;
}

#top-nav a:hover h1 {
    color: #333;
}

.main #top-nav h1 {
    text-align: center;
    color: #ccc;
}

.showTitleOnScroll #top-nav h1 {
    color: inherit;
}

.showTitleOnScroll #top-nav,
.page #top-nav {
    position: fixed;
    top: -4em;
    transition: top 0.3s;
}

.page #top-nav h1 {
    padding-left: 1rem;
}

.admonition {
    font-style: italic;
}

.admonition-info {
    padding: 0 1rem 2rem 1rem;
}

@media (min-width: 500px) {

    .centered blockquote,
    .centered li {
        font-size: 1.5rem;
        padding: 3rem;
    }

    header.underline-titles {
        margin-bottom: 2rem;
    }

    .centered li,
    blockquote,
    figure {
        margin: 3rem 5rem;
    }

    .centered li {
        border-radius: 3rem;
    }

    [class*=" cta"] > div {
        border-radius: 4rem;
        padding: 3rem;
    }

    .cta-sm > div {
        padding: 2rem;
    }

    [class*=" cta"] h2 {
        padding-bottom: 2rem;
    }

    [class*=" cta"] p {
        font-weight: inherit;
        font-size: 2rem;
    }

    article aside {
        width: calc(100%/3);
    }

    article aside.image {
        width: 50%;
    }

    article aside:nth-of-type(odd) {
        float: right;
        margin-right: 0;
    }

    article aside:nth-of-type(even) {
        float: left;
        margin-left: 0;
    }

    .main .content[class*=" cta"],
    .main .content,
    .page .content,
    footer#contact {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .main .content {
        margin-bottom: 13rem;
    }

    footer#contact .gallery {
        width: 100%;
    }

    footer#contact .text-block,
    .posts .gallery-item {
        width: calc(50% - 1rem);
    }

    .text-block.full-screen,
    .photos .gallery {
        margin-left: -1rem;
        width: calc(100% + 2rem);
    }

    .photos .gallery {
        flex-direction: column;
        max-height: 200vw;
    }

    .photos .gallery-item {
        width: 50%;
    }

    .admonition-info {
        padding: 0 2rem 2rem 2rem;
    }
}

@media (min-width: 768px) and (orientation: landscape) {
    .posts .gallery-item {
        width: calc(100%/3 - 1rem);
    }
}

@media (min-width: 65em) {
    article aside:nth-of-type(odd) {
        float: right;
        margin-right: -5rem;
    }

    article aside:nth-of-type(even) {
        float: left;
        margin-left: -5rem;
    }
}

@media print {
    #top-nav {
        display: none;
    }
}
