h1,
h2,
h3,
h4,
h5 {
    font-size-adjust: 0.5;
}

a {
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

body {
    margin: 0;
    padding: 0;
    font-size: 100%;
    font-family:
        Lora, "Palatino Linotype", "Book Antiqua", "New York", "DejaVu serif",
        serif;
    text-rendering: optimizeLegibility;
}

body footer {
    text-align: center;
    padding: 0 2em;
}

body footer a:link,
body footer a:visited {
    color: #999;
}

.site-title {
    font-size: 2.5em;
    margin-bottom: 10px;
    /* text-align: center; */
}

.site-title a {
    background-position: center top;
    background-repeat: no-repeat;
    display: inline-block;
    width: 100%;
    background-size: 256px 256px;
    padding-top: 286px;
    background-size: 256px 256px;
    background-image: url(/logo-big.jpg);
    text-decoration: none;
    color: #444;
}

.site-title-single a {
    padding-left: 105px;
    background-position: left;
    background-repeat: no-repeat;
    background-size: 100px 100px;
    height: 100px;
    display: inline-block;
    background-image: url(/logo-big.jpg);
    text-decoration: none;
    color: #444;
}

header.landing {
    padding: 0 1em;
    text-align: center;
    max-width: 50em;
    margin: 3em auto 4em;
}

header.single {
    margin: 0 auto;
    padding: 1em 2rem;
}

header.single h1 {
    display: inline;
}

header.single nav {
    display: inline;
    margin-left: 20px;
}

header nav a {
    color: #767676;
}

nav {
    font-size: 1.2em;
    margin-bottom: 20px;
}

/* Put some margin between the nav links. */
header nav > a:not(:first-child) {
    margin-left: 20px;
}

.block {
    border: 1px dotted white;
    padding: 5px 15px;
    margin: 0 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.block h1 {
    font-size: 1em;
    text-align: center;
    margin-bottom: 0;
}

.small {
    font-size: 0.8em;
}

.wave {
    background: #111;
    color: #fff;
    text-shadow:
        1px 1px 10px #fff,
        1px 1px 10px #ccc;
}

footer {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer hr {
    width: 100%;
    max-width: 40em;
}

article p.summary {
    font-style: italic;
}

section#wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

section#wrapper article {
    max-width: 50em;
    margin: 1em;
    word-wrap: break-word;
    line-height: 1.5;
}

.post-title a:link {
    color: #333;
}

.post-title a:visited {
    color: #444;
}

a:visited {
    color: #444;
}

figure {
    align-self: center;
    text-align: center;
    font-style: italic;
}

article img {
    max-width: 100%;
}

.date {
    font-size: 0.9em;
}

.title h3 {
    margin-top: 0;
}
#prev-next {
    display: flex;
    flex-direction: row;
    margin-top: 40px;
}
#prev-next a {
    justify-content: center;
    max-width: 400px;
    display: flex;
}

a.selected {
    font-weight: 700;
}

img.preview-img {
    max-width: 400px;
    max-height: 400px;
}
