@font-face {
    font-family: 'ComprehensionSemiBold';
    src: url('/static/Comprehension-SemiBold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'BertSans-Medium';
    src: url('/static/BertSans-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    /* this is a monospace font */
    font-family: 'Bedstead';
    src: url('/static/bedstead.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    color: #3f3f4f;
    background: #dadada;
    font-family: BertSans-Medium, sans-serif;
    font-size: 3rem;
    padding: 1rem;
}

code {
    font-family: Bedstead, monospace;
    padding: 0.1rem;
    background: rgba(0, 0, 0, 0.5);
}

pre code {
    border-radius: 0.5rem;
    display: block;
    padding: 1rem;
    overflow-x: scroll;
    font-size: 75%;
    scrollbar-width: none;
}

h1, h2, h3, h4, h5 {
    font-family: ComprehensionSemiBold, serif;
    margin: 1rem 0;
}

h1 {
    font-size: 150%;
    margin-top: 0;
}
h2 {
    font-size: 125%;
    border-bottom: 1px solid;
    margin-top: 2rem;
}
h3 {
    /*font-size: 100%;*/
    font-weight: bold;
}
h4 {
    /*font-size: 1.5rem;*/
    font-weight: bold;
}
h5 {
    /*font-size: 1rem;*/
    font-weight: bold;
}

hr {
    border: 0;
    border-bottom: 1px solid #dadada;
    margin-top: 2rem;
}

@media (prefers-color-scheme: dark) {
    a { color: #99f; }
    a:visited { color: #ae6eee; }
    body {
        color: #dadada;
        background: #3f3f4f;
    }
}

/* desktop, tablet, etc */
@media only screen and (max-width: 600px) {
    body {
        font-size: 1.5rem;
    }
}

