html {
    font-family:sans-serif;
    color:#080808;
    overflow-y: scroll;
    height: 100%;
    font: 100%/1.5 sans-serif;
    word-wrap: break-word;
    margin: 0 auto;
    padding: 1.5em;
}
body {
    margin:0 auto;
    padding:1rem;
    background: #f6f1ec;
    color: black;
    font-size: 18px;
    line-height: 130%;
}


@media (min-width: 768px) {
    html {
        font-size: 125%;
        max-width: 48em;
    }
}

.figure {
    text-align: center;
    font-size: 15px;
    font-style: italic;
}

.figure-number {
    display: none;
}

.container {
    /* padding:1rem; */
   /* text-align: center; */
}

.container pre {
    display: inline;
    justify-content: space-between;
}

main {
    grid-area: main;
}

footer {
    padding-top: 2em;
    grid-area: footer;
}

h1 {
    color: purple;
    text-decoration: none;
    text-align: center;
}

h2 a {
    color: purple;
    text-decoration: none;
}

h2 {
    color: #45818e;
}

h3 {
    color: purple;
}

a:link {
    color: #ce7e00;
    text-decoration: none;
}

a:visited {
    color: #ce7e00;
    text-decoration: none;
}

a:hover {
    color: purple;
}

header a:link {
    color: #f6f1ec;
    text-decoration: none;
}

header a:visited {
    color: #f6f1ec;
    text-decoration: none;
}

header a:hover {
    color: #ce7e00;
}

img {
    margin: auto;
    max-width: 40%;
    display: block;
}

.index {
    display:flex;
    flex-direction:row
}
.index .article-list {
    flex-grow:1
}
.index .article-list .article {
    margin-bottom:1rem
}
.index .article-list .date {
    display:block;
    color:#333
}
.index aside {
    width:40%
}
.index aside img {
    display:block;
    margin:0 auto 1rem;
    border-radius:5px
}
.index aside dt {
    font-size:.9rem
}
.index aside dd {
    margin-left:0
}
.index aside dd:not(:last-child) {
    margin-bottom:.5rem
}
@media(max-width:640px) {
    .index aside {
        display:none
    }
}
article {
    margin:0 auto;
    max-width:720px;
    line-height:1.3
}
article img,
article video,
article iframe {
    display:block!important;
    margin:0 auto!important;
    max-width:90%
}
@media(max-width:640px) {
    article img,
    article video,
    article iframe {
        max-width:calc(100% - 2rem)
    }
}
article .comment {
    margin:2rem auto 0;
    max-width:80%;
    color:#333
}
.footnotes {
    font-size:.85rem
}
footer {
    margin-top:2rem;
    text-align:center;
    font-size:.8rem;
    color:#333
}
.float-img {
    float:right;
    display:inline;
    padding-left:1rem
}
@media(max-width:640px) {
    .float-img {
        display:block;
        float:none;
        padding-left:inherit
    }
}
pre {
    max-width: 50%;
    color: purple;
}

/* TOP BAR */
header {
    padding:1rem;
    background: purple;
    display: flex;
    font-size: 20px;
    justify-content: space-between;
}

header .headertitle{
    font-style: italic;
    text-align: center;
    color: #f6f1ec;
}

header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header a + a {
    margin-left: 1rem;
}

/* ARTICLE LIST */
.posts {
    margin: 0;
    list-style: none;
}
.posts .post a {
    display: flex;
    padding: 0.5em 0;
    color: black;
}
.posts .post a:hover, .posts .post a:focus, .posts .post a:active {
    text-decoration: none;
    background: rgba(200, 200, 200, 0.2);
}
.posts .post date {
    vertical-align: middle;
    padding-right: 2rem;
    color: grey;
}

/* VALIDATION FORMAT */
.status {
    text-align: center;
    font-size: 16px;
}


/* GPX map with leaflet */
.leaflet-container {
    max-width: 100%;
}
