/* AwesomeDude styles template for responsive serial index */

/* Updated 1 March 2025 */
/* Coded by Alien Son */


@font-face {
  font-family: Roboto-BlackItalic;
  font-display: swap;
  src: url(Roboto-BlackItalic.ttf) format("opentype");
}
@font-face {
  font-family: Roboto-Light;
  font-display: swap;
  src: url(Roboto-Light.ttf) format("opentype");
}



/* Reset */

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


/* Basics */

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18pt;
  line-height: 1.4;
  color: #000;
  background-color: #9a9a9a;
}

.container {
  position: relative;
  max-width: 800px;
  height: auto;
  overflow: visible;
  margin: 1.0em auto 1.0em auto;
  background-color: #00FA9A;
}

.title-image {
  position: absolute;
  max-width: 800px;
  margin: 0 auto;
}

img {
  width: 100%;
  height: auto;
}

header {
  position: relative;
  top: 370px;
  padding-bottom: 1em;
  height: 530px;
  border: 0 solid #228b22;
}

h1, h2, h3, h4 {
  text-align: center;
  color: #00FA9A;
  text-shadow: 2px 2px #000;
}

h1 {
/*  font-family: Impact, Charcoal, sans-serif;*/
  font-family: "Roboto-BlackItalic", Arial, Helvetica, sans-serif;
  font-size: 2.2em;
  font-weight: normal;
  line-height: 1.2;
/*  letter-spacing: 2px;*/
  padding-top: 0px;
}

h2 {
  font-family: "Roboto-Light", Arial, Helvetica, sans-serif;
  font-size: 1.2em;
  font-weight: bold;
  font-style: normal;
  padding-top: 0em;
}

h3 {
  font-family: "Roboto-Light", Arial, Helvetica, sans-serif;
  font-size: 0.8em;
  font-weight: bold;
  font-style: italic;
  padding-top: 0.5em;
  padding-bottom: 2.0em;
}

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



/* CHAPTERS */

#chapters {
  position: relative;
  top: 5px;
  max-width: 800px;
  min-height: 50px;
  overflow: hidden;
  padding-left: 3px;
  margin: 0 auto;
  padding-bottom: 1em;
}

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

#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: 230px;
  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: #000;
}

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: .6em;
  font-weight: bold;
  text-align: center;
  padding-top: 2em;
}

.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: 820px) {
  body {
    font-size: 16pt;
  }

  .container {
    max-width: 450px;
    height: 663px;
    background-color: #7b7b7b;
  }

  header {
    top: 300px;
    max-width: 450px;
    border: 0px solid #FF00FF;
    height: 150px;
  }

h1 {
  padding-top: 20px;
}

  /* chapters */

  #chapters {
    top: 300px;
    max-width: 450px;
    height: 140px;
    padding-top: 30px;
    background-color: #00fa9a;
  }

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


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

  .container {
    max-width: 255px;
    height: 618px;
    margin-bottom: 25px;
  }

  header {
    top: 170px;
    width: 230px;
    margin: 0 auto;
    height: 150px;
    border: 0px solid #FF00FF
  }

  h1 {
    font-size: 1.8em;
  }

  h2 {
    font-size: 1.2em;
    padding-top: .5em;
  }

  h3 {
    font-size: 0.6em;
    padding-top: 1.5em;
  }

  /* chapters */

  #chapters {
    top: 180px;
    width: 100%;
    height: 220px;
    padding-left: 0;
  }

  #chapters ul li a {
    width: 210px;
    margin: 0 0 8px 0;
  }
}
