html {
    display: flex;
    flex-direction: column;
    font-family: "Gentium Basic", "Gentium", serif;
    min-height: 100vh;
    background: url(background.jpeg);
    background-size: cover;
}

body {
    display: flex;
    flex-direction: row;
    flex: 1;
    margin: 3em;
}

#main-container {
    display: flex;
    flex: 1;
    width: 100%;
    max-width: 70em;
    border: 2pt solid black;
    margin: 0 auto;
    padding: 1em;
    background: rgba(255, 255, 255, 0.95);
}

main {
    flex: 1 1 100%;
}

nav {
    width: 15em;
    flex: 0 1 auto;
}

nav a {
    display: block;
    color: inherit;
    text-decoration: none;
}

nav a#homelink {
    font-size: 2em;
    font-weight: 800;
    font-family: "Manrope", sans-serif;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

nav a.crumb {
    margin-left: 1rem;
    color: #8a8a8a;
    line-height: 1.3;
}

nav a.crumb:before {
    content: "/";
}

.imprint {
    margin-top: 2em;
    text-align: right;
}

h1 {
    display: inline-block;
    font-size: 2em;
    font-weight: 700;
    font-family: "Manrope", sans-serif;
    margin-bottom: 1rem;
    margin-top: 2rem;
    border-top: 1pt solid #a0a0a0;
    padding-top: 0.1em;
}

h1:first-child {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

#post-details {
    font-style: italic;
    margin-bottom: 1.5em;
    margin-left: auto;
    width: -moz-fit-content;
    width: fit-content;
    max-width: 20em;
}

#post-details div {
    width: -moz-fit-content;
    width: fit-content;
}

p, address, table {
    line-height: 1.3;
    margin-bottom: 0.7em;
}

p {
    text-align: justify;
    hyphens: auto;
}

address {
    margin-left: 2em;
}

main a {
    color: #606060;
    text-decoration: underline;
}

main a:visited {
    color: #8a8a8a;
    text-decoration: underline;
}

main a:hover {
    transition: all 250ms;
    background-color: #606060;
    color: #ffffff; 
}

h2 {
    font-size: 150%;
    font-family: "Manrope", sans-serif;
    margin-top: 1em;
    margin-bottom: 1em;
    font-weight: bold;
}

time {
    font-weight: normal;
    margin-left: 1em;
    font-size: .8rem;
    font-family: "Manrope", sans-serif;
}

a.read_more {
    margin-left: 1em;
    font-style: italic;
}

strong {
    font-weight: bold;
}

em {
    font-style: italic;
}

table {
    width: 100%;
    border-spacing: 2rem;
}

th {
    font-family: "Manrope", sans-serif;
    text-align: left;
}

th, td {
    padding-left: 1rem;
}

th:first-child, td:first-child {
    padding-left: 0;
}

table.timeline th {
    width: 8em;
    max-width: 50%;
}

p.note {
    font-size: 90%;
}

@media (max-width: 40em) {
    body {
        margin: 1em;
    }

    #main-container {
        flex-direction: column;
    }

    nav {
        margin-bottom: 2rem;
    }

    h1:first-child {
        border-top: 1pt solid #a0a0a0;
        padding-top: 0.1em;
    }

    p {
        text-align: left;
    }
}

/* vim: set sw=4 sts=4 et tw=72: */
