/*
  A mix of:
  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/

  Additonal reset code from 
  https://github.com/Lazzzer00/Best-CSS-Reset-2024/blob/main/css_reset.css
*/


*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body,
html {
  scroll-behavior: smooth;
}

html:focus-within {
  scroll-behavior: smooth;
}

input,
button,
textarea,
select {
  font: inherit;
}

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

p,
address,
q,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
  font-style: inherit;
}

#root,
#__next {
  isolation: isolate;
}

ul[role='list'],
ol[role='list'],
ul,
ol,
menu {
  list-style: none;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
  text-decoration: none;
}

img,
picture,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  font-style: italic;
  background-repeat: no-repeat;
  background-size: cover;
}

iframe {
  border: none;
  outline: none;
}

@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;
    transition: none;
  }
}

a:visited,
a:link,
a:hover {
  color: inherit;
}
