@font-face {
  font-family: "Pretendard";
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: url("../assets/fonts/PretendardVariable.woff2") format("woff2-variations");
}

:root {
  --md-text-font: "Pretendard";
  --md-code-font: "SFMono-Regular", "Menlo", "Consolas", monospace;
}

.md-typeset {
  font-size: 0.82rem;
  line-height: 1.75;
  word-break: keep-all;
}

.md-typeset h1,
.md-typeset h2,
.md-typeset h3 {
  font-weight: 750;
  letter-spacing: 0;
}

.md-typeset h1 {
  margin-bottom: 0.8em;
}

.md-typeset h2 {
  margin-top: 2.2em;
  padding-top: 0.25em;
}

.md-typeset h3 {
  margin-top: 1.8em;
}

.md-typeset p,
.md-typeset li {
  color: var(--md-default-fg-color);
}

.md-typeset a {
  text-underline-offset: 0.18em;
}

.md-typeset table:not([class]) {
  display: table;
  width: 100%;
  font-size: 0.74rem;
  line-height: 1.55;
}

.md-typeset table:not([class]) th {
  white-space: nowrap;
  font-weight: 700;
  background-color: color-mix(in srgb, var(--md-primary-fg-color) 8%, transparent);
}

.md-typeset table:not([class]) th,
.md-typeset table:not([class]) td {
  padding: 0.75em 0.9em;
  vertical-align: top;
}

.md-typeset table:not([class]) td:first-child,
.md-typeset table:not([class]) th:first-child {
  white-space: nowrap;
}

.md-typeset code {
  font-size: 0.86em;
}

.md-typeset pre > code {
  font-size: 0.76rem;
  line-height: 1.65;
}

.md-typeset img {
  display: block;
  max-width: 100%;
  margin: 1.2rem auto;
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 0.35rem;
  box-shadow: 0 0.25rem 1rem rgba(15, 23, 42, 0.08);
}

.md-header__title,
.md-tabs__link,
.md-nav__link {
  letter-spacing: 0;
}

.md-content__inner {
  padding-bottom: 3rem;
}

.page-boundary-nav-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 10;
  max-width: min(22rem, calc(100vw - 2rem));
  padding: 0.72rem 0.9rem;
  color: var(--md-primary-bg-color);
  font-size: 0.76rem;
  line-height: 1.45;
  background: color-mix(in srgb, var(--md-primary-fg-color) 92%, #111827);
  border-radius: 0.35rem;
  box-shadow: 0 0.45rem 1.2rem rgba(15, 23, 42, 0.22);
  opacity: 0;
  transform: translateY(0.5rem);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
  pointer-events: none;
}

.page-boundary-nav-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media screen and (max-width: 76.2344em) {
  .md-typeset {
    font-size: 0.8rem;
    line-height: 1.72;
    word-break: normal;
  }

  .md-typeset table:not([class]) {
    display: block;
    overflow-x: auto;
    white-space: normal;
  }

  .md-typeset table:not([class]) th,
  .md-typeset table:not([class]) td {
    min-width: 7.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-boundary-nav-toast {
    transition: none;
  }
}
