/**
 * reset.css
 * ----------
 * 브라우저마다 다른 기본 스타일을 맞춰 주는 CSS 초기화 파일입니다.
 * Eric Meyer / modern-reset 스타일을 참고해, 학습용으로 필요한 것만 넣었습니다.
 */

/* 모든 요소의 박스 계산 방식을 border-box로 통일 (padding이 width 안에 포함됨) */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 기본 여백 제거 */
body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

/* 리스트 스타일 제거 (메뉴 등에서 불릿 없이 사용) */
ul,
ol {
  list-style: none;
  padding: 0;
}

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

/* 이미지가 부모 너비를 넘지 않도록 */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 버튼·입력 기본 폰트 상속 */
button,
input {
  font: inherit;
}

/* 버튼 기본 테두리/배경 제거 (디자인은 common/style에서) */
button {
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}
