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

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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    'Montserrat',
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    Oxygen-Sans,
    Ubuntu,
    Cantarell,
    'Helvetica Neue',
    sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-display: swap;
  font-synthesis: weight style;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
  text-rendering: optimizeLegibility; /* Improves rendering for legibility */
  -webkit-font-smoothing: antialiased; /* For macOS and iOS - makes fonts look smoother */
  -moz-osx-font-smoothing: grayscale; /* For Firefox on macOS - can improve font rendering */
  line-height: 1.5;
}

h1 {
  font-size: 2rem; /* ~32px, common for largest heading */
}
h2 {
  font-size: 1.5rem; /* ~24px, standard step down */
}
h3 {
  font-size: 1.25rem; /* ~20px, slightly smaller */
}
h4 {
  font-size: 1rem; /* ~16px, matches body text */
}
h5 {
  font-size: 0.875rem; /* ~14px, smaller for subheadings */
}
h6 {
  font-size: 0.75rem; /* ~12px, smallest heading */
}

ul,
ol {
  padding-left: 2.5rem;
}

html,
input,
textarea {
  font-size: 16px; /* Base font size */
}

button {
  background-color: transparent;
}

img {
  display: block;
}

pre:not(.toastui-editor pre) {
  --tch: 240;
  --tcs: 15%;
  --tcl: 95%;
  --bgcl: 15%;
  --bdcl: 40%;
  --tca: 1;
  color: hsla(var(--tch), var(--tcs), var(--tcl), var(--tca));
  background-color: hsla(var(--tch), var(--tcs), var(--bgcl), var(--tca));
  border-color: hsla(var(--tch), var(--tcs), var(--bdcl), var(--tca));

  padding: 1rem;
  border-width: 0.125rem;
  border-style: solid;
  width: fit-content;
  border-radius: 1rem;
  font-family: monospace;
  white-space: pre;
  overflow-y: hidden;
  overflow-x: scroll;
  max-width: calc(100vw - 1rem);
}

/* Visually hidden labels for accessibility, if not displayed visually */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

blockquote {
  border-left: 8px solid;
  padding-left: 1rem;
}
/* @media (min-width: 48rem) {} */

/* @media (min-width: 80rem) {} */
