/* Base styles: resets, box-sizing, etc. */
:root {
  --debug-layout: rgba(255, 0, 0, 0.5);
  --base-text-line-height: 1.6;
}

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

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

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
  line-height: var(--base-text-line-height);
}

body,
html {
  margin: 0;
  padding: 0;
  font-size: 10px;
  color: var(--theme-color-primary);
  background: var(--theme-color-border);
}

a,
a:hover {
  text-decoration: none;
}

a {
  color: inherit;
  outline: none;
  box-shadow: none;
}

img {
  max-width: 100%;
  height: auto;
}

aside,
figure,
figcaption {
  margin: 0;
  padding: 0;
}

address {
  font-style: normal;
}

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

ul,
ol {
  list-style: none;
}

input,
select,
textarea,
button {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  outline: none;
  min-width: 0;
  min-height: 0;
}

button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

input[type="radio"],
input[type="checkbox"] {
  width: 1em;
  height: 1em;
  accent-color: initial;
}

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

legend {
  padding: 0;
  border: 0;
  font: inherit;
}

label {
  cursor: pointer;
  font: inherit;
}

/* Internal class used for debugging, used within <pre> elements */

.debug-text {
  display: block;
  font-family: Courier, monospace;
  font-size: 2rem;
}
