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

html {
  font-size: 16px;
}

/* ==========================================================================
   2. Reset default spacing
   ========================================================================== */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}
/* Remove padding and bullets from lists with a class attribute */
ul[class],
ol[class] {
  padding: 0;
  list-style: none;
}
/* ==========================================================================
   3. Base typography & layout
   ========================================================================== */
body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}
/* Normalize fonts in forms */
input,
button,
textarea,
select {
  font: inherit;
}
/* Spacing between elements in article */
article > * + * {
  margin-top: 1em;
}
/* ==========================================================================
   4. Images
   ========================================================================== */
img {
  max-width: 100%;
  display: block;
}
/* ==========================================================================
   5. Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* ==========================================================================
   6. Reset for navigation, lists and links
   ========================================================================== */
nav {
  margin: 0;
  padding: 0;
}
/* Reset lists inside nav and globally for li */
nav ul,
nav li,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}
/* Base styles for all links */
a {
  color: inherit;
  text-decoration: none;
  background-color: transparent;
}
/* Link behavior on hover and focus */
a:hover,
a:focus {
  text-decoration: none;
  outline: none;
}
/* Preserve text effect on links without a class  */
a:not([class]) {
  text-decoration-skip-ink: auto;
}
