/* --- Baseline --- */

@font-face {
    font-family: "Favorite";
    src: url(../fonts/OPSFavorite-Regular.woff) format("woff");
    font-style: normal;
}
@font-face {
    font-family: "Cubic";
    src: url(../fonts/OPSCubic-Regular.woff) format("woff");
    font-style: normal;
}

:root {
    --content-width: 85rem;
    --alert-color: #e54444;
    --background-color: #fefefe;
    --foreground-color: #101010;
    --text-color: var(--foreground-color);
    --btn-padding: 0.15rem 0.9rem 0.25rem 0.9rem;
}

@media (prefers-color-scheme: dark) {
    :root {
        --background-color: #252525;
        --foreground-color: #f8f8f8;
    }
}

*,
*:after,
*:before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: "Cubic", -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji",
        "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 12px;
    line-height: 1.35;
    scroll-behavior: smooth;
    color: var(--text-color);
    background-color: var(--background-color);
}

li {
    list-style: none;
}

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

strong,
b {
    font-weight: 500;
}

img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

h1,
h2,
h3,
a {
    font-size: 1rem;
    font-weight: normal;
    margin: 0;
    padding: 0;
}

main {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 1rem;
}


table {
    border-collapse: collapse;
    width: 100%;
    cursor: pointer;
    border: thin solid var(--foreground-color);
}

tr {
    display: grid;
    grid-template-columns: 15rem 2fr 1fr 1fr 8rem;
    text-align: left;
}

th,
td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: .5rem;
    border-top: thin solid var(--foreground-color);
    border-left: thin solid var(--foreground-color);
}

th:first-child,
td:first-child {
    border-left: none;
}

thead tr th {
    border-top: none;
}

th {
    font-weight: normal;
}

table a {
    text-decoration: underline;
}