/* 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; 
  font-family: Courier New;
}

/* universal background color */
body {
  background-image: url("Background.png");
  background-repeat: no-repeat;
  //background-attachment: fixed;
  background-size: cover;
  background-color: #001a42;
  background-position-y: 50%;
  //background-size: 100% 100%; 
}

/* header image */
header img {
     width: 100%;
    <!--width: 1520px;-->
    <!--width: 1100px;-->
    <!--max-width: 98%;-->
    
    <!--image-rendering: auto;
    position:static;
    display: block;
    flex-wrap:wrap;-->
      

}

/* 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 {
  //font-family: 'Cherry Cream Soda', cursive;
    font-family: Courier New;
}

h2 {
  font-family: 'Times New Roman', serif;
}

/* body font */
.subPage footer, #authorNotes, .archiveTable {
  font-family: 'Open Sans', sans-serif;
  font-size: large;
}

p {
  font-family: 'Courier New', Courier, monospace;
  
}

/* STYLING FOR SUBPAGES (about, characters, etc) */

/*general*/

.subPage {
  width: 1000px;
  max-width: 98%;
  background-color: #bababa;
  outline: 3px solid #000000;
  margin: auto;
  margin-bottom: 10px;
  padding: 1px 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: #001e4d;
      color: #154473;
      //color: #0e3766;
    }

a:hover {
      //color: #DA5437;
      color: #ffffff;
    }

/* HEADER */
header #nav {
  background-color: #bababa;
  outline: 3px solid #000000;
  font-size: 20px;
  font-weight: bold;
  width: 100%;
  margin: auto;
}

/* HOMEPAGE */

/* style nav button images */
.comicNav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  padding: 10px 0px;
}
.comicNav img {
  width: 140px;
  max-width: 95%;
  /*background-color: #d100e6;*/
}

/* style comic page image */
.comicPage img {
  width: 900px;
  max-width: 98%;
  border-style: solid;
  /*border-color: #d100e6;*/
}

/* style author notes */
#authorNotes {
  background-color:#bababa;
  outline: 3px solid #000000;
  margin: auto;
  padding: 10px;
  /*padding-top: 3px;*/
  width: 900px;
  max-width: 98%;
}

.authorBlurb {
  font-family: 'Courier New', Courier, monospace;
  font-size: large; 
  font-weight: bold;
  display: flex;
  

}

.authorBlurb table, .authorBlurb th, .authorBlurb td{
  outline: 3px solid #000000;
}

.authorBlurb th {
  font-size: xx-large;
}

.authorBlurb li {
  text-align: left;
}

hr.gradient {
  height: 3px;
  border: none;
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    #57c7f4 0%,
    #ffe5f4 50%,
    #ff8900 100%
  );
}

/* 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;
  font-family: Courier New;
  font-weight: bold;
  
}

/* 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 {
  color: #421a1a;
  margin-top: 12px;
  margin-bottom: 15px;
  float: left;
  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;
}

