:root {
  --system-ui: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    vertical-align: baseline;
    border-collapse: collapse;
    border-spacing: 0;
    font-family: var(--system-ui);
    overflow-wrap: break-word;
    hyphens: auto;
}

html {
    font-size: 62.5%;
}

body {
    width: 100%;
    min-height: 100vh;
    padding: 0;
    font-size: 1.6rem;
    line-height: 1.75;
    letter-spacing: 0.05rem;
}

img, picture, video, canvas, svg,
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
    max-width: 100%;
}

button, textarea, select, input, li {
    width: 150px;
    font: inherit;
    font-size: 1.6rem;
}

button {
    padding: 0.5rem 1rem;
}

h1, h2, h3 {
    font-weight: 700;
}

ol {
    list-style-position: outside;
    list-style: decimal;
}

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

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

*::not(img),
*::before,
*::after {
    margin: inherit;
    padding: inherit;
    box-sizing: inherit;
}

input {
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
}

input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
}

-webkit-search-cancel-button {
  display: none;
}

input[type="checkbox"] {
  position: relative;
  width: 1em;
  height: 1em;
  border: 1px solid gray;
  vertical-align: -2px;
  color: green;
}

input[type="checkbox"]::before {
  content: "✔";
  position: absolute;
  font-size: 1.2em;
  right: -1px;
  top: -0.3em;
  visibility: hidden;
}

input[type="checkbox"]:checked::before {
  visibility: visible;
}

input[type="checkbox"]:disabled {
  border-color: black;
  background: #ddd;
  color: gray;
}

button,
label,
input,
select,
progress,
meter {
  display: block;
  font-family: inherit;
  width: 100%;
}

select {
  appearance: none;
}

input[type="text"],
input[type="datetime-local"],
input[type="color"],
select {
  box-shadow: inset 1px 1px 3px #ccc;
  border-radius: 5px;
}

.select-wrapper::after {
  content: "▼";
  font-size: 1rem;
  top: 6px;
  right: 10px;
  position: absolute;
}

input[type="range"] {
  appearance: none;
  background: red;
  height: 2px;
  padding: 0;
  outline: 1px solid transparent;
}

input[type="color"] {
  border: 0;
  padding: 0;
}

input[type="file"] {
  height: 0;
  padding: 0;
  opacity: 0;
}

a {
  text-decoration: none;
}