@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&family=IBM+Plex+Mono:ital,wght@0,400;0,700;1,400;1,700&family=JetBrains+Mono:ital,wght@0,300;1,500&display=swap');

@media (prefers-color-scheme: light) {
    :root {
        --bg-color: #fff;
        --fg-color: #000;
        --spot-color: #423ffc;
        --dim-color: #aaa;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #000;
        --fg-color: #ccc;
        --spot-color: #ababfc;
        --dim-color: #777;
    }
}

@media only print {
    :root {
        --spot-color: var(--fg-color);
    }
}

* {
    text-size-adjust: none;
    -webkit-text-size-adjust: none;
}

html, body {
    margin: 0;
    padding: 0;
}

html {
    color: var(--fg-color);
    background: var(--bg-color);
    font-family: "IBM Plex Mono", monospace;
    font-size: 1.2em;
}

body {
    margin: 2em;
}

a {
    text-decoration-thickness: 0.075em;
}

a, a:link, a:hover, a:active, a:visited {
    color: var(--spot-color);
}

hr {
    margin: 2em 0;
    border: 0;
    color: transparent;
    background: none;
}

h1 {
    margin: 0 -.1em;
    padding: 0;
    font-weight: 700;
    font-style: italic;
    font-size: 4em;
    line-height: 1em;
    font-family: "Space Mono";
    letter-spacing: 0.025em;
}

h1 a {
    text-decoration: none;
}

#games {
    font-size: 2em;
    font-weight: 300;
    font-family: "JetBrains Mono";
    text-transform: uppercase;
    letter-spacing: .1em;
    margin: 0;
    padding: 0;
}

#games li {
    list-style-type: none;
    margin: 1em 0;
    padding: 0;
}

#games li a {
    color: var(--spot-color);
    text-decoration-style: wavy; 
}

#posts {
    margin: 0;
    padding: 0;
}

#posts li {
    list-style-type: none;
    margin: 2em 0;
}

#posts li a {
    font-size: 1.2em;
    font-weight: 400;
    font-style: italic;
    text-decoration: none;
    line-height: 1.1em;
    letter-spacing: 0.04em;
    font-family: "Space Mono";
    padding-right: 0.5em;
}

#posts li span {
    color: var(--dim-color);
}

#about {
    font-weight: 400;
    font-size: 0.8em;
}

@media only print {
    #krz br {
        display: none;
    }
}

@media only screen and (min-width: 499px) {
    #krz br {
        display: none;
    }
}

@media only screen and (max-width: 500px) {
    html {
        font-size: 1.2em;
    }

    h1 {
        font-size: 3em;
    }
}
