/* ============================================
   CSS Reset & Normalization
   ============================================
   브라우저 기본 스타일 초기화 및 통일
   ============================================ */

/* ========== Basic Reset ========== */
html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, header, footer,
sub, sup, tt, var,
dl, dt, dd, ol, select, button, ul, li,
fieldset, form, label, legend, caption,
tbody, tfoot, thead, tr, textarea, input {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

div, strong, span, em, i {
  letter-spacing: inherit;
  word-spacing: inherit;
}

fieldset, img {
  border: 0 none;
}

dl, ul, ol, menu, li {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
  margin: 0;
  padding: 0;
}

img {
  -ms-interpolation-mode: bicubic !important;
}

input, select, textarea, button {
  font-family: inherit;
}

table, th, td {
  margin: 0;
  padding: 0;
  border-spacing: 0;
  border-collapse: collapse;
  box-sizing: border-box;
}

address, caption, cite, code, dfn, em, var {
  font-style: normal;
  font-weight: normal;
}

sub, sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

legend, caption {
  height: 0;
  text-indent: -9999px;
  overflow: hidden;
  font-size: 0;
}

input, button {
  border-radius: 0;
  cursor: pointer;
  overflow: visible;
}

button,
input[type='button'],
input[type='submit'] {
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
}

select, input, textarea, button {
  font: inherit;
}

label {
  cursor: pointer;
}

button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
  padding: 0;
}

select {
  border-radius: 0;
}

a {
  text-decoration: none;
  color: var(--text-gray);
}

a:hover {
  text-decoration: none;
}

/* ========== 유틸리티 클래스 ========== */
.clear {
  clear: both;
  display: block;
  float: none;
  font-size: 0 !important;
  height: 0;
  line-height: 0 !important;
  margin: 0 !important;
  overflow: hidden;
  padding: 0 !important;
  width: 100%;
}

.hide {
  position: absolute;
  left: -9999px;
  top: 0;
  overflow: hidden;
  width: 1px;
  height: 1px;
  font-size: 0;
}

/* ========== 텍스트 선택 색상 ========== */
::-moz-selection {
  background-color: rgba(0, 0, 0, 0.4);
  color: #fff;
}

::selection {
  background-color: rgba(0, 0, 0, 0.4);
  color: #fff;
}

/* ========== Placeholder 스타일 ========== */
::-webkit-input-placeholder {
  color: var(--text-light);
}

:-moz-placeholder {
  color: var(--text-light);
}

::-moz-placeholder {
  color: var(--text-light);
}

:-ms-input-placeholder {
  color: var(--text-light);
}
