:root {
    --bg-0: #121212;
    --text-0: rgba(255, 255, 255, 87%);
    --text-1: rgba(255, 255, 255, 60%);
}

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

body {
    background: var(--bg-0);
    color: var(--text-0);
    max-width: 65rem;
    margin-top: 4rem;
    margin-bottom: 4rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.2rem;
    font-family: "Charter", serif;
    font-size: 1.5rem;
    text-align: center;
}

article {
    margin: 0.5rem 0;
}

article > a {
    font-size: 1.5rem;
    letter-spacing: 0.08rem;
}

article > time {
    color: var(--text-1);
    font-size: .9rem;
    margin-right: 0.5rem;
}

main {
    text-align: left;
    font-size: 1.3rem;
}

h1, h2, h3, h4, h5, h6 {
    margin: 1.2rem 0 0.2rem 0;
}

p, ul, ol {
    line-height: 1.35;
    margin-bottom: 1rem;
}

img {
    width: 100%;
    height: auto;
    margin-top: 1rem;
}

code {
    font-family: 'Source Code Pro', monospace;
}

pre {
    white-space: pre-line;
    word-wrap: break-word;
    margin-bottom: 1rem;
}

.title {
    margin: 0 0 2rem 0;
    font-family: 'Space Grotesk', Helvetica, sans-serif;
    text-transform: lowercase;
}

.title h1 {
    margin: 1.2rem 0 0.5rem 0;
}

@media screen and (max-width: 1248px) {
    :root {
        font-size: 14px;
    }

    body {
        margin-top: 2rem;
        margin-bottom: 2rem;
        max-width: 100%;
    }
}
