body, div, main, section, article {
  box-sizing: border-box;  
}
body {
  background-color: #1C3023;  /* universal background color */
  cursor: url("/lilium.cur"), default;
}
header img {
  max-width: 75%;
  padding: 5px;
}
/* clearfix hack to prevent image overflow. check out the W3Schools page on it.*/
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}
/*FONTS*/
/* header font */
@font-face {
  font-family: Dolce;
  src: url(/espresso_dolce/EspressoDolce.ttf);
  }
#showComic, header, h1, h2, h3, h4, h5, p {
  font-family: 'Dolce';
}
h1{
  color: white;
  text-shadow:
    -2px -2px 0 #000000,
    2px -2px 0 #000000,
    -2px 2px 0 #000000,
    2px 2px 0 #000000;
  }
/* body font */
.subPage p, footer, #authorNotes, .archiveTable {
  font-family: 'Dolce';
  font-size: large;
}
/* STYLING FOR SUBPAGES (about, characters, etc) */
/*general*/
.subPage {
  width: 1200px;
  max-width: 75%;
  background-color: #88d18a;
  outline: 3px solid #386150;
  margin: auto;
  margin-bottom: 10px;
  padding: 0px 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: #3d3522;
    }
a:hover {
      color: #d7f9f1;
    }

/* HEADER */
header #nav {
  background-color: #88d18a;
  color: black;
  outline: 3px solid #386150;
  font-size: 20px;
  width: 75%;
  margin: auto;
}
/* HOMEPAGE */
/* style nav button images */
.comicNav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  padding: 10px 0px;
}
.comicNav img {
  height: 60px;
  padding-right: 30px;
}
/* style comic page image */
.comicPage img {
  width: 50%;
}
/* style author notes */
#authorNotes {
  background-color: #88d18a;
  outline: 3px solid #386150;
  margin: 50px 160px;
  padding: 5px;
  padding-top: 5px;
  width: 75%;
  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;
  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: #d7f9f1;
  cursor: pointer;
}

/* FOOTER */
footer {
  color: #d7f9f1;
  margin: auto;
  width: 75%;
  font-size: 12px;
  align-items: center; 
}
footer p {
  margin: auto;
}
footer a {
  color: #88d18a
}
footer a:hover {
  color: #d7f9f1
}
/* take away margins from the edges of the screen */
html, body {
  margin-bottom: 50px;
}

