/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
  HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

   @import "/css/comments.css";

   body,
   div,
   main,
   section,
   article {
     box-sizing: border-box;
   }
   
   :root {
     --pg-width: min(900px, 98%);
     --spread-pg: min(1800px, 98%);
   }
   
   
   
   
   /* universal background color */
   body {
     background-image: url("/img/assets/GODSbg4.png");
     background-repeat: no-repeat;
     background-size:contain;
     background-color: #29171c;
   }
   
   /* header image */
   header img {
     max-width: 98%;
     padding: 20px;
     margin: auto;
     
   }
   header #logo {
    width: 950px, 98%;
    margin:auto;
   }
   
   @media screen and (max-device-width:530px),
   screen and (max-width: 767px) {
    header #logo{
margin-right:80px;
max-width:98%;
    }
    #banner{
      margin-right: 100px;
    }
  }
   /* clearfix hack to prevent image overflow. check out the W3Schools page on it. */
   .clearfix::after {
     content: "";
     clear: both;
     display: table;
   }
   
   /*FONTS*/
   
   .writePageTitle {
     color: #fff;
     font-size: small;
     font-family: 'Helvetica, sans-serif';
   }
   
   /* header font */
   #showComic,
   header,
   h1,
   h2,
   h3,
   h4,
   h5 {
     font-family: Helvetica, sans-serif;
   
   }
   .writeHeader {
     padding: 25px;
   }
   .subPagehead {
     background-color:;
   }
   
   /* body font */
   .subPage p,
   footer,
   #authorNotes,
   .archiveTable {
     font-family: 'Open Sans', sans-serif;
     font-size: large;
   }
   
   .blog p{
     text-align: left;
   }
   
   .blog img{
     align-content: center;
     
   }
   /* STYLING FOR SUBPAGES (about, characters, etc) */
   
   /*general*/
   @media screen and (max-device-width:530px),
   screen and (max-width: 767px) {
    .charTable p{
display:inline-block;
    }
    .charTable img{
     height: 300px;
     width:auto;
    }
  }
  @media screen and (max-device-width:530px),
  screen and (max-width: 767px) {
    .chapterimg img{
max-width: 600px;

 }
}
  
   .subPage {
     width: 1000px;
     max-width: 98%;
     background-color: #e9206d;
     outline: 3px solid #000000;
     margin: auto;
     margin-bottom: 10px;
     padding: 10px 25px 12px;
     border-radius: 8px;
   }
   .subPage p {
     background-color: #fff;
     padding: 18px;
     border-radius: 8px;
   }
   .subPage img {
     padding: 20px;
   }
   .subPage h2 {
     color:#fff;
   }
   .subPage a {
     color: #03330b;
   }
   
   .subPage:not(.archivePage) {
     text-align: center;
   }
   
   /* for pictures displayed to the left */
   .leftPic {
     clear: left;
     float: right;
     margin-left: 20px;
   }
   .bio img {
   align-content: center;
   padding: 0;
   }
   
   /* for pictures displayed to the left */
   .rightPic {
     clear: right;
     float: left;
     margin-left: 20px;
     padding-bottom: 20px;
     padding-right: 10px;
   
   }
   
   /* specific to Characters */
   .charTable,
   .charTable td {
     width: 100%;
   }
   
   /* link colors */
   a {
     color: #fff;
   }
   
   a:hover {
     color: #c31233;
   }
   
   /* HEADER */
   header #nav {
     font-size: 30px;
     width: 98%;
     margin: auto;
     font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
     font-weight: bold;
     padding: 1px;
   
   }
   
   header a {
     margin-left: 50px;
     text-decoration: none;
   }
   
   /* HOMEPAGE */
   
   /* style nav button images */
   .comicNav {
     display: flex;
     flex-wrap: nowrap;
     align-items: center;
     justify-content: center;
     padding: 10px 0px;
   }
   
   .comicNav img {
     width: 80px;
     padding-right: 30px;
   }
   
   /* style comic page image */
   .comicPage img {
     width: var(--pg-width);
   }
   
   .spreadPage.comicPage img {
     width: var(--spread-pg);
   }
   
   /* socials */
   #Socials {
     color: #fff;
     margin: 25px;
     max-width: var(--pg-width);
     display: grid;
     grid-template-columns: 1fr 1fr;
   }
   .Socialsimg {
     text-align: center;
     
   }
   .Socialsimg img {
     margin-left:30px;
     margin-top: 15px;
   }
   @media screen and (max-device-width:530px),
   screen and (max-width: 767px) {
     #Socials {
       display:flex;
       width: 400px;
   }
  }
   /* style author notes */
   #authorNotes {
     background-color: #ffffff;
     border:#e9206d 15px solid;
     text-align: left;
     font-family: Helvetica;
     border-radius: 5px;
     margin: auto;
     padding: 10px;
     padding-top: 3px;
     width: var(--pg-width);
     outline-width: 3px;
     outline-color: #000000;
   }
   
   /* ARCHIVE PAGE */
   
   
   /* style table in which archive is displayed */
   .archiveTable {
     width: 90%;
     border-collapse: collapse;
   }
   
   
   /* style archive table cells */
   .archiveTable td {
     padding: 3px;
     vertical-align: center;
   
   }
   
   /* style table cell in which page title is displayed */
   .archiveCellTitle:not(.leftAlignTableText) {
     max-width: 300px;
     text-align: center;
   }
   
   .archiveCellDate {
     text-align: right;
     min-width: 120px;
   }
   
   .archiveCellNum {
     text-align: center;
     min-width: 30px;
   }
   
   /* style the thumbnails on the archive page */
   .archiveCellThumb {
     width: 500px;
     max-width: 60px;
   }
   
   .archiveCellThumb img {
     max-width: 100%;
   }
   
   /* for left aligning the text in a table cell */
   .leftAlignTableText td {
     text-align: left;
   }
   
   /* highlight a table row and make pointer into hand when moused over */
   .archiveRow:hover {
     background-color: #e3d953;
     cursor: pointer;
   }
   
   /* FOOTER */
   footer {
     color: #ffffff;
     margin-top: 12px;
     margin-bottom: 15px;
     font-size: 12px;
     width: 98%;
   }
   
   footer p {
     margin: auto;
   }
   
   footer a {
     color: #c8d32b
   }
   
   footer a:hover {
     color: #868d26
   }
   
   /* take away margins from the edges of the screen */
   html,
   body {
     margin: 0;
   }