/*! concrete.css v3.1.0 | MIT License | github.com/louismerlin/concrete.css */
/*! concrete.extras.css v0.1.0 | MIT License | github.com/sesh/concrete.extras.css */

:root {
    --font: system-ui, Helvetica, Arial, sans-serif;
    --font-h: system-ui, Helvetica, Arial, sans-serif;
    --main-width: 840px;
    --radius: 0px;
}

html {
    box-sizing: border-box;
    font-size: 1.25rem;
}
*,
:after,
:before {
    box-sizing: inherit;
    text-decoration-thickness: 0.1rem;
}
body {
    background: var(--bg);
    font-family: var(--font);
    margin: 0;
}
a,
body {
    color: var(--fg);
}
figure {
    margin: 0;
}
figcaption {
    border-bottom: 0.2rem solid var(--fg);
    font-size: 0.8em;
    padding-bottom: 0.2rem;
    text-align: right;
}
img {
    height: auto;
    max-width: 100%;
}
main section + section {
    padding: 2rem 0;
}
body > footer,
body > header,
body > main {
    margin: auto;
    max-width: calc(var(--main-width) + 20px);
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
}
body > header {
    font-size: 1.2em;
    padding-bottom: 8rem;
    padding-top: 8rem;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-h);
}
h1 {
    font-size: 2em;
}
h2 {
    font-size: 1.5em;
}
h3 {
    font-size: 1.17em;
}
h4 {
    font-size: 1em;
}
h5 {
    font-size: 0.83em;
}
h6 {
    font-size: 0.67em;
}
footer {
    text-align: center;
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    background: var(--bg);
    border: 0.1rem solid var(--fg);
    border-radius: var(--radius);
    color: var(--fg);
    cursor: pointer;
    display: inline-block;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    padding: 0.2rem 0.5rem;
    vertical-align: middle;
}
button:disabled,
input[type="button"]:disabled,
input[type="reset"]:disabled,
input[type="submit"]:disabled {
    border-style: dashed;
    cursor: not-allowed;
}
ul {
    list-style: square;
}
nav {
    margin: 2rem 0;
}
nav ul {
    list-style: none;
    padding: 0;
}
nav ul li {
    display: inline-block;
    margin: 0 0.2rem;
}
fieldset {
    border: 0.1rem solid var(--fg);
    border-radius: var(--radius);
}
label,
legend {
    display: block;
    font-weight: 700;
    margin-bottom: 0.4rem;
}
input[type="email"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="url"],
select,
textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bg);
    border: 0.1rem solid var(--fg);
    border-radius: var(--radius);
    box-shadow: none;
    box-sizing: inherit;
    color: var(--fg);
    font-family: var(--font);
    font-size: 1rem;
    padding: 0.2rem 0.5rem;
    width: 100%;
}
fieldset,
input,
select,
textarea {
    margin: 0 0 0.8rem;
}
input::placeholder,
textarea::placeholder {
    color: var(--fg);
    font-style: italic;
    opacity: 1;
}
table {
    border-spacing: 0;
    width: 100%;
}
td,
th {
    padding: 0.4rem;
}
td:first-child,
th:first-child {
    padding-left: 0;
}
td:last-child,
th:last-child {
    padding-right: 0;
}
th {
    border-bottom: 0.1rem solid var(--fg);
    text-align: left;
}
td {
    border-bottom: 0.05rem solid var(--fg);
}
blockquote,
pre {
    border-left: 0.1rem solid var(--fg);
    margin-left: 0;
    margin-right: 0;
    overflow-y: hidden;
    padding: 0.5rem 0.8rem;
}
pre {
    border: 0.05rem dotted var(--fg);
    border-left: 0.1rem solid var(--fg);
}
pre > code {
    display: block;
    font-size: 0.8rem;
    white-space: pre;
}
progress {
    -moz-appearance: none;
    -webkit-appearance: none;
    background: var(--bg);
    border: 0.1rem solid var(--fg);
    border-radius: var(--radius);
    color: var(--fg);
    display: block;
    height: 0.5rem;
    overflow: hidden;
    padding: 0;
    width: 100%;
}
progress::-webkit-progress-bar {
    background-color: var(--bg);
}
progress::-webkit-progress-value {
    background-color: var(--fg);
}
progress::-moz-progress-bar {
    background-color: var(--fg);
}
hr {
    border: 0.05rem solid var(--fg);
}
:root {
    --min: 12ch;
    --gap: 1rem;
}
.row {
    display: grid;
    grid-gap: var(--gap);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min)), 1fr));
    margin-bottom: var(--gap);
}
.centered {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
}
.align-right {
    text-align: right;
}
.align-centered {
    text-align: center;
}
html {
    line-height: 1.25;
}
table.condensed {
    font-size: 0.9rem;
}
table.condensed td,
table.condensed th {
    padding: 0.2rem;
}
.boxed,
.boxed-dashed {
    border: 2px solid var(--fg);
    border-radius: var(--radius);
    padding: 1rem;
}
.boxed-dashed {
    border-style: dashed;
}
input[type="date"],
input[type="file"],
input[type="time"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bg);
    border: 0.1rem solid var(--fg);
    border-radius: var(--radius);
    box-shadow: none;
    box-sizing: inherit;
    color: var(--fg);
    font-family: var(--font);
    font-size: 1rem;
    padding: 0.2rem 0.5rem;
    width: 100%;
}
select:not([multiple]) {
    background-image:
        linear-gradient(90deg, transparent 50%, var(--fg) 50%),
        linear-gradient(90deg, var(--fg) 50%, transparent 50%);
    background-position: calc(100% - 0.8rem), calc(100% - 0.8rem);
    background-repeat: no-repeat;
    background-size:
        0.8rem 0.8rem,
        0.8rem 0.8rem;
}
input[type="checkbox"] + label,
input[type="radio"] + label {
    display: inline-block;
    margin-bottom: 0.4rem;
}
label + label {
    padding-top: 0.4rem;
}
input[type="checkbox"],
input[type="radio"] {
    appearance: none;
    border: 0.1rem solid var(--fg);
    border-radius: var(--radius);
    display: inline-block;
    height: 0.8rem;
    margin: -0.1rem 0.2rem 0;
    width: 0.8rem;
}
input[type="radio"] {
    border-radius: 100%;
}
input[type="checkbox"]:checked,
input[type="radio"]:checked {
    background-color: var(--fg);
}
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: var(--fg);
    border: none;
    border-radius: 0;
    height: 0.1rem;
    margin: 0.8rem 0 0.4rem;
    padding: 0;
    width: 100%;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    background: var(--bg);
    border: 0.1rem solid var(--fg);
    border-radius: 50%;
    cursor: pointer;
    height: 1rem;
    width: 1rem;
}
input[type="range"]::-moz-range-thumb {
    background: var(--bg);
    border: 0.1rem solid var(--fg);
    border-radius: 50%;
    cursor: pointer;
    height: 1rem;
    width: 1rem;
}
