/* 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." */


body, div, main, section, article {
  box-sizing: border-box; 
}

/* universal background color */
body {
  /* background-image: url("/img/gradient.png"); */
  /* background-repeat: repeat-x; */
  background-color: #060612; /* #1b041b; #edc29d;*/
}

/* header image */
header img {
  width: 400px;
  max-width: 98%;
}

/* clearfix hack to prevent image overflow. check out the W3Schools page on it. */
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

/*FONTS*/

/* header font */
#showComic, header, h1, h2, h3, h4, h5 {
  /* setting the font for header links */
  font-family: 'Blippo', fantasy;
  font-weight: bold;
}

/* body font */
.subPage p, footer, #authorNotes, .archiveTable {
  font-family: 'Gill Sans', sans-serif;
  font-size: 14px;
}

/* STYLING FOR SUBPAGES (about, characters, etc) */

/*general*/

.subPage {
  width: 800px;
  max-width: 98%;
  background-color: #ffffff;
  /*border: 1.5px solid #a037d9; */
  margin: auto;
  margin-bottom: 0px;
  margin-top: 0px;
  padding: 12px 12px 12px;
}

.subPage:not(.archivePage) {
  text-align: center;
}

/* for pictures displayed to the left */
.leftPic {
  clear: left;
  float:right;
  margin-left:20px;
}

/* for pictures displayed to the left */
.rightPic {
  clear: right;
  float:left;
  margin-left:20px;
}

/* specific to Characters */
.charTable, .charTable td { 
  width: 100%;
}

/* link colors */
a {
      color: #a037d9;
      font-weight: bold;
      text-decoration: none;
      background: -webkit-linear-gradient(#fafaf9, #7b00ff);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

a:hover {
      color: #e8b9ff;
      background: -webkit-linear-gradient(#f5e6c4, #ce1def);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

/* HEADER */
header #nav {
  background-color: #290e41;
  max-width: 800px;
  width: 98%;
  padding: 5px; /* some room around the link text */
  /* border: 1.5px solid  #a037d9; */
  margin: auto;
  margin-bottom: 0px;
  font-size: 20px;
}

/* HOMEPAGE */

/* style nav button images */
.comicNav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  padding: 10px 0px;
}
.comicNav img {
  width: 30px;
  max-width: 98%;
  padding-right: 30px;
}

/* style comic page image */
.comicPage img {
  max-width: 98%;
  max-height: 125vh;
}

/* style author notes */
#authorNotes {
  background-color:#ffffff;
  /* outline: 3px solid #000000; */
  margin: auto;
  margin-top: 0px;
  margin-bottom: 0px;
  padding: 1px 20px 12px;
  width: 800px;
  max-width: 98%;
}

/* ARCHIVE PAGE */

/* style table in which archive is displayed */
.archiveTable {
  width: 90%;
  border-collapse:collapse;
}

/* style archive table cells */
.archiveTable td {
  padding: 3px;
  padding-left: 1.5vw;
  padding-right: 1.5vw;
  vertical-align: central;
  
}

/* 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: #e8b9ff;
  cursor: pointer;
}

/* FOOTER */
footer {
  color: #ffffff; /* color of text in the footer */
  margin-top: 0px;
  /* margin-bottom: 15px; */
  padding: 15px; /* adding space around the things in the footer */
  text-align: right;
  float: right;
  width: 100%;
  font-size: 12px;
}

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;
}

