/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

html {
    font-size: 62.5%;
}

html,body{
    min-width: 3.2rem;
    font-family: "Open Sans", sans-serif;
    line-height: 1.5;
}

nav {
    position: fixed;
    min-width: 32rem;
    top: 0;
    left: 0;
    width: 34rem;
    height: 100%;
    border-right: 1pt solid;
}

header {
    margin: 1rem;
    font-size: 3.2rem;
    font-weight: 1;
}

nav ul {
    height: 83vh;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    font-size: 1.6rem;
}

nav ul li {
    border-top: 1px solid;
    list-style: none;
    position: relative;
    width: 100%;
}

nav ul li a {
    display: block;
    padding: 1rem 3rem;
    text-decoration: none;
    cursor: pointer;
    color: #000;
}

nav ul li a:hover{
    text-decoration: underline;
}

main {
    position: absolute;
    margin-left: 35rem;
    padding: 2rem;
    margin-bottom: 11rem;
    max-width: 70%;
    overflow: hidden;
    margin: 5rem 20%;
    border-radius: 1pt;
}

section article {
    margin: 1.5rem;
    font-size: 1.8rem;
}

section li {
    margin: 1.5rem 0 0 2rem;
}

code {
    display: block;
    text-align: left;
    white-space: pre;
    position: relative;
    word-break: normal;
    word-wrap: normal;
    line-height: 2;
    background-color: #eee;
    color: #111;
    padding: 1.5rem;
    margin: 1rem;
    border-radius: .5rem;
    box-shadow: 0 0 1rem rgba(255,255,255,.5);
}


  @media only screen and (max-width: 81.5rem) {
    /* For mobile phones: */
    nav ul {
      border: 1px solid;
      height: 27rem;
    }
  
    nav {
      position: absolute;
      top: 0;
      padding: 0;
      margin: 0;
      width: 100%;
      max-height: 33.75rem;
      border: none;
      z-index: 1;
      border-bottom: 2px solid;
    }
  
    main {
      position: relative;
      margin-left: 0px;
      margin-top: 27rem;
      max-width: 100%;
      width: 85%;
      margin: 35rem auto;
    }
  }
  
  @media only screen and (max-width: 40rem) {
    header {
        text-align: center;
    }
    code {
      margin-left: -20px;
      width: 100%;
      padding: 15px;
      padding-left: 10px;
      padding-right: 45px;
      min-width: 233px;
    }
  }