body, div, main, section, article {
  box-sizing: border-box; 
}

/* universal background color */
body {
  background: #E9E4D2 url(../assets/background.jpg); 
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* header image */
header img {
  width: 350px;
  max-width: 98%;
}

/* clearfix hack to prevent image overflow. check out the W3Schools page on it. */
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}
b {
  font-family: CharlieTypeHeavy;
  font-weight: normal;
}

/* header font */
#showComic, #pgNumStyle, #pgTitleStyle, header, h1, h2, h3, h4, h5 {
  font-family: 'Elegantile', "Arial Narrow";
  font-weight: normal;
  color: black;
}

#showComic { padding-top:5px; }co

#title {
  line-height: 105px;
}

/* body font */
.subPage p, footer, #authorNotes, .archiveTable, ul, li {
  font-family: 'CharlieType', Arial;
  font-size: 140%;
  color: black;
}

ul {
	margin: auto;
}

li {
	font-size: 100%;
}

h1 {
  font-size: 700%;
  margin-block-start: 0.3em;
  margin-block-end: 0.3em;
  line-height: 0.8em;
  text-decoration-line: overline underline;
  text-decoration-style: solid;
  text-decoration-thickness: 5px;
  text-underline-offset: 10px;
  text-align: center;
}

@media screen and (max-width: 920px) {
  h1 {
    line-height: 0.94em;
  }
}
@media screen and (max-width: 610px) {
  h1 {
    font-size: 400%
  }
  #title {
  line-height: 66px;
  }
  
  body {
    background: #E9E4D2;
  }
}

h2 {
  font-size: 75px;
  margin-block-start: 0.5em;
  margin-block-end: 0.3em;
  line-height: 0.8em;
  text-align: center;
}

h3 {
  font-size: 300%;
  margin-block: 0.3em;
  text-align: center;
}

/* this is for the number in archive */
#pgNumStyle {
  font-size: 50px;
}

#pgTitleStyle {
  font-size: 40px;
}

/* STYLING FOR SUBPAGES (about, characters, etc) */

/*general*/

.subPage:not(.archivePage) {
  text-align: left;
} 

#char {margin: 0.5em auto;}
#char2 {margin: 0.5em auto 0.05em auto;}
#char3 {font-size: 250%; margin: auto;}
.charPic {max-width: 100%;}

.beegbutton {
  border-radius: 20px;
  display: inline-block;
  padding: 10px;
  font-family: CharlieType, Arial, sans-serif;
  font-size: 175%;
  font-weight: bold;
  background-color: #DF4A2F;
  color: #E9E4D2;
  cursor: pointer;
  width: 45%;
  
  transition: all .2s ease-in-out
}
.beegbutton:hover {
  border-radius: 20px;
  width: 40%;

  transform: scale(1.1);
}

/* link colors */ 
a {
      text-decoration: none;
      color: #DF4A2F;
	  cursor: pointer;
    }

a:hover {
	text-decoration-line: underline;
}

/* HEADER */
header #nav {
    background-color: black;
    font-size: 50px;
    margin: auto;
    margin-block-end: 2%;
    line-height: 0.9em;
    padding: 0.2em 0 0.2em 0;
}

header a {
      color: #E9E4D2;
    }

header a:hover {
      color: #FFFFFF;
	  text-decoration: none;
    }

/* FOOTER */
footer {
  color: black;
  margin-top: 20px;
  margin-bottom: 25px;
  padding-block-start: 1em;
  float: left;
  width: 100%;
  font-size: 20px;
}

footer p {
  margin: auto;
}

/* take away margins from the edges of the screen */
html, body {
  margin: 0;
}

/* resizable youtube container */
.youtube-video-container {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.youtube-video-container::after {
  display: block;
  content: "";
  padding-top: 56.25%;
}

.youtube-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

btext {
  font-size: 200%;
  font-family: Elegantile;
}