@import url("sanitize.css");

/* Just enough */
body {
    max-width: 43rem;
    margin: 3rem auto;
    line-height: 1.75;
    padding: 0 0.62em;
    font-size: 14pt;
    font-family:
        Iowan Old Style,
        Apple Garamond,
        Baskerville,
        Times New Roman,
        Droid Serif,
        Times,
        Source Serif Pro,
        serif,
        Apple Color Emoji,
        Segoe UI Emoji,
        Segoe UI Symbol;
}
a {
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
p {
    margin-bottom: 1rem;
}
h1,
h2,
h3,
h4,
h5 {
    margin: 3rem 0 1.38rem;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        avenir next,
        avenir,
        helvetica neue,
        helvetica,
        Ubuntu,
        roboto,
        noto,
        segoe ui,
        arial,
        sans-serif;
    font-weight: 400;
    line-height: 1.3;
}
h1 {
    margin-top: 0;
    font-size: 1.802rem;
}
h2 {
    font-size: 1.602rem;
}
h3 {
    font-size: 1.424rem;
}
h4 {
    font-size: 1.266rem;
}
h5 {
    font-size: 1.125rem;
}
small,
.text_small {
    font-size: 0.889rem;
}
code,
pre {
    font-family:
        Menlo,
        Consolas,
        Monaco,
        Liberation Mono,
        Lucida Console,
        monospace;
}

blockquote {
    margin-left: 0em;
    color: navy;
}

@media (prefers-color-scheme: dark) {
    body {
        color: #fff;
        background: #000;
    }
    a:link {
        color: #9cf;
    }
    a:hover,
    a:visited:hover {
        color: #cef;
    }
    a:visited {
        color: #c9f;
    }
}

@media print {
    body {
        max-width: none;
    }
}

/* custom */

.fade-to-white-bottom {
    position: relative; /* To allow for the gradient overlay */
}

.fade-to-white-bottom::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%; /* Adjust the height of the fade effect */
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 1)
    );
}
