/* ==========================================================================
   Reset - Modern CSS Reset
   ADVANCE v2 Theme
   ========================================================================== */

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

/*
 * Remove default margin and padding
 */
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd,
ul,
ol {
  margin: 0;
  padding: 0;
}

/*
 * HTML & Body defaults
 */
html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/*
 * Images and media
 */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/*
 * Form elements inherit fonts
 */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/*
 * Button reset
 */
button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

/*
 * Links
 */
a {
  color: inherit;
  text-decoration: none;
}

/*
 * Lists
 */
ul,
ol {
  list-style: none;
}

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

/*
 * Remove animations for reduced motion preference
 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
