:root {
  /* Set font-size to Base-10 from Base-16 (1rem = 10px, 1.6rem = 16px) */
  font-size: 62.5%;
}

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

* {
  vertical-align: baseline;
  margin: 0;
  outline: 0;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-size: 100%;
}

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

html,
body {
  min-height: 100vh;
}

body {
  line-height: 1.618; /* the golden ratio */
  font-family: sans-serif;
  text-rendering: optimizeSpeed;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Set cursor clickable elements */
a,
button,
input[type="submit"],
input[type="checkbox"],
input[type="radio"],
select {
  cursor: pointer;
}

/* Set button element font to inherit */
button {
  font-family: inherit;
}

/* Remove list styles on elements with a list role */
ul,
ol {
  list-style: none;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

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