/* 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=Merriweather:700italic);



/* Reset */

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


/* Basics */

body {
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 18pt;
  line-height: 1.4;
  color: #000;
  background-color: #0e415b;
}

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

header {
  color: #18566f;
  margin-left: 250px;
  width: 500px;
  height: 200px;
}

h1, h3 {
  text-align: center;
}

h2 {
  text-align: center;
}

h1 {
  font-family: Merriweather, serif;
  font-size: 2.2em;
  font-weight: 700;
  font-style: italic;
  color: #ff0;
  text-shadow: 1px 1px #fff, 2px 2px 3px #000;
  padding-top: .5em;
}

h2 {
  font-family: Merriweather, serif;
  font-size: 1.5em;
  font-weight: 700;
  font-style: italic;
  color: #ff0;
  text-shadow: 1px 1px #fff, 2px 2px 3px #000;
  padding-top: .3em;
}

h3 {
  font-size: .7em;
  font-weight: normal;
  padding-top: .3em;
  text-shadow: 2px 2px 3px #000;
}

.chapters {
  position: relative;
  top: 300px;
  left: 0;
  width: 755px;
  height: 70px;
}

.chapters li {
  list-style: none;
  float: left;
  margin: 0 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: 64px;
  margin: 0 auto 8px 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 */

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

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

a:visited {
  text-decoration: none;
  color: #0ff;
}



@media screen and (max-width: 800px) {
  body {
    font-size: 16pt;
  }

  .container {
    max-width: 450px;
    height: 725px;
    background-image: url(mp-450.jpg);
  }

  header {
    position: relative;
    top: 300px;
    max-width: 450px;
    height: auto;
    margin-left: 0px;
/*    width: 500px;
    height: 200px;*/
  }

  .chapters {
    position: relative;
    top: 350px;
    left: 0;
    width: 450px;
    height: 750px;
  }

  .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: 195px;
    margin: 0 0;
    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: 500px) {
  body {
    font-size: 14pt;
  }

  .container {
    position: relative;
    max-width: 300px;
    height: 800px;
    margin: .5em auto;
    background-image: url(mp-250.jpg);
  }

  header {
    max-width: 250px;
    margin: 0 auto;
    position: relative;
    top: 160px;
    left: 0;
    height: auto;
    text-align: center;
  }

  h1, h2 {
    text-shadow: none;
  }

  h1 {
    line-height: 1.2;
  }

  h2 {
    padding-top: 0;
  }

  h3 {
    padding-top: 0;
  }

  .chapters {
    max-width: 250px;
    margin: 0 auto;
    position: relative;
    top: 200px;
    left: 0;
    right: 0;
  }

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

  .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: 100%;
    max-width: 230px;
    margin: 0 0;
    padding: 10px;
    border: 1px solid rgba(0,0,0,.30);
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
  }
}
