@charset "utf-8";

/* font-face */
@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Thin.woff') format('woff');
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-ExtraLight.woff') format('woff');
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Light.woff') format('woff');
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Regular.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Medium.woff') format('woff');
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-SemiBold.woff') format('woff');
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Bold.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Black.woff') format('woff');
  font-weight: 900;
  font-display: swap;
}



/* 1. 박스 모델을 border-box로 통일하여 레이아웃 계산을 쉽게 만듭니다. */
html {
  box-sizing: border-box;
}

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

/* 2. html, body에 기본 폰트와 행간, 브라우저 스크롤 바를 설정합니다. */
html,
body {
  width: 100%;
  height: 100%;
  font-family: var(--font-system);
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

/* 3. 이미지와 비디오가 컨테이너를 벗어나지 않도록 설정합니다. */
img,
video {
  max-width: 100%;
  height: auto;
}

/* 4. HTML5 블록 요소들을 일관성 있게 표시합니다. */
article,
aside,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section {
  display: block;
}

/* 5. 텍스트 관련 요소 초기화 */
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var {
  margin: 0;
  padding: 0;
  font-style: normal;
  font-weight: normal;
}

/* 6. 리스트 스타일 초기화 */
ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 7. 테이블 스타일 초기화 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

/* 8. 폼 요소 초기화 */
button,
input,
select,
textarea {
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: 100%;
  box-sizing: border-box;
}

button {
  cursor: pointer;
}

/* 9. 링크 기본 스타일 제거 */
a {
  text-decoration: none;
  color: inherit;
}

caption,
legend {
  position: absolute;
  top: -9999px;
  left: -9999px;
  width: 0px;
  height: 0px;
  font-size: 0px;
  line-height: 0;
  overflow: hidden;
}
input, textarea{opacity:1;-webkit-text-fill-color:inherit;}
input, textarea, select{margin:0;padding:0;font-family:inherit;font-size:16px;font-weight:400;color:var(--gray5);;box-sizing:border-box;-webkit-box-sizing:border-box;line-height:normal;-webkit-appearance:none;appearance:none;outline:none;}
textarea, select{outline:none;}
select::-ms-expand{display:none;}
select:disabled{pointer-events:none;}


input,
textarea {
  opacity: 1;
  -webkit-text-fill-color: inherit;
}

input,
textarea,
select {
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  color: var(--gray5);
  ;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  line-height: normal;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}

textarea,
select {
  outline: none;
}

select::-ms-expand {
  display: none;
}

select:disabled {
  pointer-events: none;
}


// etc
.hidden {
  display: none;
}

.center {
  text-align: center;
}

.left {
  text-align: left;
}

.right {
  text-align: right;
}