/* 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 {
  width:1000px:
  box-sizing: border-box; 
  background: url("/sitelayoutbghexfinsmall.png");
  background-size: cover, contain;
  background-position: center;
  background-repeat: no-repeat;
}

div, main, section, article {
  background-color: transparent; 
  color: #000000;
}

/* universal background color */
body {
  background-color: transparent; 
  color: #000000;
  font-weight: bold;
}

/* clearfix hack to prevent image overflow. check out the W3Schools page on it. */
.clearfix::after {
  content: "";
  clear: both;
  display: table;
  min-width:350px;
  width: 20%;
  height: auto;
  
}

/*FONTS*/

/* header font */
#showComic, header, h1, h2, h3, h4, h5 {
  font-family: "Century Gothic", sans-serif;
}

/* body font */
.subPage p, footer, #authorNotes, .archiveTable {
  font-family: "Century Gothic", sans-serif;
  font-size: large;
}

/* STYLING FOR SUBPAGES (about, characters, etc) */

/*general*/

.subPage {
  width: 98%;
  max-width:1000px;
  background-color: transparent;
  margin: auto;
  margin-bottom: 10px;
}

.subPage:not(.archivePage) {
  text-align: center;
}

/* for pictures displayed to the Right */
.leftPic {
  clear: left;
  float:right;
  margin-left:20px;
  padding-left:20px;
}

/* for pictures displayed to the left */
.rightPic {
  clear: right;
  float:left;
  margin-left:20px;
  padding-right:20px;
}

/* specific to Characters */
.charTable, .charTable td { 
  width: 98%;
}

/* link colors */
a {
      color: #000000;
    }

a:hover {
      color: #DA5437;
    }

/* HEADER */
header #nav {
  background-color: transparent;
  outline: 3px solid #000000
  width: 70%;
  margin: auto;
}

header #navb {
  background-color: transparent;
  display: flex;
  justify-content: center;
  margin: auto;
  width: 80%;
}

header #navb img {
  width: 100%; /* Ensures the image doesn't exceed the width of its container */
  height: auto;    /* Automatically adjusts height to maintain aspect ratio */
  display: block;  /* Helps with centering and layout (optional, but useful) */
  margin: 0 auto;
  max-width:1000px;
  padding-top: 50px;
  padding-bottom: 50px;
}

header #nav img {
  max-height: 40px;
}

/* 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: 100%;
}

/* style author notes */
#authorNotes {
  background-color: transparent;
  margin: auto;
  padding: 3px;
  padding-top: 0px;
  width: 90%;
  max-width: 1000px;
}

/* ARCHIVE PAGE */

/* style table in which archive is displayed */
.archiveTable {
  display: flex;
  width: 90%;
  max-width: 1000px;
  margin: auto;
  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: 350px;
  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 {
  background-color: transparent;
  color: #000000;
  margin-top: 15px;
  margin-bottom: 15px;
  padding-top: 5px;
  padding-bottom: 50px;
  float: left;
  width: 100%;
  font-size: 12px;
}

footer p {
  margin: auto;
}

/* take away margins from the edges of the screen */
html, body {
  margin: 0;
}

.containdisqus {
    padding: 100px;
  }