/* 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." */
   
   /*
   font-family: 'Alegreya Sans', sans-serif;
font-family: 'Alice', serif;
font-family: 'Inknut Antiqua', serif;
font-family: 'Macondo Swash Caps', cursive;   
   */

@import url('https://fonts.googleapis.com/css2?family=Alegreya+Sans:ital,wght@0,300;0,500;0,800;1,300;1,500;1,800&family=Alice&family=Inknut+Antiqua:wght@400;600;800&family=Macondo+Swash+Caps&display=swap');

body, div, main, section, article {
  box-sizing: border-box; 
}

/* universal background color */
body {
  font-family: 'Alegreya Sans', sans-serif;
  background-color: #000000; 
  color:white;
}

/* header image */
header img {
  width: 600px;
  max-width: 98%;
}

/* 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 {
    font-family: 'Macondo Swash Caps', cursive;
	font-size: 20px;
	color:black;
	letter-spacing: 1px;
}

h1 {
font-family: 'Inknut Antiqua', serif;
  letter-spacing: 1px;
  color:#c6d4ff;	
	
}

h2, h3, h4, h5 {
font-family: 'Alice', serif;
  letter-spacing: 1px;
  color:white;
}

/* body font */
.subPage p, footer, .archiveTable {
font-family: 'Alegreya Sans', sans-serif;
  font-size: large;
}

#authorNotes h1{
color:black;
}

/* STYLING FOR SUBPAGES (about, characters, etc) */

/*general*/

.subPage {
  width: 1000px;
  max-width: 98%;
  background-color: #2b2a41;
  /*outline: 3px solid #000000; */
  margin: auto;
  margin-bottom: 10px;
    padding: 10px;
  padding-top: 5px;
}

.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: #c6d4ff;
	  text-decoration:none;
    }

a:hover {
      color: #ff9800;
    }

/* HEADER */
header #nav {
	display:inline-block;
	margin-left: 0.1em;
  margin-right: 0.1em;
  background-color: #ffd251;
  /*outline: 3px solid #000000;*/
  font-size: 20px;
  width: 98%;
  margin: auto;
}

header a {
  font-family: 'Corben', cursive;
    color:#2b2a41;
}

/* HOMEPAGE */

/* style nav button images */
.comicNav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  padding: 10px 0px;
  font-family: 'Macondo Swash Caps', cursive;
  font-size:35px;
}
.comicNav img {
  width: 80px;
  max-width: 98%;
  padding-right: 30px;
}

/* style comic page image */
.comicPage img {
  width: 900px;
  max-width: 98%;
}

/* style author notes */
#authorNotes {
  background-color:#324b8d;
  color:white;
  /*outline: 3px solid #000000;*/
  margin: auto;
  padding: 10px;
  padding-top: 5px;
  width: 900px;
  max-width: 98%;
}

#authorNotes h1 {
	font-family: 'Inknut Antiqua', serif;
  letter-spacing: 1px;
  color:#2b2a41;
}

#authorNotes a {
color:black;
	text-decoration:none;
}

#authorNotes a:hover {
color: white;
	text-decoration:none;
}

/* 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: #2b2a41;
  cursor: pointer;
}

/* FOOTER */
footer {
  color: white;
  margin-top: 12px;
  margin-bottom: 15px;
  float: left;
  width: 100%;
  font-size: 12px;
}

footer p {
  margin: auto;
}

footer a {
  color: #c6d4ff
}

footer a:hover {
  color: #ff9800
}

/* take away margins from the edges of the screen */
html, body {
  margin: 0;
}

