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

  --failure: #f54927;
  --success: #6cf52766;
  --success-dark: #2cb50733;
  --primary: #eda012;
  --reserve: #4169e155;
  --reserve-dark: #0129b1;
  --reserve-glass: #4169e1aa;
  --reserve-glass-2: #4169e111;
  --blacken: #000000;
  --lighten: #ffffff;
  --backgrd: #001111;
  --backgrd-lighten: #11222222;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100dvh;
}

/* Progressive enhancement for mobile browsers with retracting toolbars */
@media all and (display-mode: standalone) {
  html,
  body {
    height: 100svh;
  }
}

body {
  padding: env(safe-area-inset-top) env(safe-area-inset-right)
    env(safe-area-inset-bottom) env(safe-area-inset-left);
}

h1,
h2,
h3,
h4 {
  line-height: 1.1;
}

input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

img {
  display: block;
  max-inline-size: 100%;
}

body {
  max-width: 100dvw;

  background-color: var(--backgrd);
  color: var(--lighten);
  line-height: 1.5;

  @media (min-width: 992px) {
    margin: auto;
    max-width: 800px;
    height: 90dvh;
  }

  @media (min-width: 1200px) {
    margin: auto;
    max-width: 1024px;
  }

  @media (min-width: 1400px) {
    margin: auto;
    max-width: 1200px;
  }
}

@keyframes fadeOut {
  100% {
    opacity: 1;
  }
}
