/* https://www.lexend.com/ */
@font-face {
    font-display: swap;
    font-family: "LXND";
    font-weight: 100 900;
    src: url("Lexend/Lexend-VariableFont_wght.ttf");
}

:root {
    --text: #C0FFEE;
    --bg: #3DBEE238;
    --light: #BEA575;
    --muted: #564E58;
    background: #000;
    color: var(--text);
    font-family: "LXND", sans-serif;
    overflow-y: scroll;
}

a:link, a:hover, a:active, a:visited {
    color: var(--text);
    text-decoration: underline;
}

button, input, select, textarea {
    font: inherit;
}

code {
    background: var(--bg);
    border-radius: 0.25rem;
    font-family: monospace;
    padding: 0 0.25rem;
}

h1 {
    margin: 0;
}

h2 {
    background-color: var(--bg);
    color: var(--light);
    font-size: 1.2rem;
    margin: 0;
    padding: 0.5rem;
}

h3 {
    font-size: 1rem;
    margin: 0;
    padding: 0.5rem 0;
}

main {
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 5rem;
    width: 718px;
}

ol {
    margin: 0;
    padding-left: 1rem;
}

p {
    margin: 0;
    padding-top: 1rem;
    text-align: left;
}
p:first-child {
    padding-top: 0;
}

section > div {
    padding: 1rem 0;
}

section > div:not(:first-of-type) {
    padding-top: 0rem;
}

ul {
    margin: 0;
    padding-left: 1rem;
}

/* Classes */

.active, .active:link, .active:hover, .active:active, .active:visited {
    text-decoration-color: var(--light);
}

.attribution:before {
    content: "— ";
}

.light, .light:link, .light:hover, .light:active, .light:visited {
    color: var(--light);
}

.list {
    list-style: none;
    padding-left: 0;
}
.list li:not(:last-child) {
    padding-bottom: 0.25rem;
}

.muted, .muted:link, .muted:hover, .muted:active, .muted:visited {
    color: var(--muted);
}

@media only screen and (max-width: 768px) {
    main {
        width: 100%;
    }
}
