body, h1, h2, h3, h4, ul, ol, li, p, a, div {
    margin:0px;
    padding:0px;
}

body {
	font-family:sans-serif;
	background: #282828;
}

main {
	display: flex;
	overflow: hidden;
	height: 100vh;
}

section {
	vertical-align: top;
}

/* #sidebar
-------------------*/
#sidebar,
.nav {
	font-size:15px;
	background: #484848;
	overflow-y:scroll;
	flex:1;
	min-width: 200px;
}

#sidebar article,
.nav article {
	margin:10px 0px;
}

#sidebar article:first-of-type,
.nav article:first-of-type {
	padding-top:20px;
}

#sidebar h3,
.nav h3 {
	color: #a8a8a8;
	font-weight:100;
	margin-left:10px;
	padding:2px 0px;
}

#sidebar ul,
.nav ul {
	list-style:none;
	margin-left:20px;
	color:white;
	font-weight:100;
}

#sidebar ul li,
.nav ul li {
	margin:5px 0px;
}

#sidebar ul li a,
.nav ul li a {
	color:white;
	text-decoration: none;
}

#sidebar ul li a:hover,
.nav ul li a:hover {
	text-decoration: underline;
}

/* #main-content
-------------------*/
#main-content {
	font-size:16px;
	font-weight: 100;
	flex:8;
	counter-reset:aline;
	overflow-y:scroll;
}

#main-content ol {
	margin:10px;
	margin-right:50px;
	list-style: none;
	padding-bottom:40px;
}

#main-content .line {
	margin:1px 0px;
	padding:1px;
}

#main-content .line .index {
	display: inline-block;
	width:3%;
	color: #686868;
	vertical-align: top;
	text-align: right;
	margin-right: 5px;
}

#main-content .line .text {
	margin:0px;
	display: inline-block;
	width:94%;
}

#main-content .line .index:before {
	content: counter(aline);
	counter-increment: aline;
	padding-right: 10px;
}

#main-content .line span ul {
	display: inline-block;
}

/* Code
----------------*/
.link {
	text-decoration: none;
}

.inc {
	color:#ff7451;
}

.funcname {
	color:#4286f4;
}

.funccall {
	color:#abff82;
}

.brace {
	color:#fff;
}

.type {
	color:cornsilk;
}

.parameter {
	color:darkorange;
}

.comment span {
	color:#686868;
}

.comment span:before {
	content: "/* ";
}

.comment span:after {
	content: " */";
}

.indent {
	margin-left:20px;
}

.indent2 {
	margin-left:40px;
}

.funccall a {
	color:#4286f4;
	text-decoration: none;
}

.string,
.retval {
	font-style: italic;
	color:#f2be57;
}

.string {
	display: inline-block;
}

a:hover .string {
	text-decoration: underline;
}

/* Footer
---------------*/
footer {
	position: fixed;
	font-size: 14px;
	color:#606060;
	border-top:1px solid #484848;
	background: #080808;
	padding:10px;
	height:20px;
	bottom:0px;
	width: 100%;
}

footer p {
	right:0px;
}

/* Logo styling - top left of paper */
#logo {
    color: #707070;
    top:10px;
	height:30px;
	position: fixed;
	right: 10px;
	z-index: -1;
}

#logo div {
    float: left;
    margin-left:10px;
}

#logo div p {
    font-size: 8px;
    padding: 0px;
    margin: 0px;
}

#logo span {
    font-size: 15px;
    -ms-transform: rotate(7deg);
    -webkit-transform: rotate(7deg);
    transform: rotate(7deg);
    float:left;
	margin-left:20px;
	font-weight:bold;
}

/* */
/* hamburger menu
--------------------*/
#burger {
    cursor: pointer;
    float: right;
    margin-right: 20px;
    position: relative;
    margin-top:5px;
	border: none;
	display: none;
}

#burger + label {
	position: fixed;
  	bottom: 10px;
  	right: 20px;
  	height: 20px;
  	width: 18px;
  	z-index: 99;
	display: none;
}

#burger + label span {
  position: absolute;
  width: 100%;
  height: 2px;
  top: 50%;
  margin-top: -1px;
  left: 0;
  background: #606060;
  transition: .5s;
}

#burger + label span:first-child {
  top: 4px;
}

#burger + label span:last-child {
  top: 16px;
}

#burger + label:hover {
  cursor: pointer;
}

#burger:checked + label span {
  opacity: 0;
  top: 50%;
}

#burger:checked + label span:first-child {
  opacity: 1;
  transform: rotate(45deg);
}

#burger:checked + label span:last-child {
  opacity: 1;
  transform: rotate(-45deg);
}

#burger-menu {
	transition: all 0.3s ease;
	left: -101%;
	text-align: left;
	position: fixed;
	display:none;
	height: 100%;
	width:200px;
	overflow-y: scroll;
	z-index: 99;
    padding-bottom: 70px;
	box-shadow: 0px 2px 5px #060606;
	padding-bottom:30px;
}

#burger-menu::-webkit-scrollbar {
    width: 0 !important
}

#burger:checked ~ #burger-menu {
  	left: 0px;
}