/*
|--------------------------------------------------------------------------
| Tetology — Module 0
|--------------------------------------------------------------------------
|
| File:
|   reset.css
|
| Purpose:
|   Normalize browser defaults and establish predictable rendering.
|
|--------------------------------------------------------------------------
*/

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

html {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-size: 100%;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    background: var(--color-page-bg);
}

body {
    margin: 0;
    min-width: 20rem;
    min-height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

ul[role="list"],
ol[role="list"] {
    list-style: none;
}

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

img,
svg {
    height: auto;
}

button,
input,
textarea,
select {
    margin: 0;
    font: inherit;
    color: inherit;
}

button,
select {
    text-transform: none;
}

button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    appearance: none;
    -webkit-appearance: none;
}

button {
    padding: 0;
    border: 0;
    background: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button:not(:disabled),
[role="button"]:not([aria-disabled="true"]) {
    cursor: pointer;
}

button:disabled,
[aria-disabled="true"] {
    cursor: not-allowed;
}

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

table {
    border-collapse: collapse;
    border-spacing: 0;
}

textarea {
    resize: vertical;
}

fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

legend {
    padding: 0;
}

hr {
    height: 0;
    margin: 0;
    border: 0;
    border-top:
        var(--border-width-thin)
        solid
        var(--color-border);
}

[hidden] {
    display: none !important;
}

summary {
    cursor: pointer;
}

dialog {
    padding: 0;
    border: 0;
}

iframe {
    border: 0;
}