/* AwesomeDude styles template for responsive serial index */

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


/*@import url('https://fonts.googleapis.com/css2?family=Courgette&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Devonshire&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=Yellowtail&display=swap');


/* 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: #554A2A;
}

.container {
  position: relative;
  max-width: 750px;
  height: 780px;
  margin: 1.0em auto;
}

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

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

h1 {
  font-family: 'Yellowtail', Serif;
  font-size: 2.5em;
  font-weight: normal;
  padding-top: 0.3em;
  text-shadow: 1px 1px 7px #000;
}

h2 {
  font-size: 1.2em;
  font-weight: bold;
  padding-top: .3em;
  text-shadow: 1px 1px 7px #000;
}

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

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

.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: 123px;
  margin: 0px auto 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 */

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: 650px;
/*  background-image: url(title-image-450.jpg);*/

}
header {
/*  top: 130px;*/
}

.chapters {
/*  top: 180px;*/
}

.chapters li {
  width: 50%;
}

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



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

body {
  font-size: 12pt;
  }

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

header {
  top: 5px;
}

h2 {
  padding-top: 0;
}

h3 {
  padding-top: 5px;
}

.chapters {
  top: 40px;
}

.chapters ul li {
  width: 100%;
}

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