/* Reset CSS - 기본 스타일 리셋 */

/* Box sizing을 border-box로 설정 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 기본 마진, 패딩 제거 */
* {
  margin: 0;
  padding: 0;
}

/* HTML 기본 설정 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Body 기본 설정 */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 제목 태그 기본 스타일 */
h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

/* 링크 기본 스타일 */
a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

/* 버튼 기본 스타일 */
button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  outline: inherit;
}

/* 입력 요소 기본 스타일 */
input, textarea, select {
  font: inherit;
  color: inherit;
}

/* 리스트 기본 스타일 */
ul, ol {
  list-style: none;
}

/* 이미지 기본 스타일 */
img, picture, video, svg {
  display: block;
  max-width: 100%;
}

/* 테이블 기본 스타일 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 폼 요소 기본 스타일 */
fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

/* 기타 요소들 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/* 포커스 스타일 */
:focus {
  outline: none;
}

/* 선택된 텍스트 스타일 */
::selection {
  background-color: #b3d4fc;
  color: black;
}

/* 스크롤 관련 스타일 */
html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
