@import url('/variables.css');

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  font-family: var(--font-family);

  color: var(--color-text);
  background-color: var(--color-background);
}

body {
  width: 100%;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;

  font-size: var(--font-size);
  font-weight: var(--font-weight);
}

#app {
  width: 100%;
  min-height: 100dvh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

h1 {
  font-size: 2rem;
  margin: 0;
}

h2 {
  font-size: 1.75rem;
  margin: 0;
}

h3 {
  font-size: 1.5rem;
  margin: 0;
}

h4 {
  font-size: 1.25rem;
  margin: 0;
}

label,
.weak {
  color: var(--color-text-weak);
}

b {
  font-weight: 600;
}

a {
  text-decoration: none;
}

.interactive-link {
  color: var(--color-link);
  text-decoration: underline;
  cursor: pointer;
}

button,
input,
select,
textarea {
  font: inherit;
}

.decorate:hover {
  text-decoration: underline dotted;
}

.uppercase {
  text-transform: uppercase;
}

.text-right {
  text-align: right;
}

@media (max-width: 900px), (max-device-width: 900px) {
  #app {
    justify-content: flex-start;
  }
}
