
:root {
  --page-background-color: var(--background-color);
  --page-material-background-color: var(--material-background-color);
}

.page {
  @apply(--reset-font);
  background-color: var(--page-background-color);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-x: visible;
  overflow-y: hidden;
  color: var(--text-color);
  -ms-overflow-style: none;
  -webkit-font-smoothing: antialiased;
}

.page::-webkit-scrollbar {
  display: none;
}

.page__content {
  background-color: var(--page-background-color);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  box-sizing: border-box;
}

.page__background {
  background-color: var(--page-background-color);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  box-sizing: border-box;
}

.page--material {
  @apply(--material-font);
  background-color: var(--page-material-background-color);
}

.page--material__content {
  @apply(--material-font);
  font-weight: var(--font-weight);
}

.page__content h1,
.page__content h2,
.page__content h3,
.page__content h4,
.page__content h5 {
  @apply(--material-font);
  font-weight: var(--font-weight--large);
  margin: 0.6em 0;
  padding: 0;
}

.page__content h1 {
  font-size: 28px;
}

.page__content h2 {
  font-size: 24px;
}

.page__content h3 {
  font-size: 20px;
}

.page--material__content h1,
.page--material__content h2,
.page--material__content h3,
.page--material__content h4,
.page--material__content h5 {
  @apply(--material-font);
  font-weight: var(--font-weight--large);
  margin: 0.6em 0;
  padding: 0;
}

.page--material__content h1 {
  font-size: 28px;
}

.page--material__content h2 {
  font-size: 24px;
}

.page--material__content h3 {
  font-size: 20px;
}

.page--material__background {
  background-color: var(--page-material-background-color);
}

