/* 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=Life+Savers');

/* Reset */

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


/* Basics */

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18pt;
  line-height: 1.4;
  color: #f7f7f7;
  background-color: #2E2E2E;
}

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

header {
  position: relative;
  top: 20px;
  left: 0px;
  height: auto;
}

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

h1 {
  font-family:  'Life Savers', serif;
  font-size: 2.0em;
  font-weight: bold;
  padding-top: 0em;
}

h2 {
  font-size: 1.1em;
  font-weight: normal;
  padding-top: .3em;
}

h3 {
  font-size: 0.7em;
  font-weight: normal;
  padding-top: .3em;
}

.chapters {
  position: relative;
  top: 607px;
  left: 3px;
}

.chapters li {
  list-style: none;
  float: left;
/*  width: 20%;*/
}

.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: 38px;
  margin: 0px 1px 5px 1px;
  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 */

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

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

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



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

body {
  font-size: 15pt;
  }

.container {
  width: 450px;
  height: 670px;
  background-image: url(title-image-450.jpg);
  background-position: center 170px;
}

.chapters {
  top: 400px;
  left: 1px;
}

.chapters ul li a {
  width: 84px;
  margin: 0px 3px 6px 3px;
}
}



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

body {
  font-size: 12pt;
  }

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

h2 {
  padding-top: 0;
}

h3 {
  padding-top: 5px;
}

.chapters {
  top: 230px;
  left: 7px;
}

.chapters ul li a {
  width: 90px;
  margin: 0px 3px 6px 3px;
}
}