@media print, screen and (max-width: 720px) {
  #title .credits {
    display: block;
    width: 100%;
    line-height: 30px;
    text-align: center;
  }
  #title .credits .left {
    float: none;
    display: block;
  }
  #title .credits .right {
    float: none;
    display: block;
  }
}

@media print, screen and (max-width: 480px) {
  #header {
    margin-top: -20px;
  }

  section {
    margin-top: 40px;
  }

  nav {
    display: none;
  }
}


/* =============================================================================
   Misc fixes
   ========================================================================== */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
video {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}

audio:not([controls]) {
  display: none;
}

[hidden] {
  display: none;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

html,
button,
input,
select,
textarea {
  font-family: sans-serif;
}

body {
  margin: 0;
}

/* =============================================================================
   Typography
   ========================================================================== */
body {
  padding: 0em;
  margin: 0em;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

h2 {
  font-size: 1.5em;
  margin: 0.83em 0;
}

h3 {
  font-size: 1.17em;
  margin: 1em 0;
}

h4 {
  font-size: 1em;
  margin: 1.33em 0;
}

h5 {
  font-size: 0.83em;
  margin: 1.67em 0;
}

h6 {
  font-size: 0.75em;
  margin: 2.33em 0;
}

blockquote {
  margin: 1em 2.5em;
  font-style: italic;
}

p {
  margin: 1em 0;
}

pre code,
pre code.hljs {
  padding : 0em;
  padding-bottom : 1.5em;
}

code,
code.hljs {
  padding : 0em;
}

table {
  border-collapse: collapse;
  border-spacing: 0em;
  width: 100%;
}

th,
td
{
  text-align: center;
  padding: 0.3em;
}

section {
  text-align: justify;
  max-width: 1080px;
  padding: 0em 1em;
}

section img {
  max-width: 100%;
}

section .credits {
  font-size: 0.8em;
  font-weight: normal;
}

.wrapper {
  max-width: 1080px;
  margin: 0 auto;
  padding-top: 1.5em;
  margin-top: 6em;
  background-color: rgba(0,0,0,0.15);
}

.left {
  float: left;
}

.right {
  float: right;
}

#header {
  z-index: 100;
  width: 100%;
  text-align: center;
  position: fixed;
  top: 0em;
  height: 5em;
  padding-top: 1em;
}

#title h1 {
  font-family: 'OpenSansLight', "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: normal;
  text-align: center;
  font-size: 2.5em;
  line-height: 0.4em;
  text-transform: lowercase;
}

#title p {
  text-align: center;
  font-size: 1.3em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 20px 0;
  font-family: 'League Gothic', Impact, sans-serif;
  font-weight: normal;
  line-height: 0.9em;
  letter-spacing: 0.02em;
  letter-spacing: normal;
  text-transform: uppercase;
  word-wrap: break-word;
}

body {
  font-family: 'Lato', sans-serif;
  font-weight: normal;
}

strong,
b {
  font-weight: bold;
}

/* =============================================================================
   Color-scheme
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #e8e8e8;
  text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
}

code,
code.hljs {
  background-color:#3F3F3F;
}

body {
  color: #f0e7d5;
  background-size: 8px 8px;
  background-repeat: repeat;
  background-color: #353535;
  background-image: linear-gradient(-45deg, rgba(0, 0, 0, .1) 25%, transparent 25%,
            transparent 50%, rgba(0, 0, 0, .1) 50%, rgba(0, 0, 0, .1) 75%,
            transparent 75%, transparent);
}

/*
th,
td
{
  border-bottom: 3px double #434343;
}

th {
  font-family: 'OpenSansSemibold', "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: normal;
  color: #b6b6b6;
}

blockquote {
  border-left: 3px double #b6b6b6;
  color: rgba(197, 203, 209, 1);
  padding: 0 0 0 20px;
}
*/

#header {
  border-bottom: 4px solid #434343;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.25);
  background-size: 8px 8px;
  background-color: #353535;
  background-image: linear-gradient(-45deg, rgba(0, 0, 0, .1) 25%, transparent 25%,
            transparent 50%, rgba(0, 0, 0, .1) 50%, rgba(0, 0, 0, .1) 75%,
            transparent 75%, transparent);
}


section .credits {
  font-family: 'OpenSansRegular', "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #696969;
}

#title p {
  font-family: 'OpenSansLight', "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: normal;
  color: #d7cfbe;
}

a {
  color: rgba(197, 203, 209, 1);
  text-decoration: none;
}

a:hover {
  color: #e8e8e8;
}

hr {
  border: 0em;
  outline: none;
  height: 3px;
  margin: 0 0 20px;
}

/*a small {
  font-size: 11px;
  color: #666;
  margin-top: -0.6em;
  display: block;
}

dt {
  color: #F0E7D5;
  font-family: 'OpenSansSemibold', "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-weight: normal;
}*/


/* =============================================================================
   Misc fixes
   ========================================================================== */

/* Addresses outline displayed oddly in Chrome
 */
a:focus {
  outline: thin dotted;
}

/*
 * Improves readability when focused and also mouse hovered in all browsers
 * people.opera.com/patrickl/experiments/keyboard/test
 */
a:hover,
a:active {
  outline: 0;
}

/*
 * Addresses styling not present in IE7/8/9, S5, Chrome
 */
abbr[title] {
  border-bottom: 1px dotted;
}

/*
 * Addresses styling not present in S5, Chrome
 */
dfn {
  font-style: italic;
}

/*
 * Addresses styling not present in IE6/7/8/9
 */
mark {
  background: #ff0;
  color: #000;
}

/*
 * 1. Addresses CSS quotes not supported in IE6/7
 * 2. Addresses quote property not supported in S4
 */
/* 1 */
q {
  quotes: none;
}

/* 2 */
q:before,
q:after {
  content: '';
  content: none;
}

small {
  font-size: 75%;
}

/*
 * Prevents sub and sup affecting line-height in all browsers
 * gist.github.com/413930
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/*
 * Corrects overflow displayed oddly in IE9
 */
svg:not(:root) {
  overflow: hidden;
}

/*
 * Addresses margin not present in IE6/7/8/9, S5, O11
 */
figure {
  margin: 0;
}
