/* AwesomeDude styles template for responsive serial chapters */

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

@import url('https://fonts.googleapis.com/css?family=Roboto');

/* Reset */

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


/* Basics */

body {
  font-family: "Comic Sans MS", sans-serif;
  font-size: 15pt;
  color: #000000;
  background-color: #FFFAF5;
}

.page {
  max-width: 880px;
}

.container {
  width: 800px;
  height: 580px;
  margin: 0 auto;
  padding: 0;
  background-image: url(bse-image-750.jpg);
  background-position: center 60px;
  background-repeat: no-repeat;
}

header {
  margin: 2em auto 2em auto;
  height: auto;
}

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

h1 {
  font-size: 1.5em;
  font-weight: normal;
  padding-top: 0em;
}

h2 {
  font-size: 0.7em;
  font-weight: normal;
}

h3 {
  font-size: .9em;
  font-weight: normal;
  padding-top: .8em;
}

h4 {
  font-size: 0.7em;
  font-weight: normal;
  padding: .3em 0 .8em;
}

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

.list1 {
  position: relative;
  top: 0;
  left: 0;
  width: 150px;
  margin: 0 auto;
}

.list2 {
  position: relative;
  clear: both;
  top: 0;
  left: 0;
  width: 100%;
}

.list3 {
  position: relative;
  clear: both;
  top: 0;
  left: 40;
  width: 100%;  
}

.list1 li {
  list-style: none;
  width: 100%;
}

.list2 li {
  list-style: none;
  float: left;
  width: 20%;
}

.list3 li {
  list-style: none;
  float: left;
  width: 33.3%;  
}

.chapters ul li a {
  font-size: 12pt;
  font-weight: bold;
  text-align: center;
  color: #CCCCCC;
  background-color: #000000;
  display: inline;
  width: auto;
  height: 300px;
  margin: 0px 2px 4px 2px;
  padding: 10px;
  border: 1px solid #000000;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.chapters ul li a:hover {
  background-color: #000000;
}

/* Links */

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

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

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

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



/* Special formatting */


/* Media */

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

body {
  font-size: 15pt;
  }
  
.page {
  max-width: 550px;
}

.container {
  width: 480px;
  height: 460px;
  background-image: url(bse-image-450.jpg);
  background-position: center 270px;
}
  
header {
  top: 130px;
}

.chapters {
  top: 120px;
}

.list2 li {
  width: 50%;
}

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


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

body {
  font-size: 12pt;
  }
  
.page {
  max-width: 440px;
  }

.container {
  width: 280px;
  height: 205px;
  margin: 0.5em auto;
  background-image: url(bse-image-250.jpg);
  background-position: center 20px;
}

header {
  top: 85px;
}

h2 {
  padding-top: 0;
}

h3 {
  padding-top: 5px;
}

.chapters {
  top: 100px;
}

.chapters ul li {
  width: 100%;
}

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

