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

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

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

html {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
  min-height: 100vh;
  background:
    var(--bg-atmosphere),
    var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
}
/* =========================
   TEXT
   ========================= */

h1,
h2,
h3,
h4 {
  color: var(--color-text);
  font-weight: 600;
}

h2 {
  font-size: 16px;
  margin: 12px 8px;
}

/* =========================
   LINKS & BUTTONS
   ========================= */

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

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

img {
  max-width: 100%;
  display: block;
}

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

main {
  padding-bottom: 72px; /* space for bottom nav */
}