:root {
  --text-primary: #d6deeb;
  --main-width: 769px;
  --background-primary: #011627;
  --background-secondary: #122d42;
  --background-hover: #264a8980;
  --border-primary: #01213a;
  --border-secondary: #262a39;
  --text-hyperlink: #7d99b1;
  --text-hyperlink-hover: #c5cae9;
}

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

* {
  margin: 0;
}

html {
  font-size: 62.5%;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  color: var(--text-primary);
  background-color: var(--background-primary);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "BIZ UDPGothic", Meiryo, sans-serif;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  object-fit: contain;
  height: auto;
  margin: 0 auto
}

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

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

#root,
#__next {
  isolation: isolate;
}

body {
  font-size: 1.6rem;
}

h1 {
  font-size: 2.125rem;
}

h2 {
  font-size: 1.875rem;
}

article h2::before {
  content: "## ";
}

h3 {
  font-size: 1.5rem;
}

article h3::before {
  content: "### ";
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 2;
}

a {
  color: var(--text-hyperlink);
}

a:hover {
  color: var(--text-hyperlink-hover);
}

main {
  margin: 16px auto 0;
  max-width: var(--main-width);
  padding: 0 8px;
  overflow-x: hidden;
}

hr {
  border-color: var(--border-secondary);
}

footer {
  display: flex;
  margin-top: 16px;
  justify-content: center;
}

section {
  margin-top: 16px;
}

table {
  border-collapse: collapse;
  width: 100%;
  display: block;
  overflow-x: auto;
}


th {
  text-align: left;
}

thead {
  background-color: var(--background-secondary);
  white-space: nowrap;
}

tbody>tr:hover {
  background-color: var(--background-hover);
}

th,
td {
  border-bottom: 1px solid var(--border-secondary);
  padding: 0.4rem 1rem;
}

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

pre>code {
  --ec-codeFontSize: 1.4rem;
  --ec-uiFontSize: 1.6rem;
}

.expressive-code {
  --ec-uiFontSize: 1.44rem;
}

.prose>* {
  margin-top: 2rem;
}

code {
  font-size: 1.4rem;
  margin: 0 0.5rem;
  background: var(--background-secondary);
  padding: 0.2rem .5rem;
}

button {
  background-color: inherit;
  border: none;
}
