/* AwesomeDude styles template for responsive serial index */

/* Last update by Alien Son 20 February 2023 */





/* 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: #000;
  background-color: #fff;
}

.container {
  position: relative;
  max-width: 800px;
  height: 550px;
  margin: 1.0em auto;
  background-image: url(title-image-800.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: Georgia, serif;
  font-size: 2.0em;
  font-weight: bold;
  padding-top: 0em;
}

h2 {
  font-family: Georgia, serif;
  font-size: 1.2em;
  font-weight: bold;
  padding-top: .3em;
}

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

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

.chapters ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.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 2px 4px 2px;
  padding: 10px;
  border: 1px solid rgba(0,0,0,.30);
  border-radius: 5px;
}

.chapters ul li a:hover {
  background-color: rgba(0,0,0,.60);
}

/* Links */

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

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: 610px;
  background-image: url(title-image-450.jpg);
  background-position: center 140px;
}
header {
  top: 0px;
}

.chapters {
  top: 140px;
}

.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: 810px;
  margin: 0.5em auto;
  background-image: url(title-image-250.jpg);
  background-position: center 100px;
}

header {
  top: 0px;
}

h2 {
  padding-top: 0;
}

h3 {
  padding-top: 5px;
}

.chapters {
  top: 70px;
}

.chapters ul li {
  width: 100%;
}

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