/* AwesomeDude styles template for responsive serial index */

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





/* Reset */

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


/* Basics */

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

.container {
  position: relative;
  max-width: 750px;
  height: auto;
  overflow: visible;
  margin: 1.0em auto 1.0em auto;
  padding-bottom: 2em;
  border: 0px solid #9400d3;
  background-color: #465D7C;
}

header {
  position: relative;
  padding-top: 1.5em;
  padding-bottom: 1em;
  height: 712px;
  border: 0 solid #228b22;
  background-image: url(title-image-750.jpg);
  background-position: center 270px;
  background-repeat: no-repeat;
}

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

h1 {
  font-size: 1.8em;
  font-weight: bold;
  line-height: 1.2;
  color: #99acc5;
  text-shadow: 2px 2px 2px #000;
}

h2 {
  font-size: 1.0em;
  font-weight: bold;
  font-style: normal;
  padding-top: 1em;
  color: #99acc5;
  text-shadow: 1px 1px 1px #000;
}

h2.editor {
  font-size: 0.8em;
  font-weight: bold;
  font-style: normal;
  padding-top: .5em;
  color: #A9A9A9;
  text-shadow: none;
}

h3 {
  font-size: .6em;
  font-weight: bold;
  padding-top: 1.5em;
  padding-bottom: 0;
}

h4 {
  font-size: .7em;
  font-weight: bold;
  font-style: italic;
  color: #fff;
  padding-top: 2em;
}



/* CHAPTERS */

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

.chapters {
  position: relative;
  top: 1em;
  min-height: 50px;
  overflow: hidden;
  margin: 0 auto;
  border: 0 solid #7cfc00;
}

.chapters li {
  list-style: none;
  float: left;
  margin: 0 3px;
}

.chapters ul li a {
  font-size: 11pt;
  font-weight: bold;
  text-align: center;
  color: #000;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 69px;
  height: 50px;
  margin: 0 auto 8px auto;
  padding: 6px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 5px;
}

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



/* Links */

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

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

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


/* Copyright */

.copyright {
  font-family: Arial, Helvetica, sans-serif;
  font-size: .5em;
  font-weight: bold;
  text-align: center;
  padding: .5em 0 .5em 0;
}

.credit {
  margin: 1.5em 0 0 0;
}

.credit p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8em;
  font-weight: normal;
  font-style: normal;
  text-align: center;
  text-indent: 0;
}




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

  .container {
    max-width: 450px;
  }

  header {
    max-width: 450px;
    height: 475px;
    background-image: url(title-image-450.jpg);
    background-position: center 220px;
    background-repeat: no-repeat;
  }


  /* chapters */

  .chapters {
    max-width: 450px;
  }

  .chapters ul li a {
    width: 180px;
    margin: 0 2px 8px 2px;
  }
}


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

  .container {
    max-width: 255px;
  }

  header {
    max-width: 250px;
    height: 330px;
    background-image: url(title-image-250.jpg);
    background-position: center 200px;
    background-repeat: no-repeat;
  }

  h2 {
    padding-top: .5em;
  }

  /* chapters */

  .chapters {
    top: 1em;
    max-width: 250px;
    padding-left: 0;
  }

  .chapters ul li a {
    width: 215px;
    margin: 0 0 8px 0;
  }
}
