/*
 * Reset
 */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    font-size: 100%;
}



img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

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

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 900;
}

/*
 * Base elements
 */
body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-text);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--color-link);
    text-decoration: none;
}

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

a[target=_blank]::after {
    content: " ↗";
    color: var(--color-text-muted);
    text-decoration: none;
    display: inline-block;
    font-size: small;
}

a[target=_blank]:hover::after {
    text-decoration: none;
}

ul,
ol {
    margin-left: 1rem;
}

ul {
    list-style: square;
}

br {
    user-select: none;
}

hr {
    border: 1px dotted var(--color-border);
    margin: 2rem auto;
    width: 50%;
}

/*
 * Tables
 */
table {
    border-collapse: collapse;
    width: 100%;
}

thead {
    font-size: small;
}

th,
td {
    padding: 0.5rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

th {
    font-weight: bold;
}
