/* Reset all styling */
/* Apply a natural box layout model to all elements and pseudo-elements */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin and padding from an initial set of elements */
body, h1, h2, h3, h4, h5, h6, p,
ul, ol, li, figure, figcaption, blockquote, dl, dd {
  margin: 0;
  padding: 0; /* Some prefer to only reset margin and keep padding where it might be useful, like on lists */
}

/* Set core root defaults */
html {
  line-height: 1.5; /* A good default for readability */
  -webkit-font-smoothing: antialiased; /* Improve font rendering */
  -moz-osx-font-smoothing: grayscale; /* Improve font rendering */
}

/* Remove list styles on ul, ol elements with a list role, which suggests they are for navigation/layout */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

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

/* Inherit fonts for inputs and buttons */
input, button, textarea, select {
  font: inherit;
}

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