/* AwesomeDude styles template for responsive serial index */

/* Last modified May 25 2016 by John Silby (Alien Son) */


@import url('https://fonts.googleapis.com/css?family=Permanent+Marker');


/* Reset */

* {
  margin: 0;
  padding: 0;
  border: 0;
  text-decoration: none
}


/* Basics */

body {
  font-family: "Trebuchet MS", Helvetica, sans-serif;
  font-size: 18pt;
  line-height: 1.4;
  color: #f7f7f7;
  background-color: #140202;
}

.container {
  position: relative;
  max-width: 750px;
  height: 615px;
  margin: 1.0em auto;
  background-image: url(title-image-750.jpg);
  background-position: center top;
  background-repeat: no-repeat;
}

header {
  position: relative;
  top: 0px;
  left: 0px;
  height: auto;
  background-color: rgb(200, 93, 41, 0.5);
}

h1, h2, h3 {
  text-align: center;
}

h1 {
  font-family: "Permanent Marker", serif;
  font-size: 2.5em;
  font-weight: normal;
  padding-top: 0em;
  color: #000;
  text-shadow: 2px 2px #fff, 4px 4px #000;
}

h2 {
  font-family: "Permanent Marker", serif;
  font-size: 1.5em;
  font-weight: normal;
  color: #000;
  text-shadow: 1px 1px #fff, 2px 2px #000;
}

h3 {
  font-size: 0.7em;
  font-weight: bold;
  padding-bottom: 1em;
}

.chapters {
  position: relative;
  top: 395px;
  left: 0px;
}

.chapters li {
  list-style: none;
  float: left;
  width: 12.5%;
}

.chapters ul li a {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 16pt;
  font-weight: bold;
  text-align: center;
  color: #fff;
  background-color: rgba(255,255,255,.15);
  display: block;
  margin: 0px 3px 0px 3px;
  padding: 7px;
  border: 1px solid rgba(0,0,0,.30);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.chapters ul li a:hover {
  background-color: rgba(255,255,255,.50);
  color: #000;
}

/* Links */

a:link {
  text-decoration: none;
  color: #000;
}

a:hover, a:visited:hover {
  text-decoration: none;
  color: #FFF;
}

a:visited {
  text-decoration: none;
  color: #00ffff;
}



@media screen and (max-width: 800px) {

body {
  font-size: 15pt;
  }

.container {
  width: 450px;
  height: 390px;
  background-image: url(title-image-450.jpg);
}

h1 {
  font-size: 2.0em;
}

.chapters {
  top: 210px;
  min-height: 50px;
  overflow: hidden;
}

.chapters ul li a {
  margin: 2px 3px 2px 3px;
}
}



@media screen and (max-width: 500px) {

body {
  font-size: 12pt;
  }

.container {
  max-width: 250px;
  height: 485px;
  margin: 0.5em auto;
  background-image: url(title-image-250.jpg);
}

header {
  top: 190px;
}

h1 {
  font-size: 1.5em;
  text-shadow: 1px 1px #fff, 2px 2px #000;
}

h2 {
  font-size: 1.2em;
}

.chapters {
  top: 192px;
}

.chapters ul li {
  width: 50%;
}
}