/* General */
header h1 {
    font-size: 3em;
    text-align: right;
    padding: 0.2em;
}

body {
    margin: auto;
    line-height: 1.5em;
    font-family: 'Courier New', Courier, monospace;
    max-width: 55em;
}

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

h1 {
    margin-bottom: 0;
    line-height: 1.2em;
    margin-top: 1em;
}

a:link, a:visited {
    color: #0000e0;
    text-decoration: none
}

a:hover, a:active {
    color: #0000ff;
    text-decoration: underline
}


/* Single column layout */
nav section, header section, footer section {
    margin: auto;
    padding: 0 0.5em;
}

main  {
    margin: auto auto 10em;
    padding: 0 0.5em;
}


/* Navigation panel */
nav {
    background: #bd4b4bb0;
    line-height: 3em;
}

nav a {
    margin-right: 1em;
    margin-left: 1em;   
}

nav a:link, nav a:visited {
    color: #3b3b3b;
}

nav a:hover, nav a:active {
    color: #777777;
    text-decoration: underline;
}

@media screen and (min-width: 600px) {
    nav .links {
        float: right;
    }
}


/* Footer */
footer {
    /* background: #f0f0f0; */
    border-top: thin solid #e0e0e0;
    margin-top: 2em;
    padding: 1em 0;
    text-align: center;
}

footer section p {
    font-size: 0.8em;
    text-align: left;
    color: gray;
}

footer a {
    margin-right: 1em;
    color: gray;
    text-decoration: underline;
}

footer a:last-child {
    margin-right: 0;
    color: gray;
    text-decoration: underline;
}


/* Posts */
article {
    margin-top: 1em;
    margin-bottom: 1em;
}

article h2 a:link, article h2 a:visited,
article h1 a:link, article h1 a:visited,
.more:link, .more:visited {
    color: #333333;
}

article h2 a:hover, article h2 a:active,
article h1 a:hover, article h1 a:active,
.more:hover, .more:active {
    color: #777777;   
}

article h1 {
    font-size: 2.0em;
}

article h2 {
    font-size: 1.3em;
    margin-bottom: 0;
    line-height: 1em;
    margin-top: 2em;    
}

article fn {
    font-size: 1em;
    color: gray;
    display: block;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

p.meta {
    margin-top: 0;
    font-size: 0.8em;
    color: #777777;
    font-style: italic;
}

p.summary {
    margin-top: 0.25em;
    margin-bottom: 0.25em;
}

div .more {
    margin-top: 0;
    font-weight: bold;
}

/* Specific choices for static pages */

.startpage {
    margin-top: 5em;
}   

.contactpage {
}

/* RSS */
.rss {
    padding: 0.3em 0.35em;
    border-radius: 0.25em;
    font-size: 0.75em;
    font-weight: bold;
}

.rss:link, .rss:visited, .rss:hover, .rss:active {
    color: #ffffff;
    text-decoration: none;
}

.rss:link, .rss:visited {
    background: #ff6600;
}

.rss:hover, .rss:active {
    background: #ff8822;
}
