:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}
a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}
a:hover {
  color: #535bf2;
}
::selection {
  background-color: crimson;
  color: white;
}

html,
body {
  height: 100%;
}
body {
  display: flex;
  flex-flow: column nowrap;
  margin: 0;
  padding: max(1rem, 3vmin);
  padding-inline: max(1rem, 3svi);
  padding-block: max(1rem, 3svb);
}
h1 {
  font-size: 2em;
  font-weight: 800;
  line-height: 1.1;
}
footer {
  opacity: 0.6;
}
.hero {
  flex-grow: 1;
  display: grid;
  place-content: center;
  text-align: center;
  font-size: max(1rem, 0.5rem + 2vmin);
}
