/* Credits -> Andy Bell at https://hankchizljaw.com/wrote/a-modern-css-reset/ */
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
  overflow-wrap: break-word;
  /* margin: 0; */
  /* padding: 0; */
}
/* ul[class], */
/* ol[class] { */
ul.reset,
ol.reset {
  /* Remove default padding */
  padding: 0;
  /* Remove list styles on ul, ol elements with a class attribute */
  list-style: none;
}
/* Remove default margin */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
/* ul[class], /* [class] can cause specificity issues. For example, it overrides .cluster > * { margin: ... } */
/* ol[class], */
ul.reset,
ol.reset,
li,
figure,
figcaption,
blockquote,
dl,
dd,
pre {
  margin: 0;
}
/* Set core body defaults */
body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}
/* A elements that don't have a class get default styles */
/* NOTE: IMO should be a default for <a> elems */
/* a:not([class]) { */
a {
  text-decoration-skip-ink: auto;
}
/* Make images easier to work with */
img {
  max-width: 100%;
  display: block;
}
/* Natural flow and rhythm in articles by default */
/* article > * + * {
  margin-top: 1em;
} */
/* 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) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- CUSTOM ---------- */
/* hr should be visible */
hr {
  width: 100%;
}
pre {
  overflow-x: scroll;
}
a,
button,
.button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
  cursor: pointer;
}
a.reset,
a.reset *,
.reset-a a,
.reset-a a *,
.reset-down-a a,
.reset-down-a a * {
  /* color: inherit; */
  text-decoration: inherit;
  /* border-bottom: none; */
}
