/*-- FONTS --*/
@import url('https://fonts.googleapis.com/css2?family=Silkscreen&family=Bitcount+Prop+Double:wght@100..900&family=Bitcount+Prop+Single:wght@100..900&family=Cormorant:ital,wght@0,300..700;1,300..700&family=Josefin+Slab:ital,wght@0,100..700;1,100..700&family=Cabin+Sketch&family=DotGothic16&display=swap');

.default {
    --FRAMMYJAMMY: #FC53BD;
    --container-color: #22233C;
    --text-color: #f265c8;
    --background-color: #14152A;
    --link-color: #51efef;
    --link-hover: #f4e538;
    --header-colors: #F1FF44;
    --border-color: #000;
    --navi-color: #726BC0;
    --navi-hover: #FC53BD;
    --copy-right: #3C3962;
    --date-time: #5c56a3;
    --selection-color: #7451e8;
    --active-color: #625CDB;
    --shadow-color: #000;
    --inact-text-color: #a3a3a3;
    --inact-bg-color: #585460;
    --highlight-color: #36385e;
    --background-blend-mode: overlay;
}

body, div, main, section, article {
  box-sizing: border-box; 
}

body {
  background-color: var(--background-color); 
}

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: 'Bitcount Prop Double', system-ui;
}

/* body font */
.subPage p, footer, #authorNotes, .archiveTable {
  font-family: 'Bitcount Prop Single', system-ui;
  font-size: large;
}

/* STYLING FOR SUBPAGES (about, characters, etc) */

/*general*/

.subPage {
  width: 1000px;
  max-width: 98%;
  color: var(--text-color);
  background-color: var(--container-color);
  outline: 3px solid #000000;
  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: var(--link-color);
    }

a:hover {
      color: var(--link-hover);
    }

/* HEADER */
header #nav {
  text-align:center;
  background-color: var(--container-color);
  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: 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: #DA5437;
  cursor: pointer;
}

/* FOOTER */
footer {
  color: var(--header-colors);
  margin-top: 12px;
  margin-bottom: 15px;
  float: left;
  width: 100%;
  font-size: 12px;
}

footer p {
  margin: auto;
}

footer a {
  color: var(--link-color);
}

footer a:hover {
  color: var(--link-hover);
}

/* take away margins from the edges of the screen */
html, body {
  margin: 0;
}

