/* 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-color: #191919; 
}

/* header image */
header img {
  width: 700px;
  max-width: 98%;
}

/* clearfix hack to prevent image overflow. check out the W3Schools page on it. */
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

 .figure {
    position: relative;
    max-width: 98%;
  }
/*FONTS*/

/* header font */
#showComic, header, h1, h2, h3, h4, h5 {
  font-family: "Special Elite", system-ui;
  font-weight: 400;
  font-style: normal;
  text-shadow: 1px 4px 3px rgba(0,0,0,0.74);
  color: #9e1c20;
}

/* body font */
.subPage p, footer, #authorNotes, .archiveTable {
   font-family: "Special Elite", system-ui;
  font-weight: 400;
  font-size: 20px;
  font-style: normal;
  color: #aa7b7c;
}
.subPage ul {
  font-family: "Special Elite", system-ui;
  font-weight: 400;
  font-size: 16px;
  font-style: normal;
  color: #aa7b7c;
}

/* STYLING FOR SUBPAGES (about, characters, etc) */

/*general*/

.row {
  display: flex;
  column-count: 2;
  width:1200px;
  max-width:98%;
  margin:auto;
}

/* Create two equal columns that sits next to each other */
.column {
  padding: 10px;
  flex: 1;
}

.subPage {
  width: 800px;
  max-width: 98%;
  background-color: #191919;
  margin: auto;
  margin-bottom: 20px;
  padding: 0px 12px 12px;
}
/* linkback styling */
.linkback {
  text-align: center;
  }
  
.subPage:not(.archivePage) {
  text-align: justify;
}



/* 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: #9e1c20;
      text-decoration: none;
    transition: all 0.4s;
    }

a:hover {
      color: #ff3333;
      letter-spacing: 3px;
    }

/* HEADER */
header #nav {
  background-color: #191919;
  font-size: 25px;
  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: 70px;
  max-width: 98%;
  padding-right: 30px;
}

/* style comic page image */
.comicPage img {
  width: 1000px;
  max-width: 98%;
}

/* style author notes */
#authorNotes {
  background-color:#191919;
  margin: auto;
  padding: 3px;
  padding-top: 0px;
  width: 600px;
  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: #090909;
  cursor: pointer;
}


#HCB_comment_box{
  font-family: "Special Elite", serif;
  width:900px;
  max-width:98%;
  border-radius: 5px; 
  padding: 10px; 
  margin:auto;
  color:#191919; 
  background: #191919;
  }
.hcb-mod b{
  color:#FCC6BB;
}
#HCB_comment_box textarea,#HCB_comment_box input.text{
  font-family: "Special Elite", serif;
  color:white;
  border: white;
  background-color:#f8f8f8;}
#HCB_comment_box .hcb-wrapper-half{
  display:block;
  width:50%;
  float:left;
  }
#HCB_comment_box .hcb-wrapper{
  clear:both;
  }
#HCB_comment_box input.text{
  display:block;
  width:800px;
  max-width:95%;
  }
#HCB_comment_box submit{
  border-top:1px solid #FCB1A2;
  border-left:1px solid #FCB1A2;
  border-bottom:1px solid #BB2B0F;
  border-right:1px solid #BB2B0F;
  background-color:#F26646;
  color:#000;
  font-family: "Special Elite", serif;
  font-weight:bold;
  cursor:pointer;
  }
#HCB_comment_box div.comment{
  font-family: "Special Elite", serif;
  font-size:20px;
  color:#FDB3A5; 
  background: rgba(0, 0, 0, 0.5); 
  border:3px double #ff3333 ; 
  margin:5px; 
  padding:2px;}
#HCB_comment_box .comment .likes{
  color: #00FF00;
  }
#HCB_comment_box .hcb-link{
  color:#0088AF;
  text-decoration:none;
  } 
/* SLIDESHOW GALLERY SETTINGS */
* {
  box-sizing: border-box;
}

/* Position the image container (needed to position the left and right arrows) */
.gallery {
  margin:auto;
  width:800px;
  max-width:98%;
  position: relative;
  padding: 16px;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 30%;
  width: auto;
  padding: 20px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 40px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;

}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  color:white;
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  font-family: "los-feliz", serif;
  color: #f2f2f2;
  font-size: 14px;
  position: absolute;
  top: 0;
}

/* Container for image text */
.caption-container {
  font-family: "los-feliz", serif;
  color: white;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* 15 columns side by side */
.thumbcolumn {
  float: left;
  width: 6.66%;
}

/* Add a transparency effect for thumnbnail images */
.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

/* FOOTER */
footer {
  color: #9e1c20;
  margin-top: 12px;
  margin-bottom: 15px;
  float: left;
  width: 100%;
  font-size: 14px;
}

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;
}

