@import url("./tokens.css");
@import url("./shared.css");
@import url("./main/reset.css");
@import url("./main/menu.css");
@import url("./main/controls.css");
@import url("./main/perf.css");

html {
  height: 100%;
}

body {
  background: var(--color-Menu-background);
  color: var(--color-Text);
  display: grid;
  font-family: var(--font-family);
  font-size: var(--font-size);
  line-height: var(--line-height);
  min-height: 100%;
}

.Content {
  display: flex;
  flex-direction: column;
  grid-area: iframe;
}

.FrameWrapper {
  flex: 1;
  min-height: 0;
  width: 100%;
}

.Frame {
  display: block;
  height: 100%;
  width: 100%;
}

@media (width <= 40rem) {
  html {
    --spacing-x: 1rem;
    --spacing-y: 1rem;
  }

  body {
    grid-template:
      "nav"
      "iframe" 1fr;
  }
}

@media (width > 40rem) {
  html {
    --spacing-x: 2rem;
    --spacing-y: 4rem;
  }

  body {
    grid-template-areas: "nav iframe";
    grid-template-columns: 16rem 1fr;
  }
}

.u-hiddenVisually {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  clip-path: inset(100%);
  /* stylelint-disable-next-line */
  clip: rect(0 0 0 0);
  overflow: hidden;
}
