.Error {
    align-items: center;
    background-color: var(--offset-background);
    color: var(--text-color--light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
    white-space: nowrap;
  }
  
  .Error.full-screen {
    padding-bottom: 3rem;
  }
  
  .Error > * {
    margin: 10px;
  }
  
  .Error h1,
  .Error div {
    color: inherit;
    font-size: 3rem;
  }
  
  .Error div {
    text-shadow: 3px 3px 3px rgba(0,0,0,0.1);
  }
  
  .Error p {
    font-size: 18px;
  }

sparkle-page {
  display: grid;
  font-size: 16px;
  grid-template-columns: 1fr minmax(0, var(--page-width, 720px)) 1fr;
  line-height: 2;
  margin-left: var(--page-margin-left);
  margin-top: var(--header-height);
  overflow-x: hidden;
  transform: var(--page-transform, none);
  transition: transform 200ms cubic-bezier(0.2, 1, 0.2, 1);
}

@media (min-width: 1234px) {
  sparkle-page {
    grid-template-columns: 1fr minmax(0, var(--page-width, 720px)) 3fr;
  }
}

@media (min-width: 1800px) {
  sparkle-page {
    grid-template-columns: 1fr minmax(0, var(--page-width, 720px)) 1fr 240px;
  }
}

sparkle-page > main {
  position: relative;
  grid-column: 2;
  margin-bottom: 3rem;
  padding: var(--page-padding, 2rem 1rem);
  position: relative;
}

sparkle-page sparkle-pagination {
  grid-column: 1 / -1;
}

sparkle-page .full-screen {
  grid-column: 1 / -1;
  height: calc(100vh - var(--header-height));
  margin-bottom: 0;
  overflow: hidden;
  padding: 0;
}

sparkle-page .page-heading-encapsulation {
  text-transform: uppercase;

  background: transparent;
  color: #2d4665;

  border: 1px solid #dee3ea;
  border-radius: 14px;
  height: 24px;
  padding: 2px 8px;

  font-weight: 600;
  font-size: 10px;
  line-height: 14px;
  display: inline-flex;
  align-items: center;

  align-self: center;
  justify-self: flex-end;

  letter-spacing: 0.08em;
  float: right;
}

sparkle-page .page-heading-encapsulation:hover {
  border-color: #92a1b3;
}

sparkle-page h1 {
  display: flex;
  justify-content: space-between;

  margin-top: 2rem;
  margin-bottom: 1rem;
}

sparkle-page h2 a[href^='#'],
sparkle-page h3 a[href^='#'],
sparkle-page h4 a[href^='#'],
sparkle-page h5 a[href^='#'],
sparkle-page h6 a[href^='#'] {
  color: inherit;
  position: relative;
}

sparkle-page h2 a[href^='#']:before,
sparkle-page h3 a[href^='#']:before,
sparkle-page h4 a[href^='#']:before,
sparkle-page h5 a[href^='#']:before,
sparkle-page h6 a[href^='#']:before {
  content: '#';
  opacity: 0;
  padding-right: 5px;
  position: absolute;
  right: 100%;
  transition: opacity 100ms ease;
}

sparkle-page h2 a[href^='#']:hover:before,
sparkle-page h3 a[href^='#']:hover:before,
sparkle-page h4 a[href^='#']:hover:before,
sparkle-page h5 a[href^='#']:hover:before,
sparkle-page h6 a[href^='#']:hover:before {
  opacity: 1;
}

sparkle-page h2 code,
sparkle-page h3 code,
sparkle-page h4 code,
sparkle-page h5 code,
sparkle-page h6 code {
  background: none;
  font-size: inherit;
}

sparkle-page aside {
  float: right;
  margin-left: 20px;
  margin-bottom: 20px;
}

@media (min-width: 1234px) {
  sparkle-page main.no-demo .page-meta {
    position: fixed;
    right: 0;
    top: 100px;
    width: 240px;
    transition: 0.2s transform ease;
  }

  sparkle-header.hidden ~ stencil-route sparkle-page main.no-demo .page-meta {
    transform: translateY(-60px);
  }
}

sparkle-page main.has-demo .page-meta internal-ad {
  display: none;
}
sparkle-page .controls {
  display: flex;
  justify-content: flex-end;
}
