
:root {
    color-scheme: light dark;
    --accent-color: #bd5441;
}

body {
    background: light-dark(white, black);
    background-size: cover;
    background-attachment: fixed;
    color: light-dark(black, white);
    display: block;
    padding: 0px 20px;
    max-width: 550px;
    margin: 0 auto;
    font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

section {
    padding-bottom: 20px;
    &.news {
        padding: 20px;
        background: rgba(127, 127, 127, 0.256);
        border-top: dashed 4px var(--accent-color);
    }
}

h1 {font-size: clamp(18px, 6vw, 300%); margin-bottom: 5px; max-width: 100vw;}
h2 {font-size: 200%; color: var(--accent-color);}
h3 {font-size: 125%;}

em {
    color: #677c64;
}

details {
    padding: 10px;
    &:hover {
        filter: brightness(2);
    }
}

summary {
    cursor: pointer;
    font-weight: bold;
    color: var(--accent-color);
}

.callout {
    color: var(--accent-color);
    font-size: 125%;
    font-weight: bold;
}

.statement {
    text-align: center;
    color: var(--accent-color);
    
    font-family: 'Nimbus Mono PS', 'Courier New', monospace;  
}

hr {
    border: none;
    border-top: 4px solid var(--accent-color);
    margin: 40px 0px 40px 0px;
}

a {
    color: var(--accent-color);
    &:hover {
        filter: brightness(0.8);
        text-decoration: underline;
    }
}

ul li {
    margin-bottom: 3px;
}

menu {
    padding-left: 0;
    & li {
        margin-left: 0;
        display: inline;
        padding-right: 20px;
        list-style: none;
        text-transform: uppercase;
    }
}

table {
  border-collapse: collapse;
  width: 100%;
}

table td, table th {
  border: 1px solid black;
}

table tr:first-child th {
  border-top: 0;
}

table tr:last-child td {
  border-bottom: 0;
}

table tr td:first-child,
table tr th:first-child {
  border-left: 0;
}

table tr td:last-child,
table tr th:last-child {
  border-right: 0;
}

th, td {
  padding: 10px;
  font-size: 75%;
  border: 1px solid black;
}

thead {
  background: var(--accent-color);
  color: light-dark(black, white);
}

caption {
  font-size: 75%;
  font-style: italic;
}