* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--base-font-family);
  /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
  Ubuntu, Cantarell, "Open Sans", sans-serif; */
  line-height: 1.5;
  font-weight: 400;

  color: var(--base-font-color);

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

html,
body {
  background-color: var(--base-bg-color);
  min-width: 320px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: var(--base-font-size);
}

main {
  padding: 2rem;
  flex: 1; /* takes all remaining vertical space */
  display: flex;
  flex-direction: column;
}

b-body,
b-menu,
b-logo {
  display: flex;
}

b-logo {
  gap: 0.5rem;

  img {
    width: 1.5rem;
  }
}

#root {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#root footer {
  text-align: center;
  width: 100%;
  font-size: 0.8rem;
  opacity: 0.7;
  padding: 1rem 2rem;
  background-color: var(--nav-bg-color);
}

h1 {
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 1.5rem;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

h3 {
  font-size: 1rem;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.error {
  color: var(--text-color-danger);
}
