
body {
    font-family:
        "Charter",
        "Palatino Linotype",
        "Book Antiqua",
        "Georgia",
        serif;

    font-size: clamp(20px, 1rem + 1vw, 26px);
    line-height: 1.75;
    color: #222;
    background: #f8f6f0;

    max-width: 42em;
    margin: 0 auto;
    padding: clamp(1rem, 2vw, 2rem);

    text-align: left;

    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

p {
    margin: 0 0 1.2em 0;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #1a4f8c;
}

@media (max-width: 600px) {
    body {
        max-width: 50em;
    }
}
@media (min-width: 1000px) {
    body {
        font-size: 1.3em;
    }
}
@media (prefers-color-scheme: dark) {
    body {
        background: #1e1e1e;
        color: #e0e0e0;
    }
    a {
        color: #7db8ff;
    }
}
