@font-face {
    font-family: "aldine_721";
    src: url("./fonts/aldine721bt-lightitalic-webfont.woff2") format("woff2"),
        url("./fonts/aldine721bt-lightitalic-webfont.woff") format("woff");
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: "aldine_721";
    src: url("./fonts/aldine721bt-light-webfont.woff2") format("woff2"),
        url("./fonts/aldine721bt-light-webfont.woff") format("woff");
    font-weight: 300;
    font-style: normal;
}

@media (prefers-color-scheme: dark) {
    html {
        background: #222;
        color: white;
    }
}

html {
    font-size: 125%;
    font-family: "aldine_721";
    font-weight: 300;
    line-height: 1.4;
    max-width: 50rem;
    padding: 2rem;
    padding-bottom: 10rem;
}

@media screen and (max-width: 768px) {
    html {
        font-size: 105%;
        padding: 0.75rem;
    }
}

html ::selection {
    background: black;
    color: white;
}

* {
    box-sizing: border-box !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 1rem;
    font-weight: 300;
    margin-top: 1.4em;
}
ul {
    margin-left: 2.4em;
}
@media screen and (max-width: 768px) {
    ul {
        margin-left: 0em;
    }
}

li {
    list-style: none;
    margin-bottom: 1.4em;
}

ul.shorter li {
    margin-bottom: 0em;
}

a {
    color: inherit;
    text-decoration: none;
}

.leaf-image {
    position: fixed;
    pointer-events: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (prefers-color-scheme: dark) {
    .leaf-image {
        /* filter: invert(); */
        mix-blend-mode: darken;
    }
}

.leaf-image img {
    max-height: 10rem;
    width: auto;
}
