* {
  margin: 0;
  padding: 0;
  font-family: "Pretendard-Regular", sans-serif;
  box-sizing: border-box;
}
::-webkit-scrollbar {
  width: 4px;
}
body {
  min-height: 100vh;
  background: linear-gradient(135deg, #e0e7ff 0%, #fce7f3 100%);
}

/* 사용법 설명서 */
#how_to_use {
  display: inline-block;
  margin-bottom: 20px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 14px !important;
  font-weight: bold;
  cursor: pointer !important;
  transition: border-color 0.3s;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  &:hover {
    border-color: #007bff;
  }
  & i {
    margin-right: 5px;
    color: #007bff;
    vertical-align: top;
  }
}
.how_to_use_box {
  display: none;
  margin-bottom: 20px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);

  & > span {
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    border-left: 5px solid #007bff !important;
  }
  & span {
    display: block !important;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.3);
    font-size: 14px !important;
    line-height: 1.3rem;

    & > span {
      margin-top: 10px;
      padding: 13px;
      border: 1px solid rgba(255, 255, 255, 0.5);
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.5);
    }
  }
}

/* 기본 디자인 */
#text-to-image {
  max-width: 600px;
  margin: 30px auto;
}
.text-to-image-converter-settings {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;

  & .html-mode-hidden {
    display: none !important;
  }
  & .html-mode-only {
    display: none !important;
  }
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.flex-container {
  width: 100%;
  margin: 10px 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.4);
}
.inline-drawer-content > .flex-container:not(:first-child) {
  margin-top: 20px !important;
}
h4 {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 14px;
  color: #000 !important;
  font-size: 16px !important;
  gap: 8px;
}
h5 {
  width: 100% !important;
  margin: 5px 0 8px 0 !important;
  font-size: 15px !important;
}

/* 프리셋 */
#import_preset {
  margin-left: auto;
}
#preset_name {
  width: calc(100% - 45px) !important;
  height: 35px !important;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.5);
  color: #2c3e50;
  font-size: 14px;
  backdrop-filter: blur(5px);
}
.preset-control {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 10px;
}
#preset_selector {
  width: calc(100% - 140px) !important;
  height: 35px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.5);
  color: #2c3e50;
  font-size: 14px;
  backdrop-filter: blur(5px);
}
.buttons {
  width: 35px !important;
  height: 35px !important;
  margin-left: auto;
  margin-left: 4px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  color: #2c3e50;
  font-size: 13px !important;
  cursor: pointer;
  transition: all 0.3s;
}
.buttons:not(:disabled):hover {
  background: #a29bfe;
  color: #fff;
}
.buttons.clear {
  background: rgba(255, 105, 97, 0.7);
}
.buttons.clear:hover {
  background: #ff6f61;
  color: #fff;
}

/* 봇카드 */
.botCard {
  display: inline-flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.botCard h4 {
  width: 100px;
  margin-bottom: 0 !important;
  padding: 0 !important;
}
.bot-datas {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-left: auto;
  gap: 10px;
}
.bot-datas button {
  flex: 1;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  color: #2c3e50;
  font-size: 12px !important;
  cursor: pointer;
  transition: all 0.3s;

  &:not(.botImporter):not(:disabled):hover,
  &.active {
    background: #a29bfe;
    color: white;
  }
}
.bot-datas .botImporter {
  background: #a29bfe;
  color: #fff;

  &::before {
    font-family: "Font Awesome 7 Free";
    font-weight: bold;
    content: "\f07c";
  }
}
.bot-datas .botImporter.remover {
  background: rgba(255, 105, 97, 0.7);
  &::before {
    content: "\f2ed";
  }
}
.bot-datas .bot-data:disabled {
  background: rgba(0, 0, 0, 0.07) !important;
  cursor: default !important;
}

/* 텍스트 입력 박스 */
#text_to_image {
  width: 100%;
  min-height: 230px;
  margin-bottom: 10px;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.5);
  color: #2c3e50;
  font-size: 14px;
  backdrop-filter: blur(5px);
  resize: vertical;
}
.html-switcher-inputs {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.35);
}
.html-switcher-inputs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.html-switcher-inputs-header > span {
  font-size: 13px;
  font-weight: 600;
}
#add_html_switcher_text {
  min-width: 56px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  border-radius: 12px;
}
.html-switcher-inputs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.html-switcher-input-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: start;
}
.html-switcher-input-item textarea {
  width: 100%;
  min-height: 140px;
  padding: 8px 10px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  resize: vertical;
}
.html-switcher-remove-btn {
  width: 25px !important;
  height: 25px !important;
}
.html-switcher-inputs-empty {
  margin-top: 6px;
  font-size: 12px;
  opacity: 0.8;
  text-align: center;
}
.html-switcher-inputs.has-items .html-switcher-inputs-empty {
  display: none;
}
.text-field-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 35px;
}
#clear_text_btn {
  width: 110px;
  height: 35px;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 105, 97, 0.7);
  color: #fff;
  font-size: 12px;
  line-height: 50%;
  cursor: pointer;
  transition: all 0.3s;
}
#clear_text_btn:hover {
  background: #ff6f61;
}

/* 단어 치환 */
.flex-container:has(> .replacer_box) {
  display: flex;
  justify-content: space-between !important;
  flex-wrap: wrap;
  margin: 10px 0;
  padding: 4px !important;
}
.replacer_box {
  width: 48%;
  height: 40px;
  padding: 8px 10px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.5);
  color: #2c3e50;
  font-size: 14px;
  backdrop-filter: blur(5px);
}
.replace-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
#clear_replace {
  margin-right: auto;
}

/* 카테고리 탭 */
.tab-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 20px 0 10px 0;
  gap: 10px;
}
.tab-btn {
  flex: 1;
  justify-content: center;
  align-items: center;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  color: #2c3e50;
  cursor: pointer;
  transition: all 0.3s;
}
.tab-btn.active {
  background: #a29bfe;
  color: white;
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.tab-content h4 {
  width: 100%;
  margin-bottom: 10px;
}
.tab-content select,
.tab-content input[type="text"],
.tab-content input[type="color"],
.tab-content input[type="number"] {
  width: calc(100% - 70px);
  height: 40px;
  margin: 8px 0;
  padding: 10px;
  border: none !important;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.5);
  color: #2c3e50;
  font-size: 14px;
  backdrop-filter: blur(5px);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  &::-webkit-color-swatch {
    border: 0px !important;
    border-radius: 10px;
  }
}
.tab-content input[type="range"] {
  width: calc(100% - 70px);
  margin: 5px 0 10px;
  padding: 10px;
  accent-color: #a29bfe;
}
label {
  display: block;
  width: 60px;
  color: #2c3e50;
  font-size: 14px;
}
.footer-scroll-only-hidden {
  display: none !important;
}
input[type="checkbox"] {
  width: 15px !important;
  height: 15px !important;
  border-radius: 50% !important;
}
div:has(> input[type="checkbox"]):has(> input[type="color"]) {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;

  & label {
    width: 80px !important;
  }

  & input[type="color"]:not([class*="tag-"]) {
    width: calc(100% - 110px) !important;
  }
}

/* 텍스트 스타일 설정 탭 */
#custom-font-color {
  width: 100%;
  margin-top: 15px;
}
#custom-font-color > h4 {
  margin-bottom: 0 !important;
}
#custom-font-color > h4 > span {
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 10px;
  background-color: #a29bfe;
  color: #fff;
  font-size: 12px !important;
  cursor: pointer;
  transition: color 0.2s ease;
}
#custom-font-color.hide .font-color-lists {
  display: none;
}
#custom-font-color.opened > h4 > span {
  background-color: #ff6f61;
}
.font-color-lists {
  padding-top: 10px !important;
}
.markdown-color-row {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 6px;
  gap: 6px;
}
.markdown-color-row-spacer {
  display: inline-block;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}
.markdown-color-row > label {
  width: 80px !important;
}
.markdown-color-row > input[type="color"] {
  width: calc(100% - 115px) !important;
}
#tti_font_family:disabled {
  background: rgba(0, 0, 0, 0.07);
}
.custom-font-uploader {
  display: flex;
  justify-content: flex-end !important;
  width: 100%;
  margin-bottom: 20px;
}
.custom-font-uploader .buttons {
  width: calc(calc(100% - 70px) / 2 - 5px) !important;
  font-family: "Pretendard-Regular" !important;
}
#delete-local-font {
  margin-left: 10px;

  &:not(:disabled) {
    background: rgba(255, 105, 97, 0.7);
    transition: all 0.3s;
  }
  &:not(:disabled):hover {
    background: #ff6f61;
  }
}
#delete-local-font:disabled {
  background: rgba(0, 0, 0, 0.07) !important;
  cursor: default;
}

/* 배경이미지 탭 */
#background_color,
#second_background_color {
  width: calc(100% - 50px) !important;
}
.background-gallery {
  display: grid;
  width: 100%;
  max-height: 300px;
  margin-top: 10px;
  padding: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.5);
  grid-template-columns: repeat(4, 1fr);
  overflow-y: auto;

  &:empty {
    display: none;
  }
}
.bg-image-item {
  position: relative;
  width: 100%;
  padding-top: 100%;
  border: 2px solid transparent;
  cursor: pointer;
  box-sizing: border-box;

  & .delete-bg-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 16px;
    line-height: 18px;
    text-align: center;
    opacity: 0;
    cursor: pointer;
    transition: opacity 0.2s;
  }
  &:hover .delete-bg-btn {
    opacity: 1;
  }
}
.bg-image-item.selected {
  border-color: #a29bfe;
}
.bg-image-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.custom-bg {
  width: 100% !important;
  margin-top: 30px;
}
.custom-bg-upload {
  width: 100%;
}
.custom-bg-upload label {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}
.custom-bg-upload label:hover {
  background: #a29bfe;
  color: #fff;
}
#bg_image_url {
  width: calc(100% - 50px);
}
#bg_url_btn {
  width: 40px !important;
  height: 40px !important;
}

/* 하이라이터 */
#custom-highlighter .highlighter-lists {
  width: 100%;
  display: flex;
  flex-flow: column;
  gap: 20px;

  & .tag-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  & .delete-tag-btn {
    height: 28px !important;
    width: 28px !important;
    font-size: 12px !important;
  }

  & .add-tag-btn {
    width: 100px !important;
    align-self: center;
  }
}
.highlighter-lists .tag-item-left {
  display: flex;
  flex-direction: column;
  width: calc(100% - 40px) !important;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.4);
  gap: 10px 0;

  & *[class*="container"] {
    display: flex;
    justify-content: flex-start !important;
    width: auto !important;
  }
  & > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;

    &:last-child {
      flex-wrap: wrap;
    }
  }

  & input,
  & select {
    height: 30px !important;
    padding: 5px 10px !important;
    margin: 0 !important;
    text-align: center !important;
    border-radius: 10px !important;
    border: 1px solid #eee !important;
  }
  & input[type="checkbox"] {
    margin-right: 5px !important;
  }
  & .tag-font-size {
    width: 30% !important;
    min-width: 60px !important;
  }
  & .tag-name {
    width: 120px !important;
    border: 2px solid #a29bfe !important;
  }
  & .bg-color-container,
  & .font-color-container {
    flex: 1;
    & input[type="color"] {
      width: 100% !important;
      min-width: 50px !important;
      padding: 2px !important;
    }
  }
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* 미리보기 제어 / 치환 옵션 토글 */
h4:has(.replace-control) {
  display: flex;
  flex-wrap: wrap;
}
:where(.preview-control, .replace-control) {
  display: inline-flex;
  flex-wrap: wrap;
  margin-left: auto;
  gap: 10px;

  & label {
    width: auto !important;
    font-size: 12px;
    cursor: pointer;
  }
}
:where(#preview_toggle, #html_toggle, #letter_control, #unit_control) + label {
  opacity: 0.5;
}
:where(#preview_toggle, #html_toggle, #letter_control, #unit_control) + label::before {
  margin-right: 3px;
  font-family: "Font Awesome 7 Free";
  font-size: 12px;
  content: "\f204";
}
:where(#preview_toggle, #html_toggle, #letter_control, #unit_control):checked + label {
  opacity: 1;
}
:where(#preview_toggle, #html_toggle, #letter_control, #unit_control):checked + label::before {
  color: #a29bfe;
  font-family: "Font Awesome 7 Free";
  font-size: 12px;
  content: "\f205";
}
.refresh-preview {
  display: none;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  color: rgba(255, 105, 97, 0.7);
  font-size: 12px !important;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;

  &.shown {
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }
  &:hover {
    background: rgba(255, 105, 97, 0.7);
    color: #fff;
  }
}
.range-value-tooltip {
  position: absolute;
  transform: translateX(-50%);
  padding: 4px 7px;
  border-radius: 7px;
  background: rgba(44, 62, 80, 0.9);
  color: #fff;
  font-size: 11px;
  line-height: 1;
  pointer-events: none;
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.12s ease;
}
.range-value-tooltip.shown {
  opacity: 1;
}

/* 미리보기 */
.dl_all {
  margin-left: auto;
  padding: 10px 15px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  color: #2c3e50;
  font-size: 13px !important;
  cursor: pointer;
  transition: all 0.3s;

  &:hover {
    background: #a29bfe;
    color: #fff;
  }
}
.image-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  width: 100%;
  &:empty {
    display: none;
  }
}
.flex-container:has(> .image-preview:empty) h4 {
  margin: 0 !important;
}
.image-preview-item {
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.3);
}
.image-preview-item img {
  max-width: 100%;
  border-radius: 10px;
}
.download-btn {
  display: block;
  width: 150px;
  margin: 10px auto;
  padding: 8px;
  border: none;
  border-radius: 10px;
  background: #a29bfe;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s;
}
.download-btn:hover {
  background: #6b7280;
}

@media (max-width: 620px) {
  #text-to-image {
    margin: 10px auto !important;
    padding: 10px !important;
  }
  .preset-control:has(#preset_selector) {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px 0;
  }
  #preset_selector {
    width: 100% !important;
  }
}

@font-face {
  font-family: "Pretendard-Regular";
  font-weight: 400;
  src: url("https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard@main/Pretendard-Regular.woff2") format("woff");
  font-style: normal;
}
@font-face {
  font-family: "SUIT-Regular";
  font-weight: normal;
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-Regular.woff2") format("woff2");
  font-style: normal;
}
@font-face {
  font-family: "Chosunilbo_myungjo";
  font-weight: normal;
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_one@1.0/Chosunilbo_myungjo.woff") format("woff");
  font-style: normal;
}
@font-face {
  font-family: "ChosunSm";
  font-weight: normal;
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@1.1/ChosunSm.woff") format("woff");
  font-style: normal;
}
@font-face {
  font-family: "ChosunGu";
  font-weight: normal;
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@1.0/ChosunGu.woff") format("woff");
  font-style: normal;
}
@font-face {
  font-family: "ChosunSg";
  font-weight: normal;
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@1.0/ChosunSg.woff") format("woff");
  font-style: normal;
}
@font-face {
  font-family: "RIDIBatang";
  font-weight: normal;
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_twelve@1.0/RIDIBatang.woff") format("woff");
  font-style: normal;
}
@font-face {
  font-family: "NotoSerifKR";
  font-weight: normal;
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_two@1.0/NotoSerifKR.woff") format("woff");
  font-style: normal;
}
@font-face {
    font-family: 'GangwonEducationModuche';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2201-2@1.0/GangwonEdu_OTFLightA.woff') format('woff');
    font-weight: 300;
    font-display: swap;
}
@font-face {
  font-family: "MaruBuriSemiBold";
  src: url(https://hangeul.pstatic.net/hangeul_static/webfont/MaruBuri/MaruBuri-SemiBold.eot);
  src:
    url(https://hangeul.pstatic.net/hangeul_static/webfont/MaruBuri/MaruBuri-SemiBold.eot?#iefix) format("embedded-opentype"),
    url(https://hangeul.pstatic.net/hangeul_static/webfont/MaruBuri/MaruBuri-SemiBold.woff2) format("woff2"),
    url(https://hangeul.pstatic.net/hangeul_static/webfont/MaruBuri/MaruBuri-SemiBold.woff) format("woff"),
    url(https://hangeul.pstatic.net/hangeul_static/webfont/MaruBuri/MaruBuri-SemiBold.ttf) format("truetype");
}
@font-face {
  font-family: "SunBatang-Light";
  font-weight: normal;
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_eight@1.0/SunBatang-Light.woff") format("woff");
  font-style: normal;
}
@font-face {
  font-family: "S-CoreDream-3Light";
  font-weight: normal;
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-3Light.woff") format("woff");
  font-style: normal;
}
@font-face {
  font-family: "KyoboHandwriting2020A";
  font-weight: normal;
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2112@1.0/KyoboHandwriting2020A.woff") format("woff");
  font-style: normal;
}
@font-face {
  font-family: "Ownglyph_corncorn-Rg";
  font-weight: normal;
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/2412-1@1.0/Ownglyph_corncorn-Rg.woff2") format("woff2");
  font-style: normal;
}
@font-face {
  font-family: "MapoGoldenPier";
  font-weight: normal;
  src: url("https://gcore.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/MapoGoldenPierA.woff") format("woff");
  font-style: normal;
}
@font-face {
  font-family: "Iropke Batang";
  font-weight: 400;
  font-style: normal;
  src: url(//cdn.jsdelivr.net/font-iropke-batang/1.2/IropkeBatangM.eot);
  src:
    url(//cdn.jsdelivr.net/font-iropke-batang/1.2/IropkeBatangM.eot?#iefix) format("embedded-opentype"),
    url(//cdn.jsdelivr.net/font-iropke-batang/1.2/IropkeBatangM.woff) format("woff"),
    url(//cdn.jsdelivr.net/font-iropke-batang/1.2/IropkeBatangM.ttf) format("truetype");
}
@font-face {
  font-family: "Jeju Myeongjo";
  font-weight: 400;
  font-style: normal;
  src: url(//fonts.gstatic.com/ea/jejumyeongjo/v3/JejuMyeongjo-Regular.eot);
  src:
    url(//fonts.gstatic.com/ea/jejumyeongjo/v3/JejuMyeongjo-Regular.eot?#iefix) format("embedded-opentype"),
    url(//fonts.gstatic.com/ea/jejumyeongjo/v3/JejuMyeongjo-Regular.woff2) format("woff2"),
    url(//fonts.gstatic.com/ea/jejumyeongjo/v3/JejuMyeongjo-Regular.woff) format("woff"),
    url(//fonts.gstatic.com/ea/jejumyeongjo/v3/JejuMyeongjo-Regular.ttf) format("truetype");
}
@font-face {
  font-family: "Father_loveletter";
  font-weight: normal;
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/naverfont_03@1.0/Father_loveletter.woff") format("woff");
  font-style: normal;
}
@font-face {
  font-family: "KyoboHand";
  font-weight: normal;
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@1.0/KyoboHand.woff") format("woff");
  font-style: normal;
}
@font-face {
  font-family: "Ownglyph_wiseelist-Rg";
  font-weight: normal;
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/2501-1@1.1/Ownglyph_wiseelist-Rg.woff2") format("woff2");
  font-style: normal;
}
@font-face {
    font-family: 'OngleipParkDahyeon';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2411-3@1.0/Ownglyph_ParkDaHyun.woff2') format('woff2');
    font-weight: normal;
    font-display: swap;
}
@font-face {
  font-family: "Uiyeun";
  font-weight: normal;
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2105@1.1/Uiyeun.woff") format("woff");
  font-style: normal;
}
@font-face {
  font-family: "Yoonwoo";
  font-weight: normal;
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2105@1.1/Yoonwoo.woff") format("woff");
  font-style: normal;
}
@font-face {
  font-family: "Ownglyph_ryuttung-Rg";
  font-weight: normal;
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/2405-2@1.0/Ownglyph_ryuttung-Rg.woff2") format("woff2");
  font-style: normal;
}
@font-face {
  font-family: "GowunDodum-Regular";
  font-weight: normal;
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/GowunDodum-Regular.woff") format("woff");
  font-style: normal;
}
@font-face {
  font-family: "LeeSeoyun";
  font-weight: normal;
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2202-2@1.0/LeeSeoyun.woff") format("woff");
  font-style: normal;
}
@font-face {
  font-family: "ANDONG264TTF";
  font-weight: normal;
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/2502-1@1.0/ANDONG264TTF.woff2") format("woff2");
  font-style: normal;
}
@font-face {
  font-family: "SimKyungha";
  font-weight: normal;
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2202-2@1.0/SimKyungha.woff") format("woff");
  font-style: normal;
}
@font-face {
  font-family: "KCC-Sonkeechung";
  font-weight: normal;
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2212@1.0/KCC-Sonkeechung.woff2") format("woff2");
  font-style: normal;
}
@font-face {
  font-family: "KyoboHandwriting2023wsa";
  font-weight: normal;
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/2404-2@1.0/KyoboHandwriting2023wsa.woff2") format("woff2");
  font-style: normal;
}
@font-face {
  font-family: "Ownglyph_kimkonghae";
  font-weight: normal;
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/2408@1.0/Ownglyph_kimkonghae.woff2") format("woff2");
  font-style: normal;
}
@font-face {
  font-family: "Pretty_Left_handed";
  font-weight: normal;
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/naverfont_09@1.0/Pretty_Left_handed.woff") format("woff");
  font-style: normal;
}
@font-face {
  font-family: "mom_to_daughter";
  font-weight: normal;
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/naverfont_08@1.0/mom_to_daughter.woff") format("woff");
  font-style: normal;
}
@font-face {
  font-family: "Saying_tobe_strong";
  font-weight: normal;
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/naverfont_09@1.0/Saying_tobe_strong.woff") format("woff");
  font-style: normal;
}
@font-face {
  font-family: "Ownglyph_daelong-Rg";
  font-weight: normal;
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/2507-2@1.0/Ownglyph_daelong-Rg.woff2") format("woff2");
  font-style: normal;
}
@font-face {
  font-family: "KyoboHandwriting2024psw";
  font-weight: normal;
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/2507-1@1.0/KyoboHandwriting2024psw.woff2") format("woff2");
  font-style: normal;
}
@font-face {
  font-family: "Ownglyph_jiwoosonang";
  font-weight: normal;
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/2408@1.0/Ownglyph_jiwoosonang.woff2") format("woff2");
  font-style: normal;
}
@font-face {
  font-family: "TTBookendBatangR";
  font-weight: 400;
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/2410-2@1.0/TTBookendBatangR.woff2") format("woff2");
  font-style: normal;
}
@font-face {
  font-family: "JNE-Bareun-TTF-Bold";
  font-weight: 700;
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/2408-1@1.0/JNE-Bareun-TTF-Bold.woff2") format("woff2");
  font-style: normal;
}
@font-face {
  font-family: "Ownglyph_Dailyokja-Rg";
  font-weight: normal;
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/2403@1.0/Ownglyph_Dailyokja-Rg.woff2") format("woff2");
  font-style: normal;
}
@font-face {
  font-family: "Galmuri9";
  font-weight: normal;
  src: url("https://cdn.jsdelivr.net/gh/quiple/galmuri@main/dist/Galmuri9.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Galmuri11";
  font-weight: normal;
  src: url("https://cdn.jsdelivr.net/gh/quiple/galmuri@main/dist/Galmuri11.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Galmuri14";
  font-weight: normal;
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2506-1@1.0/Galmuri14.woff2") format("woff2");
}
@font-face {
  font-family: "BookkMyungjo-Bd";
  font-weight: 700;
  src: url("https://cdn.jsdelivr.net/gh/fontbee/font@main/Rixfont/BookkMyungjo-Bd.woff2") format("woff2");
  font-style: normal;
}
@font-face {
  font-family: "MissedGyuwon";
  font-weight: normal;
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2510-1@1.0/Griun_Gyuwon-Rg.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Umdot";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2601-4@1.1/Umdot12.woff2") format("woff2");
  font-weight: normal;
  font-display: swap;
}
@font-face {
  font-family: "BelovedMyoeunttobak";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2601-1@1.0/Griun_Myoeunddobak-Rg.woff2") format("woff2");
  font-weight: normal;
  font-display: swap;
}
@font-face {
  font-family: "NostalgicMongtori";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2601-1@1.0/Griun_Mongtori-Rg.woff2") format("woff2");
  font-weight: normal;
  font-display: swap;
}
@font-face {
  font-family: "NostalgicGellyRoll";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2601-1@1.0/Griun_Gellyroll-Rg.woff2") format("woff2");
  font-weight: normal;
  font-display: swap;
}
@font-face {
  font-family: "SchoolSafetyCertificate";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2510-1@1.0/HakgyoansimSangjangR.woff2") format("woff2");
  font-weight: normal;
  font-display: swap;
}
@font-face {
  font-family: "GyeongbokgungSumunjangBodyText";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2511-3@1.0/Sumunjang_BodyL.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "GyeongbokgungSumunjangBodyText";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2511-3@1.0/Sumunjang_BodyM.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "GyeongbokgungSumunjangBodyText";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2511-3@1.0/Sumunjang_BodyB.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "GMarketSans-L";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansLight.woff") format("woff");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "GMarketSans-M";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff") format("woff");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "GMarketSans-B";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "NostalgicPoliceFairness";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2601-6@1.0/Griun_PolFairness-Rg.woff2") format("woff2");
  font-weight: normal;
  font-display: swap;
}
@font-face {
  font-family: "NostalgicPoliceHumanRights";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2601-6@1.0/Griun_PolHumanrights-Rg.woff2") format("woff2");
  font-weight: normal;
  font-display: swap;
}
@font-face {
  font-family: "NostalgicCocochoitoon";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2601-1@1.0/Griun_Cocochoitoon-Rg.woff2") format("woff2");
  font-weight: normal;
  font-display: swap;
}
@font-face {
  font-family: "A2z";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2601-6@1.0/에이투지체-5Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Tangba";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2601-4@1.1/Tangba12.woff2") format("woff2");
  font-weight: normal;
  font-display: swap;
}
@font-face {
    font-family: 'NostalgicWensonjabiSeulgiru';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2601-1@1.0/Griun_LEFTSG-Rg.woff2') format('woff2');
    font-weight: normal;
    font-display: swap;
}
@font-face {
    font-family: 'PyeojinGothic';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2504-1@1.0/PyeojinGothic-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'NostalgicDesertYeonwoo';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2508-2@1.0/Griun_YEONWOO-Rg.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'ReperiBase';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2201-2@1.0/LeferiBaseType-RegularA.woff') format('woff');
    font-weight: normal;
    font-display: swap;
}
@font-face {
  font-family: 'Paperlogy';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Paperlogy/Paperlogy-4Regular.woff2') format('woff2'),
        url('https://cdn.jsdelivr.net/gh/fonts-archive/Paperlogy/Paperlogy-4Regular.woff') format('woff'),
        url('https://cdn.jsdelivr.net/gh/fonts-archive/Paperlogy/Paperlogy-4Regular.otf') format('opentype'),
        url('https://cdn.jsdelivr.net/gh/fonts-archive/Paperlogy/Paperlogy-4Regular.ttf') format('truetype');
}