@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,700');

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
}

.container {
  transition: all 500ms ease;
}
.content {
  margin: 1em auto;
  font-size: 16px;
  max-width: 768px;
}

img {
  width: 100%;
}

p {
  margin: 1.2em 0;
}

p, h2, h3, ul {
  margin-left: 5%;
  margin-right: 5%;
}

#toctitle {
  padding: 0 10px;
}

#back-to-top {
  position: fixed;
  bottom: 0.25em;
  right: 0.25em;
  cursor: pointer;
  opacity: 1;
  transition: all 500ms ease;
  background-color: rgba(0,0,0, 0.75);
  border: none;
  color: white;
  border-radius: 0.25em;
  padding: 0.5em 0.5em;
}

#firstHeading{
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
}

blockquote {
  margin: 1em;
  quotes: "\201C""\201D""\2018""\2019";
}
blockquote p{
  font-style: italic;
  margin-top: 0;
}
blockquote:before, blockquote:after {
  color: #777777;
  font-size: 3em;
  font-family: "Lucida Sans Unicode", Serif;
  line-height: 0.01em;
  position: relative;
  z-index: -1;
}
blockquote:before{
  content: open-quote;
  top: 0.4em;
  /*left: -0.25em;*/
}

blockquote:after{
  content: close-quote;
  float: right;
}

/* Navigation */

.sidebar {
  position: fixed;
  top: 0;
  bottom:0;
  width: 300px;
  transition: all 500ms ease;
  transform: translateX(-300px);
  background-color: #212A35;
  color: #FFF;
  z-index: 2;
  overflow-y: scroll;
}
.sidebar ul{
  list-style: none;
  padding: 0;
}

.sidebar li{
  padding: 0.5em 0;
}
nav > ul > li {
  border-top: 1px solid #1a212a;
  font-weight:400;
}
nav > ul > li > ul > li {
  padding-bottom: 0;
  font-weight: lighter;
}
nav li a:hover {
  color: #CE1E1E;
}
#toctitle h2 {
  text-align: center;
  font-weight: 400;
  text-transform: uppercase;
}

.sidebar a{
  color: #FFF;
  text-decoration: none;
}

.sidebar-visible #back-to-top{
  opacity: 0;
}

.sidebar-visible .container{
  background-color: rgba(0, 0, 0,0.4);
  filter: blur(3px);
}

.sidebar-visible .sidebar{
  transform: translateX(0);
}

#hamburger {
  position: relative;
  padding: 0.5em;
  cursor: pointer;
  transition: all 500ms ease;
}
.hamburger-line {
  height:3px;
  width:20px;
  margin: 3px 0 3px 3px;
  display:block;
  background-color: black;
  transition: all 500ms ease;
}
