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

:root {
  /* color */
  --primary-white: #ffffff;
  --primary-black: #000000;
  --font-sb: 600;
  --font-m: 500;
  --font-r: 400;
  --font-pr: 300;

  --hoho: "HOHODANG";
  --pre: "Pretendard";

  --page-bg: #faf9f5;
}

* {
  margin: 0;
  padding: 0;
  color: inherit;
  font: inherit;
}

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

button {
  background: none;
  border: 0;
  cursor: pointer;
}

a {
  text-decoration: none;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

ul {
  list-style: none;
}

fieldset,
input {
  border: 0;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  object-fit: cover;
}

section {
  position: relative;
}

html,
body {
  width: 100%;
  height: 100%;
}
html {
  /* margin: 0 !important; */
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
  word-break: break-word;
  font-family: "Pretendard", "HOHODANG", sans-serif !important;
  line-height: 1.67;
  overflow-x: hidden;
  font-size: 1rem;
  opacity: 1;
}
/* home 제외한 페이지는 초기 투명 */
body:not(.home) {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* JS에서 붙일 클래스 */
body.page-loaded {
  opacity: 1;
}
/* 로더 기본 상태 (초기값) */
body.home .main-logo-loader {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 1;
  transition: opacity 1.2s ease;
  pointer-events: none;
}

/* 숨김 상태 */
body.home .main-logo-loader.hide {
  opacity: 0;
}
.main-logo-loader img,
.main-logo-loader svg {
  opacity: 1;
  transition: opacity 1.2s ease;
}

.side_bottom--block .side_bottom--right::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Edge */
}
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px white inset;
  box-shadow: 0 0 0 1000px white inset;
}
body::-webkit-scrollbar {
  display: none;
}

.side_bottom--block .side_bottom--right::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Edge */
}
@media screen and (max-width: 992px) {
  body {
    -ms-overflow-style: none;
    /* IE & Edge */
    scrollbar-width: none;
    /* Firefox */
  }

  body::-webkit-scrollbar {
    display: none !important;
    /* Safari & Chrome */
    scrollbar-width: none !important;
  }
}
