/**
*  Based on Publish Foundation theme
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #fff;
    color: #000;
    font-family: -apple-system, BlinkMacSystemFont, Helvetica, Arial;
    text-align: center;
}

.wrapper {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 40px;
    text-align: left;
}

header {
    background-color: #eee;
}

header .wrapper {
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: center;
}

header a {
    text-decoration: none;
}

header .site-name {
    font-size: 1.5em;
    color: #000;
    font-weight: bold;
}

nav {
    margin-top: 20px;
}

nav li {
    display: inline-block;
    margin: 0 7px;
    line-height: 1.5em;
}

nav li a.selected {
/*    text-decoration: underline;*/
    padding-bottom: 0.5em;
    border-bottom: 1px solid;
}

h1 {
    margin-bottom: 20px;
    font-size: 2em;
}

h2 {
    margin: 20px 0;
}

h3 {
    margin-top: 2em;
}

p {
    margin-bottom: 10px;
    line-height: 1.4;
}

a {
    color: inherit;
}

ul {
    margin: 1.0em 1.0em 0em 0em;
}

ul li {
    margin-bottom: 0.5em;
}

.title {
    font-size: 120%;
}

.description {
    margin-bottom: 40px;
}

.item-list > li {
    display: block;
    padding: 20px;
    border-radius: 20px;
    background-color: #eee;
    margin-bottom: 20px;
}

.item-list > li:last-child {
    margin-bottom: 0;
}

.item-list h1 {
    margin-bottom: 15px;
    font-size: 1.3em;
}

.item-list p {
    margin-bottom: 0;
}

.tag-list {
    margin-bottom: 15px;
}

.tag-list li,
.tag {
    display: inline-block;
    background-color: #934656;
    color: #FFCAD8;
    padding: 4px 6px;
    border-radius: 5px;
    margin-right: 5px;
}

.tag-list a,
.tag a {
    text-decoration: none;
}

.item-page .tag-list {
    display: inline-block;
}

.content {
    margin-bottom: 40px;
}

.content p {
    line-height: 1.5;
    text-rendering: optimizeLegibility;
}

.browse-all {
    display: block;
    margin-bottom: 30px;
}

.all-tags li {
    font-size: 1.4em;
    margin-right: 10px;
    padding: 6px 10px;
}


article a:link       { text-decoration: none; border-bottom: 1px dashed ; }
article a:link:hover { text-decoration: none; border-bottom: 1px solid ; }

.tag-list a:link { font-weight: normal; text-decoration: none; border-bottom: none; }
.tag-list a:link:hover { font-weight: bold; text-decoration: none; border-bottom: none; }

h1 a:link { text-decoration: underline; border-bottom: none; }
h1 a:link:hover { text-decoration: underline; border-bottom: none; }

footer {
    color: #B58672;
}

.item-metainfo {
    padding: 0;
    margin: 0 0 0.5em 0;
    font-size: 85%;
    font-style: italic;
}

.content table {
    margin: 3em auto;
    border-collapse: collapse;
    border: 1px solid;
}

.content thead {
    border-bottom: 1px solid;
}
.content th {
    padding: 0 0.5em;
    text-align: center;
    padding: 0.5em 1em;
}
.content td {
    padding: 0.25em 1em;
}


@media (prefers-color-scheme: light) {
    body {
        background-color: #FFCAD8;
    }

    body,
    header .site-name {
        color: #5D1429;
    }

    .item-list > li {
        background-color: #FFAEBD;
    }

    header {
        background-color: #FFAEBD;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #782E3F;
    }

    body,
    header .site-name {
        color: #FFCAD8;
    }

    .item-list > li {
        background-color: #5D1429;
    }

    header {
        background-color: #5D1429;
    }
}

@media(max-width: 600px) {
    .wrapper {
        padding: 40px 20px;
    }
}
