/*
 * A.N.C. KOREA Co., Ltd - Reset CSS
 * Version: 1.0
 * This CSS file provides a baseline normalization of styles across browsers
 */

/* Box sizing for all elements */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin and padding */
html,
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,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

/* Set core root defaults */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Remove list styles on ul, ol elements */
ul,
ol {
  list-style: none;
}

/* Remove quotes from blockquote and q */
blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

/* Set shorter line heights on headings and paragraphs */
h1,
h2,
h3,
h4,
h5,
h6,
p {
  overflow-wrap: break-word;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img {
  max-width: 100%;
  display: block;
}

/* Table settings */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Forms and buttons */
input,
button,
textarea,
select {
  font: inherit;
  margin: 0;
}

button {
  cursor: pointer;
  color: inherit;
  background-color: transparent;
  padding: 0;
  border: none;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Fix for older Android browsers */
* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* Accessible outline */
:focus {
  outline: 2px solid #2D9D5A;
  outline-offset: 2px;
}

/* But not when using mouse */
:focus:not(:focus-visible) {
  outline: none;
}

/* Set text selection color */
::selection {
  background-color: rgba(45, 157, 90, 0.3);
  color: #333;
}

/* Remove spinners from number inputs */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox specific */
input[type=number] {
  -moz-appearance: textfield;
}

/* Fix for iOS font sizing */
@supports (-webkit-touch-callout: none) {
  body {
    -webkit-font-smoothing: antialiased;
  }
}

/* Remove gaps between cells in tables */
th {
  font-weight: bold;
  text-align: left;
}

/* Fix for empty space at the bottom of pages with absolute/fixed position elements */
html, body {
  overflow-x: hidden;
  width: 100%;
}

/* Reset default stacking context */
body {
  isolation: isolate;
}