/* font */
/* 기본폰트 : 본고딕, 영문 lato 세팅 */
/* Lato Regular */
@font-face {
  font-family: "avenir";
  font-style: normal;
  font-weight: 400;
  src: url("./fonts/AvenirNextLTPro-Regular.woff2") format("woff2"),
    url("./fonts/AvenirNextLTPro-Regular.ttf") format("ttf");
}

/* Lato Bold */
@font-face {
  font-family: "avenir";
  font-style: normal;
  font-weight: 700;
  src: url("./fonts/AvenirNextLTPro-Bold.woff2") format("woff2"),
    url("./fonts/AvenirNextLTPro-Bold.ttf") format("ttf");
}

@font-face {
  font-family: "NotoSans";
  font-style: normal;
  font-weight: 400;
  src: url("./fonts/NotoSansKR-Regular.woff2") format("woff2"),
    url("./fonts/NotoSansKR-Regular.ttf") format("ttf");
}

@font-face {
  font-family: "NotoSans";
  font-style: normal;
  font-weight: 500;
  src: url("./fonts/NotoSansKR-Medium.woff2") format("woff2"),
    url("./fonts/NotoSansKR-Medium.ttf") format("ttf");
}

@font-face {
  font-family: "NotoSans";
  font-style: normal;
  font-weight: 700;
  src: url("./fonts/NotoSansKR-Bold.woff2") format("woff2"),
    url("./fonts/NotoSansKR-Bold.ttf") format("ttf");
}
html * {
  font-family: "NotoSans" !important;
}
.inner_1600 {
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}
em {
  font-style: normal;
}
button,
a {
  cursor: pointer;
  text-decoration: none;
}
.en {
  font-family: "avenir" !important;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar,
.scrollbar::-webkit-scrollbar {
  width: 10px; /* 스크롤바 너비 */
  height: 10px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
.scrollbar::-webkit-scrollbar-track {
  background: transparent; /* 트랙 배경 */
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
.scrollbar::-webkit-scrollbar-thumb {
  background-color: #999; /* 스크롤바 색 */
  border-radius: 4px;
  border: 2px solid transparent; /* thumb 안쪽 여백 */
  background-clip: content-box;
}

* {
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: none;
  word-break: keep-all;
  box-sizing: border-box;
  position: relative;
}

*,
:after,
:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: none;
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
  -ms-overflow-x: hidden;
  scroll-behavior: auto;
}

html,
body {
  position: relative;
  -webkit-text-size-adjust: none;
  box-sizing: border-box;
  word-break: keep-all;
  scroll-behavior: auto;
}

/* html, body 기본 흰배경의 사이트일때 */
html,
body {
  width: 100%;
  min-height: 100%;
  background-color: #fff;
  -webkit-text-size-adjust: none;
  box-sizing: border-box;
  word-break: keep-all;
  scroll-behavior: auto;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="submit"],
input[type="password"],
input[type="image"],
input[type="button"],
textarea {
  -webkit-border-radius: 0;
  -webkit-appearance: none;
}

button,
input,
input[type="radio"],
input[type="checkbox"],
select,
textarea {
  vertical-align: middle;
  border: none;
  border-radius: 0;
  -webkit-border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  background-color: transparent !important;
}

input:autofill,
input:autofill:hover,
input:autofill:focus,
input:autofill:active {
  background-color: transparent !important;
}

img,
video,
audio,
object,
embed,
iframe {
  max-width: 100%;
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
blockquote,
table,
th,
td,
legend,
button,
code,
p,
select {
  margin: 0;
  padding: 0;
}

ol,
ul {
  margin: 0;
  padding: 0;
  list-style: none;
  list-style: none outside;
}

li {
  text-decoration: none;
}

.inner_1200 {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}
.inner_800 {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

.m_show {
  display: none;
}
@media screen and (max-width: 768px) {
  .m_show {
    display: block;
  }
  .m_hide {
    display: none;
  }
  .inner_1200 {
    padding: 0px 14px;
  }
  .inner_800 {
    padding: 0px 14px;
  }
}
.img_box img {
  width: 100%;
}

.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dimm {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); 
}

.spinner {
  position: relative;
  width: 50px;
  height: 50px;
  border: 5px solid #ccc;
  border-top-color: #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 1000;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
