/*
*  html5resetcss
*/
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}
body {
  line-height: 1;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
nav ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: none;
}
a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}
ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}
del {
  text-decoration: line-through;
}
abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}
input,
select {
  vertical-align: middle;
}

.container {
  display: flex;
  flex-direction: row;
}

ul {
  display: flex;
  flex-direction: column;
}

header {
  display: flex;
  flex-direction: column;
  position: fixed;
  width: 30%;
  border: 1px solid #000;
  margin: 10px;
}
.content {
  width: 60%;
  margin-left: 34%;
  position: absolute;
}

.nav {
  list-style: none;
  padding: 10px;
  border-top: 1px solid#111;
}

a {
  text-decoration: none;
  color: gray;
}

.nav_heading {
  padding: 15px;
  font-size: 24px;
  line-height: 1.2;

}

.topic {
  padding: 15px;

}


h2 {
  line-height: 1.1;
  padding: 10px 0;
  font-size: 20px;
  font-weight: 600;


}

p, li {
  color: gray;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  letter-spacing: 0.1px;
  line-height: 2;
  padding: 5px 0;
}

.subtopic {
  margin-left: 40px;
}

code {
  display: block;
  background-color: #000;
  color: #fff;
  padding: 20px;
  border-radius: 5px;
}



/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (max-width: 600px) {
  .content {
    width: 100%;
    color: red;
    margin: 10px;
    position: relative;
    margin-top: 50%;

  }

  header {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 30%;
    overflow: scroll;
    position: absolute;
  

  }

  .container {
    display: flex;
    flex-direction: row;
    padding: 10px;
  }
}
