:root {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    'Open Sans',
    'Helvetica Neue',
    sans-serif;

  color-scheme: light dark;
  background-color: #242424;
}

@media (prefers-color-scheme: light) {
  :root {
    background-color: #fafafa;
  }

  a:hover {
    color: #f3e5ab;
  }
}

body {
  min-width: 20rem;
  margin: 0;
}

main {
  text-align: center;
  padding: 1em;
  margin: 0 auto;
}

h3 {
  color: #f3e5ab;
  text-transform: uppercase;
  font-size: 1.5rem;
  font-weight: 200;
  line-height: 1.2rem;
  margin: 2rem auto;
}

.calc {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem;
}

button {
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border: 1px solid #f3e5ab;
  border-radius: 0.25rem;
  background-color: transparent;
  color: #f3e5ab;
  cursor: pointer;
  outline: none;

  width: 3rem;
  margin: 0 a;
}

label {
  font-size: 1.5rem;
  margin: 0 1rem;
}

a {
  font-size: 0.5rem;
  margin: 0.5rem;
  color: #cccccc;
  text-decoration: none;
}
