@font-face {
  src: url('FivoSansModern-Regular.otf');
  font-family: 'Fivo';
  font-weight: normal;
}

@font-face {
  src: url('JetBrainsMono-Regular.woff2');
  font-family: 'Mono';
  font-style: normal;
}

* {
  box-sizing: border-box;
}

body, html {
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

body {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  padding: 1em;
  font-family: 'Fivo', system-font, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1;
  color: #000;
  background: #f3f3f3;
}

h2 {
  margin: 0;
  font-size: 1.5em;
  font-weight: normal;
}

section {
  max-width: 420px;
  margin: 0 0 3em 0
}

.mono {
  padding: 0.1em 0.3em;
  font-family: 'Mono', monospace;
  font-size: 0.8em;
  background: rgba(0, 0, 100, 0.075);
  border-radius: 4px;
}

@media (max-width: 420px) {
  body {
    height: auto;
    align-items: flex-start;
  }
}