/* AwesomeDude styles template for responsive serial index */

/* Updated on 4 June 2025 */
/* Coded by Alien Son */


@font-face {
  font-family: Aribola;
  font-display: swap;
  src: url(Aribola.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: #fff;
  background-color: #B4B1B1;
}

.container {
  position: relative;
  max-width: 750px;
  height: auto;
  overflow: visible;
  margin: 0 auto;
}

/* TITLE IMAGE */

.title-image {
  max-width: 800px;
  margin: 1em auto 1em auto;
}

img {
  max-width: 100%;
  height: auto;
  box-shadow: 3px 3px 25px #000;
}

/* HEADER */

header {
  position: absolute;
  top: 12.5em;
  padding-top: 0px;
  padding-bottom: 1em;
  width: 800px;
  height: auto;
}

h1,
h2,
h3 {
  text-align: center;
  color: #32CD32;
  text-shadow: 1px 1px 0px #000;
}

h1 {
  font-family: 'Aribola', Arial, Helvetica, sans-serif;
  font-size: 2.5em;
  font-weight: normal;
  line-height: 1.2;
  padding-top: 0px;
}

h2 {
  font-size: 1.5em;
  font-weight: normal;
  font-style: normal;
  padding-top: 0.2em;
}

h3 {
  font-size: 0.8em;
  font-weight: normal;
  padding-top: 0.5em;
  padding-bottom: 0;
}

h4 {
  font-size: 0.7em;
  font-weight: normal;
  font-style: italic;
  color: #fff;
  padding-top: 2em;
}

/* LINKS */

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

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

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

/* CHAPTERS */

#chapters {
  position: relative;
  top: 5px;
/*  max-width: 750px;*/
  min-height: 50px;
  overflow: hidden;
  padding-left: 3px;
  padding-bottom: 1em;
  margin: 0 auto;
/*  border: 1px solid #7cfc00;*/
}

#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: 10pt;
  font-weight: bold;
  text-align: center;
  color: #000;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 104px;
  height: 40px;
  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, 0.6);
  color: #fff;
}


/* IMAGE CREDIT */

.credit {
  margin: 0 auto;
}

.credit p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.6em;
  font-weight: bold;
  text-align: center;
  text-indent: 0;
  margin-bottom: 0.7em;
}

/* POSTED DATE */

.posted-date {
  margin: 0 auto;
}

.posted-date p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.6em;
  font-weight: bold;
  text-align: center;
  text-indent: 0;
  margin-bottom: 0.7em;
}

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

  .container {
    max-width: 450px;
  }

  header {
    position: absolute;
    top: 6em;
    padding-top: 0px;
    padding-bottom: 1em;
    width: 450px;
    height: auto;
  }

  #chapters {
    max-width: 450px;
  }

  #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;
  }

  header {
    position: relative;
    top: 0em;
    padding-top: 0px;
    padding-bottom: 1.5em;
    max-width: 250px;
    height: auto;
    }

/*  header {
    padding-top: 10px;
    max-width: 250px;
    height: auto;
  }*/

  h2 {
    padding-top: 0em;
  }

  #chapters {
    top: 0;
    max-width: 250px;
    padding-left: 0;
  }

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