/* hi there! please credit me @ goldenfreddy.neocities.org if you copy any of the coding here! thanks :) */

* {
  box-sizing: border-box;
  word-break: break-word;
}

:root {
  cursor: url(""), auto;
  font-family: "Squishycat";
  color: cyan;
  height: 94vh;
  width: 100%;
  cursor: url("/images/cursor.png"), auto;
  text-align: center;
  background-color: black;
}

@font-face {
  font-family: "Squishycat";
  src: url("/fonts/Squishycat.otf")format("opentype");
}

body {
  background: linear-gradient(180deg,rgba(51, 80, 84, 1) 0%, rgba(0, 0, 0, 1) 100%);
  background-repeat: no-repeat;
  background-color: black;
}

::selection {
  background: RGBA(150, 50, 255, 0.4);
}

hr {
  border: rgba(0, 255, 255, 0.25) 3px;
  border-style: dashed none none none;
	width: 85%;
	margin: 15px auto;
}

a, a:link {
  color: blue;
  transition: color .5s ease-out;
  cursor: url("/images/cursor.png"), auto;
}

a:hover {
  transition: 0s;
  color: #2ec0ff;
  cursor: url("/images/cursorB.png"), auto;
}

h1 {
  letter-spacing: 2px;
  color: cyan;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

/*general*/

.subPage {
  display: block;
  color: white;
  width: 1000px;
  max-width: 98%;
  height: 80vh;
  border: solid white 2px;
  background-color: black;
  margin: 30px auto 20px auto;
  padding: 10px 15px;
  box-shadow: 0px 10px 40px 3px rgba(140, 188, 201, 0.4), inset 0px -10px 20px 10px rgba(111, 113, 170, 0.3);
  overflow-y: auto;
  overflow-x: hidden;
}

/* 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%;
}

header #nav {
  color: cyan;
  border-bottom: dashed teal 2px;
  background-color: black;
  width: 100%;
  padding: 12px 0 8px 0;
  letter-spacing: 2px;
  word-spacing: 5px;
  font-size: 26px;
  line-height: 25px;
  margin-bottom: -8px;
}

.comicNav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  padding: 0px;
}

.comicNav img {
  width: fit-content;
}

/* style comic page image */
.comicPage img {
  min-height: 70vh;
  width: fit-content;
  border: solid white 3px;
  box-shadow: 0px 10px 30px 3px rgba(140, 188, 201, 0.4), inset 0px -10px 20px 10px rgba(111, 113, 170, 0.3);
  margin: 15px 0;
  overflow-y: auto;
  overflow-x: hidden;
}

/* style author notes */
#authorNotes {
  color: white;
  border: solid white 2px;
  background-color: black;
  font-size: 21px;
  line-height: 25px;
  margin: auto;
  padding: 10px 40px;
  width: 900px;
  max-width: 98%;
  height: 80vh;
  margin-top: 20px;
  box-shadow: 0px 10px 30px 3px rgba(140, 188, 201, 0.4), inset 0px -10px 20px 10px rgba(111, 113, 170, 0.3);
  overflow-y: auto;
  overflow-x: hidden;
}

/* 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;
}

.archiveCellDate {
  min-width: 120px;
}

.archiveCellNum {
  min-width: 30px;
}

/* style the thumbnails on the archive page */
.archiveCellThumb {
    width: 500px;
    max-width: 60px;
}

.archiveCellThumb img{
    max-width: 100%;
}

.archiveRow:hover {
  background-color: #DA5437;
  cursor: pointer;
}

footer {
  position: absolute;
  bottom: 0;
  color: cyan;
  margin-top: 12px;
  margin-bottom: 7px;
  float: left;
  width: 100%;
  border-top: dashed teal 2px;
  background-color: black;
  letter-spacing: 2px;
  word-spacing: 5px;
  font-size: 16px;
  line-height: 15px;
}

footer p {
  margin: auto;
  margin-top: 10px;
}

header #nav a, footer a {
  color: teal;
  text-decoration: none;
}

header #nav a:hover, footer a:hover {
  color: cyan;
}

/* take away margins from the edges of the screen */
html, body {
  margin: 0;
}

/* ================================================== CUSTOM SCROLLBAR ================================================== */

*::-webkit-scrollbar { /* size of the bar */
  height: 12px;
  width: 12px;
}

*::-webkit-scrollbar-track { /* background of the bar */
  border-radius: 0;
  background-color: #484848;
  border: solid white 5px;
}

*::-webkit-scrollbar-track:hover, *::-webkit-scrollbar-track:active { /* background extras */
  background-color: #484848;
}

*::-webkit-scrollbar-thumb { /* the actual scroll bar */
  border-radius: 0;
  background-color: #484848;
  border: solid white 2px;
}

*::-webkit-scrollbar-thumb:hover, *::-webkit-scrollbar-thumb:active { /* the actual scroll bar extras */
  background-color: #bfbfbf;
}