/* AwesomeDude styles template for responsive serial index */

/* Last modified December 10 2020 by John Silby (Alien Son) */


@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display&display=swap');



/* 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: #1c1c1c;
  background-color: #FAEED8;
}

.container {
  position: relative;
  max-width: 1000px;
  height: auto;
  overflow: visible;
  margin: 1.0em auto 1.0em auto;
  border: 0px solid #9400d3;
}

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

img {
  width: 100%;
  height: auto;
  box-shadow: 2px 2px 7px #6C664E;
}

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

h1 {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 2.0em;
  font-weight: normal;
  letter-spacing: 2px;
  line-height: 1.2;
  padding-top: 25px;
}

h2 {
  font-family: 'Big Shoulders Display', Helvetica, sans-serif;
  font-size: 1.5em;
  font-weight: normal;
  font-style: normal;
  padding-top: .5em;
}

h3 {
  font-family: 'Trebuchet MS', Helvetica, sans-serif;
  font-size: .8em;
  font-weight: normal;
  padding-top: .5em;
  padding-bottom: 0;
}

h4 {
  font-family: Tahoma, Geneva, sans-serif;
  font-size: .7em;
  font-weight: bold;
  font-style: italic;
  color: #fff;
  padding-top: 2em;
}



/* CHAPTERS */

#chapters {
  position: relative;
  top: 5px;
  max-width: 995px;
  min-height: 50px;
  overflow: hidden;
  padding-left: 8px;
  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: rgba(108, 102, 78, 0.50);
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 105px;
  height: 50px;
  margin: 0 auto 8px auto;
  padding: 6px;
  -webkit-border-radius: 5px;
     -moz-border-radius: 5px;
          border-radius: 5px;
}

#chapters ul li a:hover {
  background-color: rgba(108, 102, 78, 1.0);
  color: #fff;
}



/* Links */

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

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

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



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

  .container {
    max-width: 450px;
  }

  header {
    padding-top: 0px;
    max-width: 450px;
    height: auto;
  }


  /* chapters */

  #chapters {
    max-width: 450px;
    padding-left: 2px;
  }

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


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

  .container {
    max-width: 255px;
  }

  header {
    padding-top: 0px;
    max-width: 250px;
    height: auto;
  }

  h2 {
    padding-top: .5em;
  }

  /* chapters */

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

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