html {
  overflow: hidden;
  height: 100%
}

body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
  font-family: 'PT Sans', sans-serif;
  font-size: 16px;
  line-height: 1.4rem;
  text-rendering: optimizeLegibility;
	transition: all 700ms;
}

h1, h2, h3, h4, h5 {
  font-family: 'PT Serif', sans-serif;
}

h1 {
  font-size: 2rem;}
h2 {
  font-size: 1.6rem;}

.yin {
  color: #111;  
  background-color: #FDFDFD;
}

.yang {
  color: #FDFDFD;  
  background-color: #111;
}

header {
  width: 3.5rem;
  position: absolute;
  top: 0;
  bottom: 0;
  /* border-right: 1px solid lightgrey;    */
}

nav {
  margin-top: 5rem;
}

.logo {
  display: block; 
  position: absolute;
  width: 3.5rem; 
  height: 3.5rem; 
  margin: 0 auto;
} 

.icon {
  display: block; 
  width: 1.6rem; 
  height: 1.6rem; 
  margin: 1.2rem auto;
  cursor: pointer;
}

.icons-bottom {
  width: 3.5rem;
  position: absolute;
  bottom: 0;
}

#editor {
  padding: 0;
  margin: 0 0 0 3.5rem;
}

.CodeMirror {
  font-family: "Menlo", monospace;
  height: 100%;
  max-width: 52em;
  margin: 0 auto;
  vertical-align: top;
  box-sizing: border-box;
  padding: 20px 20px 0 20px;
  background-color: #FDFDFD; 
  transition: all 700ms;  
}

#output {
  display: none;
  height: 100%;
  max-width: 46em;
  margin: 0 auto;  
  vertical-align: top;
  box-sizing: border-box;
  padding: 60px 20px 0 20px;
}

.cm-header { 
  font-weight: 800;
}
.cm-header-1 { font-size: 150%; }
.cm-header-2 { font-size: 130%; }
.cm-header-3 { font-size: 120%; }
.cm-header-4 { font-size: 110%; }
.cm-header-5 { font-size: 100%; }
.cm-header-6 { font-size: 90%; }

/* .markdown-body pre {
  background-color: white;
}

code {
  color: #f66;
}

table {
  border-spacing: 0.7rem;
}

h1 {font-size: 2rem;}
h2 {font-size: 1.6rem;}
