/*
 * This is heavily inspired by style of this website: https://gmi.skyjake.fi/lagrange/
 * And its based on how Lagrange Browser shows gemtext sites.
 *
 * For me use this style if you want and however you want.
 * Styles that its based on are licensed as:
 *  Style:
 *   Copyright 2023 Jaakko Keränen <jk@skyjake.fi>
 *   License: CC BY 4.0 -- https://creativecommons.org/licenses/by/4.0/
 *  Lagrange: (gemini://git.skyjake.fi/lagrange/release/LICENSE.md)
 *   BSD 2-Clause License
 *   Copyright 2020 Jaakko Keränen (jaakko.keranen@iki.fi)
 * This style is not 1:1 implementation. It's just in the same spirit.
 * Colors are based on seed: log.patrykadamczyk.net
 */

/* Body */
body {
    font-family: Roboto, sans-serif;
    font-weight: 400;
    font-size: 15pt;
    line-height: 140%;
    padding: 0rem 1rem;
    margin: 2rem 0rem;
    color: #aee6ae;
    background-color: #1e211e;
}
/* Lists */
ul {
    list-style: none;
    margin-left: 0;
    padding-left: 3em;
}
ul li {
    margin: 5pt 0;
}
ul li::before {
    content: "•";
    color: #aaffff;
    font-weight: bold;
    display: inline-block;
    width: 1.1em;
    margin-left: -1.1em;
}
/* Colors */
h1 {
    color: #fbeed3;
    font-size: 200%;
    font-weight: 700;
    line-height: 120%;
    margin-top: 1ex;
}
h2 {
    color: #f8e1b3;
    font-size: 167%;
    font-weight: 400;
    line-height: 120%;
    margin-top: 0.75ex;
}
h3 {
    color: #f5d594;
    font-size: 133%;
    font-weight: 700;
    margin-left: 0.5rem;
    margin-bottom: 1ex;
}
h4 {
    color: #f2c874;
    font-size: 100%;
    font-weight: 700;
    margin-left: 1.0rem;
    margin-bottom: 0.5ex;
    line-height: 100%;
    margin-top: 1em;
}
h5 {
    color: #efbb53;
    font-size: 100%;
    font-weight: 700;
    margin-left: 1.5rem;
    margin-bottom: 0.5ex;
    line-height: 100%;
    margin-top: 1em;
}
h6 {
    color: #ecae34;
    font-size: 100%;
    font-weight: 700;
    margin-left: 2.0rem;
    margin-bottom: 0.5ex;
    line-height: 100%;
    margin-top: 1em;
}
ul li, ol li {
    color: #b0e8b0;
}
pre, code, kbd {
    color: #fadea7;
}
blockquote {
    color: #ffe3aa;
    margin-left: 2.25em;
    font-style: italic;
    font-weight: 300;
    padding-left: 0.75em;
    border-left: 1px solid #597f7d;
}
a, a:visited {
    color: #dbffdb;
    text-decoration: none;
}
a {
    font-weight: 300;
}
a:visited {
    font-weight: 100;
}
a::before {
    content: "🌐 ";
    font-size: 0.9em;
}
/* Header */
header {
    display: none;
    position: fixed;
}
header h1 {
    font-weight: 100;
    font-size: 200%;
    padding-top: 1ex;
    color: #3e7b3e;
}
header nav ul li {
    list-style-type: none;
}
header nav ul li::before {
    content: "";
    display: none;
}
@media (prefers-color-scheme: light) {
    header h1 {
        color: #ddbb11;
    }
}
@media only screen and (min-width: 1200px) {
    header {
        display: block;
    }
    header h1 {
        width: 9.58395vw;
        min-width: 13rem;
        line-height: 120%;
    }
}
@media only screen and (max-width: 1199px) {
    header {
        display: block;
        position: static;
        margin: auto;
        max-width: 37em;
        margin-bottom: 2em;
    }
    header nav ul {
        display: flex;
    }
    header nav ul li {
        display: block;
        list-style-type: none;
        padding: 0rem 0.5rem;
    }
}
/* Main */
main {
    margin: auto;
    max-width: 35em;
}
/* Footer */
footer {
    margin: auto;
    max-width: 35em;
}
/* Time */
time {
    color: #78af75;
}
