/* ==========================================================================
   Reset — Browser Reset & Normalization
   ========================================================================== */

/* Box sizing
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin and padding
   ========================================================================== */
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl,
dd,
figure,
blockquote,
pre,
fieldset,
legend,
textarea,
input,
select,
button {
  margin: 0;
  padding: 0;
}

/* Document
   ========================================================================== */
html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

/* Grouping content
   ========================================================================== */
ul,
ol {
  list-style: none;
}

/* Text-level semantics
   ========================================================================== */
a {
  text-decoration: none;
  color: inherit;
}

strong,
b {
  font-weight: inherit;
}

/* Embedded content
   ========================================================================== */
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Forms
   ========================================================================== */
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  appearance: none;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

textarea {
  resize: vertical;
}

/* Tables
   ========================================================================== */
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

/* Misc
   ========================================================================== */
hr {
  border: none;
  border-top: 1px solid;
}

[hidden] {
  display: none !important;
}

/* Focus
   ========================================================================== */
:focus-visible {
  outline: 2px solid;
  outline-offset: 2px;
}

/* Reduced motion
   ========================================================================== */
@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;
  }
}
