/**
*  Publish Hggz theme
*  Copyright (c) Hugo Gonzalez 2020
*  MIT license, see LICENSE file for details
*/

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

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

.wrapper {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: 100%;
}

header {
    background-color: #77B0CC;
}

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

header .banner-wrapper {
    text-align: center;
    background-color: #222222;
}

.banner-text {
    font-size: 2.5em;
    color: #ffffff;
    font-weight: bold;
    position: absolute;
    justify-self: center;
    align-self: center;
    z-index: 1;
}

div.fill-screen {
    display: grid;
    height: 100%;
}

div.fill-screen-banner {
    display: grid;
    width: 100%;
    height: 100%;
    position: relative;
}

div.fill-screen-banner-absolute {
    display: grid;
    width: 100%;
    height: 100%;
    position: absolute;
}

img.make-it-fit {
    max-width: 100%;
    max-height: 100vh;
    margin: auto;
}

img.top-banner {
    width: 100%;
    height: 311px;
}

header a {
    text-decoration: none;
}

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

.custom-header {
    color: #fff;
}

nav {
    margin-top: 20px;
}

nav li {
    display: inline-block;
}

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

h2 {
    margin: 20px 0;
}

p {
    margin-bottom: 10px;
}

a {
    color: inherit;
}

.date-text {
    color: #B3D6FF;
}

.site-content {
    color: #333;
}

.description {
    margin-bottom: 40px;
}

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

.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: #000;
    color: #ddd;
    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 {
    color: #333;
    margin-bottom: 40px;
}

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

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

footer {
    color: #8a8a8a;
}

.section-header {
    margin: 10px;
    color: #fff;
}

.section-header-selected {
    margin: 10px;
    color: #fff;
}

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

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

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

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

    header {
        background-color: #77B0CC;
    }
}

/**
 *  Example CSS file that can be used to style Splash HTML output
 *  Copyright (c) John Sundell 2018
 *  MIT license - see LICENSE.md
 */

.inline {
    background-color: #eee;
    border-radius: 3px;
    font-family: courier, monospace;
    padding: 0 3px;
}

pre {
    margin-bottom: 1.5em;
    background-color: #1a1a1a;
    padding: 16px 0;
    border-radius: 16px;
}

pre code {
    font-family: monospace;
    display: block;
    padding: 0 20px;
    color: #a9bcbc;
    line-height: 1.4em;
    font-size: 0.95em;
    overflow-x: auto;
    white-space: pre;
    -webkit-overflow-scrolling: touch;
}

pre code .keyword {
    color: #e73289;
}

pre code .type {
    color: #8281ca;
}

pre code .call {
    color: #348fe5;
}

pre code .property {
    color: #21ab9d;
}

pre code .number {
    color: #db6f57;
}

pre code .string {
    color: #fa641e;
}

pre code .comment {
    color: #6b8a94;
}

pre code .dotAccess {
    color: #92b300;
}

pre code .preprocessing {
    color: #b68a00;
}
