*,
::after,
::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font: inherit;
  line-height: calc(
    1em + 0.7rem
  ); /* Calculates perfect line height for small and large font sizes */
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
ul {
  margin-left: 2rem;
}
@media (prefers-reduced-motion: no-preference) {
  :has(:target) {
    scroll-behavior: smooth;
    scroll-padding-top: 2rem;
  }
}
