@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.min.css");

:root {
  --font-family-serif: "Times New Roman", Times, serif;
  --font-family-sans-serif: Pretendard, BlinkMacSystemFont, -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-family-monospace: Menlo, Pretendard, monospace;
  --font-size: 1rem;
  --line-height: 1.5;
  --title-font-size: 2rem;
  --title-font-weight: 700;
  --title-line-height: 1.375;
  --content-font-size: 1rem;
  --content-line-height: 1.5;
  --text-color: black;
  --background-color: forestgreen;
  --border-color: #00000020;
  --border-radius: .125rem;
  --link-text-color: black;
  --link-text-decoration: underline;
  --link-text-decoration-thickness: 1px;
  --link-text-underline-offset: .125em;
  --link-hover-text-color: var(--link-text-color);
  --link-hover-text-decoration: underline;
  --link-hover-text-decoration-thickness: var(--link-text-decoration-thickness);
  --link-hover-text-underline-offset: var(--link-text-underline-offset);
  --input-text-color: var(--text-color);
  --input-background-color: #00000020;
  --input-border-color: #00000020;
  --input-border-radius: var(--border-radius);
  --code-text-color: var(--text-color);
  --code-background-color: #00000020;
  --code-border-radius: var(--border-radius);
  --table-text-color: var(--text-color);
  --table-background-color: transparent;
  --table-border-color: black;
  --selection-text-color: black;
  --selection-background-color: #00000020;
}

::-moz-selection {
  color: var(--selection-text-color);
  background-color: var(--selection-background-color);
}

::-webkit-selection {
  color: var(--selection-text-color);
  background-color: var(--selection-background-color);
}

::selection {
  color: var(--selection-text-color);
  background-color: var(--selection-background-color);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  font-size: 100%;
  box-sizing: border-box;
}

html {
  font-size: clamp(16px, 1.5vw, 20px);
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 100dvh;
  font-family: var(--font-family-serif);
  font-size: var(--font-size);
  line-height: var(--line-height);
  word-break: keep-all;
  text-rendering: optimizeSpeed;
  cursor: default;
  color: var(--text-color);
  background-color: var(--background-color);
}

a {
  text-decoration: none;
  color: var(--link-text-color, currentColor);
  cursor: pointer;
}

a:hover,
button:hover {
  text-decoration: var(--link-hover-text-decoration);
  text-decoration-thickness: var(--link-hover-text-decoration-thickness);
  text-underline-offset: var(--link-hover-text-underline-offset);
  color: var(--link-hover-text-color, currentColor);
}

.flash {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 1rem 2rem;
  text-align: center;
  background-image: linear-gradient(to bottom, var(--background-color), transparent);
  pointer-events: none;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 0 0 auto;
  position: sticky;
  top: 0;
  z-index: 888;
  padding: 1rem 1rem 2rem;
  margin-bottom: -1rem;
  background-image: linear-gradient(to bottom, var(--background-color), transparent);
  user-select: none;
}

@media screen and (min-width: 600px) {
  .header {
    padding: 1rem 1.5rem 2rem;
  }
}

.header h1 {
  font-weight: normal;
}

.nav {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.main {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.footer {
  display: none;
  flex: 0 0 auto;
  padding: 1rem;
  user-select: none;
}

@media screen and (min-width: 600px) {
  .footer {
    padding: 1rem 1.5rem;
  }
}

.section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1 1 auto;
  padding: 1rem;
}

@media screen and (min-width: 600px) {
  .section {
    padding: 1rem 1.5rem;
  }
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 0 0 auto;
}

.section-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex: 0 0 auto;
  margin-top: 1rem;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1 1 auto;
  position: relative;
}

.input,
.textarea {
  appearance: none;
  display: block;
  width: 100%;
  padding: .5rem .75rem;
  font: inherit;
  font-family: var(--font-family-monospace);
  line-height: var(--line-height);
  font-size: var(--font-size);
  color: var(--input-text-color);
  background-color: var(--input-background-color);
  border: 0;
  border-radius: var(--input-border-radius);
  outline: 0;
}

.input::placeholder,
.textarea::placeholder {
  color: var(--input-text-color);
  opacity: .5;
}

.textarea {
  flex: 1 1 auto;
  min-height: 24rem;
  line-height: var(--content-line-height);
  resize: none;
}

.buttons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: .75rem;
}

.button {
  appearance: none;
  font: inherit;
  color: inherit;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  outline: 0;
  cursor: pointer;
}

.title {
  font-size: var(--title-font-size);
  font-weight: var(--title-font-weight);
  line-height: var(--title-line-height);
}

.title a {
  font-weight: inherit;
}

.content {
  --gap: 1rem;
  flex: 1 1 auto;
  position: relative;
  font-size: var(--content-font-size, var(--font-size));
  line-height: var(--content-line-height);
}

.content > *:not(:last-child) {
  margin-bottom: var(--gap, 1rem);
}

.content a {
  text-decoration: var(--link-text-decoration);
  text-decoration-thickness: var(--link-text-decoration-thickness);
  text-underline-offset: var(--link-text-underline-offset);
  color: var(--link-text-color, currentColor);
}

.content a.not-exists {
  opacity: .5;
}

.content a.external {
  text-decoration-style: dotted;
}

.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
  font-weight: var(--title-font-weight);
}

.content h1,
.content h2 {
  padding-bottom: .125rem;
  border-bottom: 1px solid var(--border-color);
}

.content h1:not(:first-child),
.content h2:not(:first-child) {
  margin-top: 1em;
}

.content h1 {
  font-size: 1.75rem;
}

.content h2 {
  font-size: 1.5rem;
}

.content h3 {
  font-size: 1.25rem;
}

.content h4 {
  font-size: 1.125rem;
}

.content h5 {
  font-size: 1rem;
}

.content h6 {
  font-size: .875rem;
}

.content ul,
.content ol {
  padding-left: 2rem;
}

.content dt {
  font-weight: 700;
}

.content strong {
  font-weight: var(--title-font-weight);
}

.content code {
  padding: .25rem;
  font-size: .875rem;
  color: var(--code-text-color);
  background-color: var(--code-background-color);
  border-radius: var(--code-border-radius);
}

.content pre {
  display: block;
  width: 100%;
  padding: .5rem .75rem;
  overflow-x: auto;
  color: var(--code-text-color);
  background-color: var(--code-background-color);
  border-radius: var(--code-border-radius);
}

.content pre code {
  padding: 0;
  font-size: 1rem;
  background-color: transparent;
}

.content blockquote {
  position: relative;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid var(--border-color);
}

.content blockquote > *:not(:last-child) {
  margin-bottom: 1rem;
}

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

.content figure iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.content figcaption {
  margin-top: .25rem;
  font-size: .875rem;
}

.content figcaption a {
  text-decoration: dotted;
}

.content table {
  width: 100%;
  color: var(--table-text-color);
  background-color: var(--table-background-color);
  border-collapse: collapse;
  border: 1px solid var(--table-border-color);
}

.content table th,
.content table td {
  padding: .5rem 1rem;
  text-align: left;
  border: 1px solid var(--table-border-color);
}

.content hr {
  display: block;
  position: relative;
  height: 1rem;
  margin: 1.5rem 0 !important;
  border: 0;
  color: currentColor;
}

.content hr::after {
  content: '* * *';
  display: block;
  position: relative;
  top: -.25em;
  text-align: center;
}

.content sup {
  position: relative;
  top: .125em;
  font-size: .875rem;
}

.content sup:target {
  scroll-margin-top: 4.5rem;
}

.footnotes {
  padding-top: 1rem;
  font-size: .875rem;
  border-top: 1px solid var(--border-color);
}

.footnotes hr {
  display: none;
}

.footnote-ref {
  padding: 0 .125em;
}

.hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.skip {
  position: absolute;
  top: -40px;
  left: 0;
  padding: 8px;
  z-index: 100;
  text-decoration: none;
}

.skip:focus {
  top: 0;
}