/* AwesomeDude styles template for responsive serial index */

/* Last update by Alien Son 1 September 2024 */


@font-face {
  font-family: Amped-Italic;
  font-display: swap;
  src: url(Amped-Italic.otf) 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: #fff;
}

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

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

.blurb {
  margin: 1em auto 3em auto;
}

.blurb p {
  font-size: .9em;
  margin-bottom: 1.4em;
}

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

.thumbnail {
  position: relative;
  float: left;
  margin-right: 5px;
  max-width: 110px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 5px;
}

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

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

h1 {
  font-family: "Amped-Italic", 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: bold;
  font-style: normal;
  padding-top: .5em;
}

h2.subtitle {
  font-size: 1.1em;
  font-weight: bold;
  padding-top: .5em;
  padding-bottom: 0;
}

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

h3.author {
  font-size: 1.0em;
  font-weight: normal;
  padding-top: 1.0em;
  padding-bottom: 2.0em;
}

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



/* STORIES */

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

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

#stories li {
  list-style: none;
  float: left;
  margin: 0 3px;
}

#stories 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: 300px;
  height: 98px;
  margin: 0 auto 8px auto;
  padding: 6px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 5px;
}

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

.story-title {
  font-size: 1.5em;
  font-style: italic;
}

.story-title-small {
  font-size: 0.65em;
  font-style: italic;
}

/* 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 {
  margin: 1.5em 0 0 0;
}

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




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

  .container {
    max-width: 450px;
  }

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


  /* stories */

  #stories {
    max-width: 450px;
  }

  #stories 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 {
    padding-top: 10px;
    max-width: 250px;
    height: auto;
  }

.thumbnail {
  position: static;
  float: left;
  margin-right: 2px;
  max-width: 80px;
/*  margin: 20px 0px 0px 30%;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 5px;*/
}

  h2 {
    padding-top: .5em;
  }

  /* stories */

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

  #stories ul li a {
    font-size: 9pt;
    width: 140px;
    height: 68px;
    margin: 0 0 8px 0;
  }

  .story-title {
  font-size: 1.3em;
  font-style: italic;
}
}
