/* 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 {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-color: black;
  font-family: Garamond;
}

body.amalgama {
  background-image: linear-gradient(to bottom, #716296, #2A163B);
  background-color: #716296;}

center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

/* pink link */
a.class1 {color:#BA3687;}
a.class1:link  {text-decoration: none; color: #BA3687;}
a.class1:visited {text-decoration: none; color: #BA3687;}
a.class1:hover {text-decoration: underline; color: #F0AF35;}
a.class1:active {text-decoration: none; color: #BA3687;}


/* lime link */
a.class2 {color: #A6E381;}
a.class2:link {text-decoration: none; color: #A6E381;}
a.class2:visited {text-decoration: none; color: #A6E381;}
a.class2:hover {text-decoration: underline; color: #F0AF35;}
a.class2:active {text-decoration: none; color: #A6E381;}

/* amalgama link */
a.class3 {color: black;}
a.class3:link {text-decoration: none; color: black;}
a.class3:visited {text-decoration: none; color: black;}
a.class3:hover {text-decoration: none; color: #BA3687;}
a.class3:active {text-decoration: none; color: black;}
    
.pink {
  color: #BA3687;
}

.lime {
  color: #A6E381;
}

.orange {
  color: #F0AF35;
}

.lilac {
  color: #AD97C2;
}

/* bellow is the rarebit code for setting up the comics...

body, div, main, section, article {
  box-sizing: border-box; 
} */


/* header image */
header img {
  width: 500px;
  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, h1, h2, h3, h4, h5 {
  font-family: "Oldenburg", serif;
  font-weight: 400;
}

/* body font */

.subPage p, footer, #authorNotes, .archiveTable {
  font-family: "Caudex", serif;
  font-weight: 400;
  font-style: normal;
  font-size: large;
}

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

/*general*/

.subPage {
  width: 1000px;
  max-width: 98%;
  background-color: #ffffff;
  outline: 3px solid #000000;
  margin: auto;
  margin-bottom: 10px;
  padding: 0px 12px 12px;
}

.subPage:not(.archivePage) {
  text-align: center;
}

.archiveHeader {
  text-align: start;
}

/* 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;
}

/* this bellow is for the character page grid. It's a grid for images that will be links */

.castTable {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 90px;
  max-width: 900px;
  margin: auto;
  padding: 40px;
}

.cast-item img {
  overflow: hidden;
  border-radius: 10px;
  width: 100%;
  height: auto;
  display: block;
}
  


/* specific to Characters
/*.charTable, .charTable td { 
/*  width: 100%;
/*}*/

/* link colors
/* a {
/*       color: #000000;
    }

a:hover {
      color: #BA1E71;
    } */

/* HEADER */
header #nav {
  font-size: 20px;
  width: 98%;
  margin: auto;
}
/*  background-color: #ffffff;
/*  outline: 3px solid #000000;
  font-size: 20px;
  width: 98%;
  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: 80px;
  max-width: 98%;
  padding-right: 30px;
}

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

/* style author notes */
/*#authorNotes {
 /* background-color:#ffffff;
  /*outline: 3px solid #000000;
  /*margin: auto;
  /*padding: 3px;
  /*padding-top: 0px;
  /*width: 900px;
  /*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: #F57FC6;
  cursor: pointer;
}

.hidden {
  display: none;
}

/* FOOTER */
footer {
  color: black;
  margin-top: 12px;
  margin-bottom: 15px;
  float: left;
  width: 100%;
  font-size: 12px;
}

footer p {
  margin: auto;
}

footer a {
  color: black
}

footer a:hover {
  color: black
}

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