.remark-slide-content {
  background-color: #fff;

  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;   

  display: table-cell;
  font-size: 20pt;
  padding: 0.2em .8em 0.2em .8em;
}

h1 { 
  font-size: 2em; 
  margin-bottom: 0em;
  margin-top: 1em;
}
h2 { 
  font-size: 1.8em; 
  margin-bottom: 0em;
  margin-top: .65em;
}
h3 { 
  font-size: 1.6em; 
  margin-bottom: 0em;
  margin-top: .5em;
}

li ul { font-size: 85%; }
  
.remark-code-line {
  min-height: 1em;
}

.remark-code {
  margin-left: 0px;
  font-size: .85em;
}

img {
  max-width: 100%;
  max-height: 100%;
}

/* print filling whole paper
   found at https://bl.ocks.org/bellbind/cbe25c08651ce56637dfb08346a8cfee
*/
@media print {
  .remark-slide-scaler {
    left: 3vw !important;
    width: 94vw !important;
    top: 3vh !important;
    height: 94vh !important;
    transform: scale(1) !important;
  }
}
