/* 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=Rouge+Script);

/* 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: #333;
  background-color: #f7f7f7;
}

.container {
  position: relative;
  width: 650px;
  height: 504px;
  margin: 1.0em auto;
}

header {
  position: relative;
  top: 0px;
  left: 0px;
  height: auto;
  border: 1px solid #adadad;
}

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

h1 {
  color: #1e90ff;
  font-family: "Rouge Script";
  font-size: 3.5em;
  font-weight: normal;
  padding-top: 0em;
  text-shadow: 1px 1px #333, 2px 2px #A3A3A3;
}

h2 {
  font-size: 1.4em;
  font-weight: normal;
  padding-top: .0em;
}

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

.chapters {
  position: relative;
  top: 6px;
  left: 0px;
  height: 293px;
  background-image: url(title-290.jpg);
  background-position: 2px 2px;
  background-repeat: no-repeat;
  border: 1px solid #adadad;
}

.chapters ul {
  position: relative;
  left: 235px;
  top: 2px;
}

.chapters li {
  list-style: none;
}

.chapters ul li a {
  font-size: 12pt;
  font-weight: bold;
  text-align: center;
  color: #fff;
  background-color: rgba(0,0,0,.30);
  display: block;
  width: 150px;
  margin: 0px auto 4.5px auto;
  padding: 10px;
  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(0,0,0,.60);
}

/* Links */

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

header a:hover, header a:visited:hover {
  text-decoration: none;
  color: #1E90FF;
}

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



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

body {
  font-size: 16pt;
}

.container {
  position: relative;
  width: 471px;
  height: 580px;
  margin: 1.0em auto;
}

header {
  width: 100%;
  position: relative;
  top: 0px;
  left: 0px;
  height: auto;
}

.chapters {
  width: 100%;
  height: 390px;
  position: relative;
  top: 5px;
}

.chapters ul {
  width: 100%;
  height: 94px;
  position: relative;
  left: 0px;
  top: 292px;
  padding-top: 2px;
  padding-left: 1px;
}

.chapters ul li {
  float: left;
  width: 32.7%;
  margin: 0 1px;
}

.chapters ul li a {
  width: 130px;
}
}


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

body {
  font-size: 14pt;
  }

.container {
  position: relative;
  width: 400px;
  height: 568px;
  margin: 0.5em auto;
}

header {
  width: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  height: auto;
  text-align: center;
}

h2 {
  padding-top: 0;
}

h3 {
  padding-top: 0;
}

.chapters {
  height: 401px;
  top: 160px;
  background-image: url(title-400.jpg);
  background-position: 2px 2px;
  background-repeat: no-repeat;
}

.chapters ul {
  top: 248px;
  padding-top: 2px;
  padding-left: 0px;
}

.chapters ul li {
  float: left;
  width: 48%;
  margin: 3px 4px;
}

.chapters ul li a {
  font-size: 12pt;
  font-weight: bold;
  text-align: center;
  color: #fff;
  background-color: rgba(0,0,0,.30);
  display: block;
  width: 170px;
  margin: 0px 0px;
  padding: 10px;
  border: 1px solid rgba(0,0,0,.30);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
}


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

body {
  font-size: 12pt;
  }

.container {
  position: relative;
  max-width: 254px;
  height: 609px;
  margin: 0.5em auto;
}

header {
  width: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  height: auto;
  text-align: center;
}

h2 {
  padding-top: 0px;
}

h3 {
  padding-top: 0;
}

.chapters {
  height: 462px;
  top: 138px;
  background-image: url(title-250.jpg);
}

.chapters ul {
  top: 158px;
  padding-left: 2px;
}

.chapters ul li {
  width: 100%;
  margin: 3px 0px;
}

.chapters ul li a {
  font-size: 12pt;
  font-weight: bold;
  text-align: center;
  color: #fff;
  background-color: rgba(0,0,0,.30);
  display: block;
  width: 228px;
  margin: 0px 0px;
  padding: 10px;
  border: 1px solid rgba(0,0,0,.30);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
}