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

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #363636;
  background-color: #fafafa;
}

main {
  text-align: center;
}

h1 {
  font-size: 24px;
  margin-bottom: 0.75em;
}

h2 {
  font-size: calc(24px / 1.5);
  font-weight: 400;
}

@media screen and (min-width: 800px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: calc(40px / 1.5);
  }
}

@media screen and (min-width: 1200px) {
  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: calc(56px / 1.5);
  }
}

@media screen and (min-width: 1600px) {
  h1 {
    font-size: 72px;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    color: #deddde;
    background-color: #18181a;
  }
}
