body {
    height: 100vh;   
    margin: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: $main-text-color;
    background-color: $background-color;
}


div.wrapper {  
  flex-grow: 1;
  display: flex;
  overflow: hidden;
}

div.content-wrapper {
  @media (min-width: $toc-break)
  { margin-left: auto;
    margin-right: auto; };
  max-width: 75ch;
}

div.content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  overflow: auto;
  padding: .5rem;
  margin-bottom: $pun-height;
  @media (min-width: $toc-break)
  {
    padding: 1rem;
    margin-bottom: 0;
  };
}

/* Alignment */
div.centered {
  display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	align-items: center;
  justify-content: space-around;
	min-width: 100%;
	margin: 0 auto;
}

div.flushleft, div.raggedright {
  display: flex;
  justify-content: flex-start;
}
div.flushright, div.raggedleft {
  display: flex;
  justify-content: flex-end;
}
div.raggedbottom {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}


