/* 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-image: url("https://olivia-stephens.com/portfolio_background1.png");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
 background-size: cover;
 background-color:#9f3736;
 background-blend-mode: multiply;
 
}

/* 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;
}


/*FONTS*/

/* header font */
#showComic, header, h1, h2, h3, h4, h5 {
  font-family: "New Rocker", system-ui;
  font-weight: 400;
  font-size:30px;
  font-style: normal;
  text-shadow: 1px 4px 3px rgba(0,0,0,0.74);
  color: #cf2a29;
}

/* body font */
.subPage p, footer, #authorNotes, .archiveTable {
   font-family: "New Rocker", system-ui;
  font-weight: 400;
  font-size: 20px;
  font-kerning: normal;
  font-style: normal;
  text-shadow: 1px 4px 3px rgba(0,0,0,0.74);
  color: #cf2a29;
}

.new-rocker-regular {
  font-family: "New Rocker", system-ui;
  font-weight: 400;
  font-style: normal;
}


/* STYLING FOR SUBPAGES (about, characters, etc) */

/*general*/

.subPage {
  width: 1200px;
  max-width: 98%;
  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: #ffffff;
      text-decoration: none;
    transition: all 0.4s;
    }

a:hover {
      color: #cf2a29;
      letter-spacing: 3px;
    }

/* HEADER */
header #nav {
  font-size: 30px;
  width: 98%;
  margin: auto;
  padding: 20px;
}

/* 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%;
}


/* 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;
}

/* LIGHTBOX SETTINGS BELOW */
* {
  box-sizing: border-box;
}

.row {
  margin: auto;
  width:1200px;
  max-width:98%;
}

.row > .column {
  padding: 8px;
  
}

.row:after {
  content: "";
  display: table;
  clear: both;
  
}

.column {
  float: left;
  width: 20%;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 800px;
  max-width: 98%;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.mySlides {
  display: none;
}

.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  background-color:black;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  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 {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

img {
  margin-bottom: -4px;
}

.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
