@charset "UTF-8";

@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Regular.woff2') format('woff2');
  font-weight: normal;
  font-display: swap;
}

@font-face {
  font-family: 'D2Coding';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_three@1.0/D2Coding.woff') format('woff');
  font-weight: normal;
  font-display: swap;
}

a {
  color: var(--color-accent);
}

body {
  background-color: var(--color-bg-base);
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
  font-family: 'Pretendard', sans-serif;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5 !important;
  margin: 0;
  min-height: 100vh;
}

h1 {
  font-size: 2em !important;
}

h2 {
  font-size: 1.5em !important;
}

h3 {
  font-size: 1.25em !important;
}

h4 {
  font-size: 1em !important;
}

h5 {
  font-size: 0.875em !important;
}

h6 {
  font-size: 0.75em !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold !important;
}

img {
  user-select: none;
}

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

:not(html, body)::-webkit-scrollbar {
  height: 4px;
  width: 4px;
}

:not(html, body)::-webkit-scrollbar-thumb {
  background: var(--color-scrollbar);
  border-radius: var(--border-radius);
  cursor: default;
}

[contenteditable="true"] {
  caret-color: var(--color-accent);
}