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

*:not(dialog) {
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

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

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

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

p, span, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  font-family: var(--font-main), sans-serif;
  color: var(--color-white);
  font-weight: var(--font-weight-regular) ;
}

a {
  text-decoration: none;
}

p, span {
  text-wrap: pretty;
  font-size: var(--font-size-s);
}

strong {
  font-weight: var(--font-weight-bold);
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

#root, #__next {
  isolation: isolate;
}
