/* $Id: stylesheet.css,v 1.9 2023/03/02 15:32:37 holger Exp $ */

/*
 * Font faces: CSS generated by <https://gwfh.mranftl.com/fonts>.
 */

/* roboto-serif-regular - latin */
@font-face {
    font-display: swap;
    font-family: 'Roboto Serif';
    font-style: normal;
    font-weight: 400;
    src: local(''),
         url('fonts/roboto-serif-v8-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('fonts/roboto-serif-v8-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-serif-700 - latin */
@font-face {
    font-display: swap;
    font-family: 'Roboto Serif';
    font-style: normal;
    font-weight: 700;
    src: local(''),
         url('fonts/roboto-serif-v8-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('fonts/roboto-serif-v8-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-serif-italic - latin */
@font-face {
    font-display: swap;
    font-family: 'Roboto Serif';
    font-style: italic;
    font-weight: 400;
    src: local(''),
         url('fonts/roboto-serif-v8-latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('fonts/roboto-serif-v8-latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-serif-700italic - latin */
@font-face {
    font-display: swap;
    font-family: 'Roboto Serif';
    font-style: italic;
    font-weight: 700;
    src: local(''),
         url('fonts/roboto-serif-v8-latin-700italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('fonts/roboto-serif-v8-latin-700italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/roboto-v30-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
         url('fonts/roboto-v30-latin-regular.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 400;
    src: url('fonts/roboto-v30-latin-italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
         url('fonts/roboto-v30-latin-italic.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/roboto-v30-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
         url('fonts/roboto-v30-latin-700.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-700italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 700;
    src: url('fonts/roboto-v30-latin-700italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
         url('fonts/roboto-v30-latin-700italic.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* ------------------------------------------------------------------ */

body {
    font-family: "Roboto Serif", serif;
    text-rendering: optimizeLegibility;
    max-width: 40em;
    margin: 1em auto;
    padding: 0em 1em;
}

h1,
h2,
h3 {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
}

p {
    line-height: 1.4;
}

a {
    color: #0097A7;
    text-decoration: none;
}

a:hover,
a:focus {
    color: #00BCD4;
}

/*
 * Dark scheme.
 */
@media (prefers-color-scheme: dark) {
    /*
     * Loosely based on:
     *
     * https://material.io/archive/guidelines/style/color.html#color-themes
     */
    body {
        color: #eee;
        background-color: #212121;
    }
}
