/* 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-color: #000000; 
}

/* header image */

/* 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, h3, h4, h5, footer {
  font-family: 'Courier New';
  margin-top: 30px;
  font-weight: bold;
  color: #ffffff;
}

h2 {
  font-family: 'Courier New';
  color: #000000
}

/* body font */
.subPage p, footer, #authorNotes, .archiveTable {
  font-family: 'Courier New';
  font-size: large;
}

/* STYLING FOR SUBPAGES (about, characters, etc) */

/*general*/

.subPage {
  width: 480px;
  max-width: 100%;
  background-color: #ffffff;
  display: table;
  margin: auto;
  margin-top: 10px;
  margin-bottom: 10px;
  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: #ffffff;
      text-decoration: none;
      text-align: center;
    }

a:hover {
      color: #c1c1c1;
    }

/* HEADER */
header #nav {
  font-size: 20px;
  color: #ffffff;
  width: 10%;
  margin: auto;
}

/* HOMEPAGE */

/* style nav button images */
.comicNav {
  display: table;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  padding: 10px 10px;
  margin: auto;
}
.comicNav img {
  width: 92px;
  max-width: 100%;
  padding-right: 30px;
}

/* style comic page image */
.comicPage img {
  width: 720px;
  max-width: 100%;
}

/* style author notes */
#authorNotes {
  background-color:#ffffff;
  margin: auto;
  padding: 3px;
  padding-top: 3px;
  width: 720px;
  max-width: 98%;
}

/* ARCHIVE PAGE */

/* style table in which archive is displayed */
.archiveTable {
  margin: auto;
  margin-top: 10px;
  border-collapse:collapse;
}

/* style archive table cells */
.archiveTable td {
  padding: 3px;
  vertical-align: auto;
  
}

/* style table cell in which page title is displayed */
.archiveCellTitle:not(.leftAlignTableText) {
  max-width: 500px;
  text-align: center;
}

.archiveCellDate {
  text-align: left;
  min-width: 30px;
}

.archiveCellNum {
  text-align: center;
  min-width: 30px;
}

/* 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: #000000;
  color: #ffffff;
  cursor: pointer;
}

/* FOOTER */
footer {
  color: #c1c1c1;
  font-family: 'Courier New';
  margin-top: 30px;
  margin-bottom: 15px;
  float: none;
  width: 100%;
  font-size: 12px;
}

footer p {
  margin: auto;
  color: #c1c1c1;
}

footer a {
  color: #ffffff;
}

footer a:hover {
  color: #ffffff;
}



/* take away margins from the edges of the screen */
html, body {
  margin: 0;
}

