@font-face {
  font-family: 'iconsax';
  src:  url('../fonts/iconsax.eot?yjegnn');
  src:  url('../fonts/iconsax.eot?yjegnn#iefix') format('embedded-opentype'),
    url('../fonts/iconsax.ttf?yjegnn') format('truetype'),
    url('../fonts/iconsax.woff?yjegnn') format('woff'),
    url('../fonts/iconsax.svg?yjegnn#iconsax') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

html, body {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 16px;
  width: 100%;
  height: 100%;
  font-family: "Inter", "system-ui";
  background-color: var(--theme-background-color);
  color: var(--theme-color);
}

x-root {
  display: flex;
  flex-flow: row nowrap;
  box-sizing: border-box;
  height: 100%;
  width: 100%;
}

main {
  display: flex;
  flex-flow: column;
  flex: 1 1 0;
  box-sizing: border-box;
  min-height: 100%;
  min-width: 0;
}

main .content,
main .content > * {
  display: flex;
  flex: 1 1;
  width: 100%;
  box-sizing: border-box;
}

main .content > * {
  display: block;
  padding-top: 80px;
}

main .content.authed,
main .content.authed > * {
  padding-top: 0;
  height: 100%;
}

@media (max-width: 640px) {
  x-root {
    flex-flow: column;
  }

  main {
    width: 100%;
    height: 0;
    min-height: auto;
  }
}
