/* 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: rgb(34,193,195);
  background: linear-gradient(0deg, rgba(1,0,19,1) 0%, rgba(35,36,92,1) 100%);
  }
/* header image */
header img {
  width: 600px;
  max-width: 100%;
}

/* clearfix hack to prevent image overflow. check out the W3Schools page on it. */
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

.button {
  background-color: rgba(22, 108, 139, 0.65); /* Green */
  border: none;
  border-radius: 13px;
  color: white;
  padding: 9px 22px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 13px;
  font-family: 'Open Sans', sans-serif;
}
.button:hover {
  background-color: rgba(35, 62, 149, 0.76);
  color: white;
}
#archive-btn {
  background-color: rgba(22, 108, 139, 0.65);
  border: none;
  border-radius: 2px;
  color: white;
  padding: 22px 239px;
  text-align: start; 
  text-decoration: none;
  display: inline-block;
  font-size: 18px;
}
#archive-btn:hover {
  background-color: rgba(68, 175, 214, 0.65);
  color: white;
}

/*FONTS*/

/* header font */
#showComic, header, h1, h2, h3, h4, h5 {
  font-family: 'Trebuchet MS', sans-serif;
  font-size: xx-large;
  font-weight: bold;
}

/* body font */
.subPage p, footer, #authorNotes, .archiveTable {
  font-family: 'Open Sans', sans-serif;
  font-size: large;
}

/* STYLING FOR SUBPAGES (about, characters, etc) */

/*general*/

.subPage {
  width: 1000px;
  max-width: 98%;
  border-radius: 10px;
  background-color: rgba(175, 220, 253, 0.67);
  margin: auto;
  margin-bottom: 20px;
  padding: 1px 20px 20px;
}

.subPage:not(.archivePage) {
  text-align: center;
}

/* for pictures displayed to the left */
.leftPic {
  clear: left;
  float:right;
  margin-left:20px;
  padding-left:10px;
  filter: drop-shadow(3px 4px 10px rgba(42, 57, 74, 0.59));
  max-width: 100%;
}

/* for pictures displayed to the right */
.rightPic {
  clear: right;
  float:left;
  margin-left:20px;
  padding-right:10px;
  filter: drop-shadow(-3px 4px 10px rgba(42, 57, 74, 0.59));
  max-width: 100%;
}

/* specific to Characters */
.charTable, .charTable td { 
  width: 100%;
}

/* link colors */
a {
      color: #000000;
    }

a:hover {
      color: #93cff5;
    }


/* HEADER */
header #nav {
  border-radius: 10px;
  background-color: rgba(175, 220, 253, 0.67);
  font-size: 20px;
  width: 98%;
  padding: 5px 5px;
  margin-left: auto;
  margin-right: auto;
}

/* INDEX */

/* style nav button images */
.comicNav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  padding: 10px 10px;
}
.comicNav img {
  width: 80px;
  max-width: 98%;
  padding-right: 10px;
}

/* style comic page image */
.comicPage img {
  border-radius: 1px;
  width: 900px;
  max-width: 98%;
}

/* style author notes */
#authorNotes {
  border-radius: 10px;
  background-color:rgba(208, 162, 239, 0.67);
  margin: auto;
  padding: 3px;
  padding-top: 0px;
  width: 900px;
  max-width: 98%;
}

/* ARCHIVE PAGE */

/* style table in which archive is displayed */
.archiveChapter {
  width: 100%;
  display:  flex;
  align-items:  center;
  font-family: 'Open Sans', sans-serif;
}

/* style archive table cells */
/*.archiveTable td {
  padding: 1px;
  vertical-align: center;
  border-style:  solid;
}

/* style table cell in which page title is displayed */
/*.archiveCellTitle:not(.leftAlignTableText) {
  max-width: 300px;
  display:  flex;
  align-items: center;
}

.archiveCellDate {
  text-align: center;
  min-width: 120px;
}

.archiveCellNum {
  text-align: center;
  min-width: 30px;
}

/* style the thumbnails on the archive page */
/*.archiveCellThumb img{
    max-width: 100%;
  }

/* for left aligning the text in a table cell */
/*.leftAlignTableText td {
  text-align: center;
}*/

.archiveRow {
  display:  flex;
  align-items:  center;
  padding:  15px;
}

.archiveRow > img {
  padding-right:  15px;
  border-radius: 12px;
}

.archiveRow > span {
  font-size:  30px;
}

/* highlight a table row and make pointer into hand when moused over */
.archiveChapter:hover {
  background-color: rgba(22, 108, 139, 0.65);
  cursor: pointer;
 
}

/* FOOTER */
footer {
  color: #dbc8e3;
  margin-top: 12px;
  margin-bottom: 15px;
  float: center;
  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;
}

