/* AwesomeDude styles template for responsive serial index */

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


/* 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: #4B493F;
  background-color: #ededed;
}

.container {
  position: relative;
  width: 860px;
  height: 670px;
  margin: 1.0em auto;
  background-image: url(crowded-beach-855.jpg);
  background-position: center top;
  background-repeat: no-repeat;
}

header {
  position: relative;
  top: 10px;
  height: auto;
  text-align: left;
  padding-left: 20px;
}

h1 {
  font-family: Georgia, serif;
  font-size: 2.0em;
  font-weight: bold;
  text-shadow: 1px 1px #c2d5da, 2px 2px 0px #000;
}

h2 {
  font-family: Georgia, serif;
  font-size: 1.5em;
  font-weight: bold;
  padding-top: .1em;
  text-shadow: 1px 1px #aabbbd, 2px 2px 0px #000;
}

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

.chapters {
  position: relative;
  top: 425px;
  padding-left: 3px;
  width: 855px;
}

.chapters li {
  list-style: none;
  float: left;
  width: 15.7%;
  margin: 0 4px;
  border: 0px solid #DDA0DD
}

.chapters ul li a {
  font-size: 12pt;
  font-weight: bold;
  text-align: center;
  color: #fff;
  background-color: rgba(0,0,0,.50);
  display: block;
  width: 113px;
  margin: 0px auto 6px 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: #4B493F;
}

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

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



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

body {
  font-size: 16pt;
  }

.container {
  width: 705px;
  height: 570px;
  background-image: url(crowded-beach-700.jpg);
}

header {
  top: 5px;
}

.chapters {
  position: relative;
  top: 340px;
  padding-left: 1px;
  width: 710px;
}

.chapters li {
  width: 15.7%;
  margin: 0 3px;
  border: 0px solid #DDA0DD
}

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


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

body {
  font-size: 14pt;
  }

.container {
  position: relative;
  width: 400px;
  height: 770px;
  margin: 1.0em auto;
  background-image: url(crowded-beach-450.jpg);
}

header {
  top: 310px;
  text-align: center;
  padding-left: 0;
}

.chapters {
  width: 100%;
  position: relative;
  top: 325px;
}

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

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


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

body {
  font-size: 12pt;
  }

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

header {
  width: 100%;
  position: absolute;
  top: 171px;
  left: 0px;
}

h1, h2, h3 {
  text-align: center;
  padding-left: 0px;
}

h2 {
  padding-top: .3em;
}

h3 {
  padding-top: 0;
}

.chapters {
  width: 100%;
  position: relative;
  top: 330px;
}

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

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