/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}
/* Remove default margin */
*:not(dialog) {
  margin: 0;
}
/* Disable font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}
/* Handle RTL for auto-translation */
html.translated-rtl {
  direction: rtl;
}
/* Enable keyword animations */
/* Doesn't work on Firefox yet */
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}
/* Set body min height */
body {
  min-height: 100vh;
}
/* Set Default line-height */
body {
  line-height: 1.2;
}
/* Disable subpixel antialiasing */
body {
  -webkit-font-smoothing: antialiased;
}
/* No text overflow + better wrapping */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
  hyphens: auto;
}
p {
  text-wrap: pretty;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}
/* Headings reset */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 1em;
  font-weight: 400;
}
/* Remove default list style*/
/* Will be added back for text blocks */
ul[class],
ol[class] {
  list-style: none;
}
/* better default links */
a {
  text-decoration-skip-ink: auto;
  color: currentColor;
}
/* Default media rules */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}
img.inline,
picture.inline,
video.inline,
canvas.inline,
svg.inline {
  display: inline-block;
}
/* Inputs Inherit Fonts */
input,
button,
textarea,
select {
  font: inherit;
}
