/* =========================
   RESET
========================= */

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

/* =========================
   ROOT
========================= */

html {
  scroll-behavior: smooth;
}

/* =========================
   BODY
========================= */

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  color: var(--text-primary);
  background: var(--bg-page);

  line-height: 1.6;
  font-size: var(--font-size-md);
}


/* =========================
   LAYOUT
========================= */

.container {
  width: 100%;
  max-width: var(--container-width);

  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* =========================
   MEDIA DEFAULTS
========================= */

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

/* =========================
   TYPO DEFAULTS
========================= */

h1, h2, h3, h4 {
  line-height: 1.4;
  font-weight: 700;
}

p {
  color: var(--color-white);
}
