html {
    font-family: Tahoma, sans-serif;
}

@media (min-width: 48rem) {
    html {
        font-size: 16px;
    }
}

@media print {
    html {
        font-size: 10pt;
    }
}

body {
    padding: 0;
    margin: 0;
    background-color: #edeac7;
    color: #000000;
}

a {
    color: #000000;
}

@media print {
    a {
        text-decoration: none;
    }
}

@media print {
    .sidebar {
        display: none;
    }
}

.sidebar {
    text-align: left;
    padding: 0.5rem 1rem;
}

@media (min-width: 48em) {
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 12rem;
        text-align: left;
    }
}

.sidebar .logo {
    background-image: url("logo-large.png");
    background-size: cover;
    background-repeat: no-repeat;
    width: 50%;
    padding-top: 50%;
    margin: 4rem auto;
    vertical-align: middle;
}

@media only screen and (max-width: 48em) {
    .sidebar .logo {
        background-image: url("logo-small.png");
        display: inline-block;
        width: 2rem;
        padding-top: 2rem;
        margin: 0 1em 0 0;
    }
}

.sidebar .logo * {
    display: none;
}

.sidebar ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sidebar li {
    padding: 1rem;
}

@media (max-width: 48em) {
    .sidebar ul {
        display: inline-block;
    }

    .sidebar li {
        display: inline-block;
    }
}

.sidebar nav {
    display: inline-block;
}

.sidebar a {
    display: block;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
}

.sidebar a:hover {
    text-decoration: underline;
}

.sidebar a img {
    height: 1.5em;
}

.content {
    padding: 4rem 6rem;
}

@media (min-width: 48rem) {
    .content {
        max-width: 48rem;
        margin-right: 2rem;
    }
}

@media (min-width: 64rem) {
    .content {
        margin-right: 4rem;
    }
}

@media print {
    .content .page-title {
        display: none;
    }
}

.content h1 h2 {
    clear: both;
}

.content img {
    max-width: 100%;
}

.content .right {
    float: right;
}

.content .half {
    max-width: 50%;
    padding: 1em;
}

.content .third {
    max-width: 33%;
    padding: 1em;
}

.youtube {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.youtube::after {
    display: block;
    content: "";
    padding-top: 56.25%;
}

.youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page,
.post {
    padding: 1rem 0;
    margin-bottom: 1rem;
}

.post {
    border-radius: 1.5rem;
}

.page-title,
.post-title {
    font-size: 1.2rem;
    margin-top: 0;
}

.post-title a {
    text-decoration: none;
}

.page-date,
.post-date {
    display: inline-block;
    margin-top: -0.5rem;
    color: #473f66;
}

.page-date {
    display: inline-block;
}

.tags {
    display: block;
}

.tags ul {
    display: inline;
    list-style: none;
    padding: 0;
}

.tags li {
    display: inline;
}

.tags li::after {
    content: ", ";
}

.tags li:last-child:after {
    content: "";
}

.permalink {
    text-decoration: none;
}

.page-description,
.post-description {
    font-style: italic;
    display: inline-block;
}

hr {
    border-top: 1px dotted #485738;
    border-bottom: 1px dotted #c6b20d;
}

@media screen {
    .raised {
        box-shadow: inset 10px 8px 0px 0 #c6b20d, inset 20px 16px 0px 0 #aa542a, inset 30px 24px 0px 0 #473f66, inset 40px 32px 0px 0 #485738;
        min-height: 100vh;
        border-top-left-radius: 1.5rem;
    }
}

@media screen and (min-width: 48rem) {
    .raised {
        margin-left: 14rem;
        border-top-left-radius: 4rem;
    }
}

.callout {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    background: #2196F3;
    color: #FFFFFF;
    padding: 20px;
    margin: 20px;
    box-shadow: 5px 5px 5px black;
}

.callout a {
    color: #EEE;
}

.callout .icon {
    align-self: center;
    font-weight: bold;
    font-size: 2em;
    padding-right: 20px;
}

pre {
    white-space: pre-wrap;
    padding: 1rem;
    font-family: 'Courier New', monospace;
}

img {
    display: block;
    max-width: 100%;
}

img .left {
    margin-right: auto;
}

img .center {
    margin-left: auto;
    margin-right: auto;
}

img .right {
    margin-left: auto;
}

figure {
    display: table;
    max-width: 100%;
    margin: 25px;
}

figure .left img {
    margin-right: auto;
}

figure .center img {
    margin-left: auto;
    margin-right: auto;
}

figure .right img {
    margin-left: auto;

}

figcaption {
    font-size: 14px;
    padding: 5px 10px;
    margin-top: 5px;
    background: var(--accent);
    color: var(--background);
    display: table-caption;
    caption-side: bottom;
}

.h-cite cite {
    display: block;
    font-weight: bold;
    font-style: normal;
}

.h-resume .h-card .p-name {
    font-weight: bold;
    display: block;
    font-size: x-large;
}

.h-resume .h-card ul {
    list-style-type: none;
    display: flex;
    flex-wrap: nowrap;
    padding: 0 10%;
}

.h-resume .h-card ul li {
    flex-basis: 100%;
}