:root {
  --color-black: #000;
  --color-white: #fff;
  --color-red: #CC000D;
  --color-yellow: #FBC70D;
  --black: var(--color-black);
  --white: var(--color-white);
  --red: var(--color-red);
  --yellow: var(--color-yellow);
  --color-paper: var(--color-white);
  --color-wire: #f2f2f2;
  --color-border: #c9c9c9;
  --color-ink: var(--color-black);
  --space: calc(24rem / 16);
  --content-width: calc(390rem / 16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: #e4e4e4;
  font-family: serif;
}

h1, h2, h3, p, figure {
  margin: 0;
}

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

button, input {
  font: inherit;
}

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

button {
  cursor: pointer;
}

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

button:disabled {
  cursor: not-allowed;
  background-color: #ADADAD;
}

:focus-visible {
  outline: calc(3rem / 16) solid #1769d1;
  outline-offset: calc(3rem / 16);
}

[hidden] {
  display: none;
}
