body, div, main, section, article {
  box-sizing: border-box; 
}

/* universal background color */
body {
  background-image: url("bg.jpg");
}

/* header image */
header img {
  width: 260px;
  float: left;
}

/* clearfix hack to prevent image overflow. check out the W3Schools page on it. */
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

#showComic {
    background-color: #000;
    width: 75%;
}
/*FONTS*/

/* header font */
#showComic, header, h1, h2, h3, h4, h5 {
  font-family: 'Hind', -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, sans-serif;
  color: #fcb900;
  text-align: center;
}

/* body font */
.subPage p, footer, #authorNotes, .archiveTable {
  font-family: 'Hind', -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, sans-serif;
  font-size: large;
  color: #eee;
  line-height: 1.5;
}

/* STYLING FOR SUBPAGES (about, characters, etc) */

/*general*/

.subPage {
  width: 1000px;
  max-width: 98%;
  background-color: #000;
  margin: auto;
  margin: 20px;
  padding: 30px;
}


/* for pictures displayed to the left */
.leftPic {
  clear: left;
  float:right;
  margin: 20px;
}

/* for pictures displayed to the left */
.rightPic {
  clear: right;
  float:left;
  margin: 20px;
}

/* specific to Characters */
.charTable, .charTable td { 
  width: 100%;
}

/* link colors */
a {
      color: #fcb900;
    }

a:hover {
      color: #fcb900;
    }

/* HEADER */
header #nav {
  background-color: #000;
  font-size: 20px;
  width: 98%;
  padding: 15px;
  text-align: right;
  margin: 0 20 30px;
}

header {
  background-color: #000;
}

/* HOMEPAGE */

/* style nav button images */
.comicNav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  padding: 10px 0px;
}
.comicNav img {
  width: 80px;
  max-width: 98%;
  padding-right: 30px;
}

/* style comic page image */
.comicPage img {
  width: 98%;
  max-width: 1500px;
  background-color: #000;
}

.comicPage {
  padding: 20px;
}


/* style author notes */
#authorNotes {
  background-color: #000;
  margin: 20px;
  padding: 10px;
  width: 80%;
  max-width: 1500;
  margin-left: auto;
  margin-right: auto;
}

/* 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: #DA5437;
  cursor: pointer;
}

/* FOOTER */
footer {
  background-color: #000;
  color: #bab0a2;
  margin-top: 12px;
  padding: 10px;
  float: left;
  width: 98%;
  font-size: 12px;
  position:relative;
  bottom:0;
}

footer p {
  text-align: center;
  margin: auto;
}

footer a {
  color: #fcb900;
}

footer a:hover {
  color: #fcb900;
}

/* take away margins from the edges of the screen */
html, body {
  margin: 0;
}

