@import "fonts.css";
@import 'vars.css';

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

* {
  margin: 0;
}

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

  @view-transition {
	  navigation: auto;
  }
}

body {
  min-height: 100dvh;
  width: 100dvw;
  
  font-size: 16px;
  line-height: 1.5;
  background-color: var(--primary-color);
  color: var(--font-color);
  font-family: 'SofiaSans', sans-serif;

  overflow-x: hidden;

  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

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

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

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

p {
  text-wrap: pretty;
}

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