/* Slides reuse style.css for type, color and code blocks. This file only scales
   that design up and turns the page into one full-viewport slide at a time. */

/* Style.css is written in rem throughout, so this scales the whole
   design (headings, code, tables, footnotes) proportionally. */
html {
  font-size: 30px;
}

body.deck {
  display: block;
  height: 100vh;
  min-height: 0;
  overflow: hidden;
}

.slide {
  display: none;
  box-sizing: border-box;
  height: 100vh;
  padding: 2.5rem 3rem;
  overflow: hidden;
}

.slide.current {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.slide.title.current {
  justify-content: center;
}

.slide.title {
  text-align: center;
}

/* Hold the measure on a wide screen; flex would otherwise stretch each block
   across the full viewport. */
.slide > * {
  flex: none;
  width: 100%;
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
}

.slide > :first-child {
  margin-top: 0;
}
