html,
html:before {
  --s: 100px; /* control the size */
  --c1: #1adab0;
  --c2: #44c4a4;
  
  background:
    radial-gradient(25% 50%,var(--c1) 98%,#0000)
     var(--s) 0/calc(2*var(--s)) var(--s),
    radial-gradient(25% 50%,var(--c2) 98%,#0000)
     0 0/calc(2*var(--s)) var(--s),
    repeating-conic-gradient(var(--c1) 0 25%,var(--c2) 0 50%) 
     0 0/calc(2*var(--s)) calc(2*var(--s));
  animation: g1 700s linear infinite;
}
html:before {
  content:"";
  position: fixed;
  z-index: -1;
  inset: 0;
  -webkit-mask: linear-gradient(#0000 50%,#000 0) 0 0/100% calc(2*var(--s));
  animation-direction: reverse;
}
@keyframes g1{
  to {background-position: calc(3*var(--s)) 0,calc(2*var(--s)) 0,calc(2*var(--s)) 0}
}


@keyframes m {
  to {
    background-position:
      var(--s) 0,
      calc(var(--s)/-2) calc(3*var(--s)/4),
      calc(3*var(--s)/2) 0,
      calc(-1*var(--s)) calc(3*var(--s)/4),
      0 0
  }
}



/* 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 {
 
}

/* header image */
header img {
  width: auto;
  max-width: 98%;
}

header img.sporty-head {
  width: 200px;
}

/* clearfix hack to prevent image overflow. check out the W3Schools page on it. */
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

/*FONTS*/
@font-face {
    font-family: 'Olde Tome';
    src: url('/fonts/OldeTome.woff2') format('woff2'),
        url('/fonts/OldeTome.woff') format('woff'),
        url('/fonts/OldeTome.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pixuf';
    src: url('/fonts/Pixuf.woff2') format('woff2'),
        url('/fonts/Pixuf.woff') format('woff'),
        url('/fonts/Pixuf.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Salmon Typewriter 9';
    src: url('/fonts/SalmonTypewriter9Regular.woff2') format('woff2'),
        url('/fonts/SalmonTypewriter9Regular.woff') format('woff'),
        url('/fonts/SalmonTypewriter9Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'monogram';
    src: url('f/onts/monogram.woff2') format('woff2'),
        url('/fonts/monogram.woff') format('woff'),
        url('/fonts/monogram.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BoldPixels';
    src: url('/fonts/BoldPixels.woff2') format('woff2'),
        url('/fonts/BoldPixels.woff') format('woff'),
        url('/fonts/BoldPixels.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}






/* comic title i hope */
.writePageTitle h1{
  font-family: 'BoldPixels';
  font-size: 40px;
  color: white;
  text-shadow: -2px -1px 0 #000, 2px -1px 0 #000,-2px 1px 0 #000, 2px 1px 0 #000;
}

/* header font */
#showComic, header, h1, h2, h3, h4, h5 {
  font-family: 'Salmon Typewriter 9';
}

/* body font */
.subPage p, #authorNotes, .archiveTable {
  font-family: 'Salmon Typewriter 9';
  font-size: 15px;
  background-color: #BD806C;
}

/* STYLING FOR SUBPAGES (about, characters, etc) */

/*general*/

.subPage {
  width: 1000px;
  max-width: 98%;
  background: radial-gradient(circle at top left,transparent 25%,#BD806C 25.5%, #BD806C 36%, transparent 37%, transparent 100%),radial-gradient(circle at bottom right,transparent 34%,#BD806C 34.5%, #BD806C 45.5%, transparent 46%, transparent 100%);
  background-size: 3em 3em;
  background-color: #c8997b;
  box-shadow: -5px 5px #318a74;
  outline: 3px solid #000000;
  margin: auto;
  margin-bottom: 10px;
  padding: 0px 12px 12px;
}

.subPage:not(.archivePage) {
  text-align: center;
}

/* 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: #000000;
    }

a:hover {
      color: #1adab0;
    }

/* HEADER */
header #nav {
  background: radial-gradient(circle at top left,transparent 25%,#BD806C 25.5%, #BD806C 36%, transparent 37%, transparent 100%),radial-gradient(circle at bottom right,transparent 34%,#BD806C 34.5%, #BD806C 45.5%, transparent 46%, transparent 100%);
  background-size: 2em 2em;
  background-color: #c8997b;
  box-shadow: -5px 5px #318a74;
  outline: 3px solid #000000;
  font-size: 20px;
  width: 800px;
  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: 80px;
  max-width: 98%;
  padding-right: 30px;
}

/* style comic page image */
.comicPage img {
  width: 900px;
  max-width: 98%;
}

/* style author notes */
#authorNotes {
  background: radial-gradient(circle at top left,transparent 25%,#BD806C 25.5%, #BD806C 36%, transparent 37%, transparent 100%),radial-gradient(circle at bottom right,transparent 34%,#BD806C 34.5%, #BD806C 45.5%, transparent 46%, transparent 100%);
  background-size: 2em 2em;
  background-color: #c8997b;
  box-shadow: -5px 5px #318a74;
  outline: 3px solid #000000;
  margin: auto;
  padding: 3px;
  padding-top: 0px;
  width: 900px;
  max-width: 98%;
}

#authorNotes p {
  font-family: 'monogram';
  font-size: 28px;
  background-color: #BD806C;
}

#authorNotes h2 {
  font-family: 'Salmon Typewriter 9';
  font-size: 17px;
}

/* 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: #318a74;
}

/* FOOTER */
footer {
  color: #421a1a;
  margin-top: 12px;
  margin-bottom: 15px;
  float: left;
  width: 100%;
  font-size: 12px;
}

footer p {
  color: black;
  margin: auto;
}

footer a {
  color: #000000
}

footer a:hover {
  color: #318a74
}

/* take away margins from the edges of the screen */
html, body {
  margin: 0;
}




























#section3 midi-player {
  display: block;
  
  width: 800px;
    padding: 6px;
    margin: 10px auto;
}
#section3 midi-player::part(control-panel) {
    box-shadow: -5px 5px #318a74;
    background: radial-gradient(circle at top left,transparent 25%,#BD806C 25.5%, #BD806C 36%, transparent 37%, transparent 100%),radial-gradient(circle at bottom right,transparent 34%,#BD806C 34.5%, #BD806C 45.5%, transparent 46%, transparent 100%);
    background-size: 3em 3em;
    background-color: #c8997b;
    opacity: 1;
  border: 4px solid #000;
  border-radius: 0px 0px 0 0;
}
#section3 midi-player::part(play-button) {
  color: #279e7a;
  border: 2px solid currentColor;
  background-color: #15f3b0;
  border-radius: 20px;
  transition: all 0.2s;
  content: 'hello';
}
#section3 midi-player::part(play-button):hover {
  color: #c85523;
  background-color: #ee733e;
  border-radius: 10px;
}
#section3 midi-player::part(time) {
  font-family: tiny5;
}


/* Custom cursor + trail */
* {
  cursor: url('/images/cursor_shiny.png') 0 0, auto;
}

.cursor-trail {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  z-index: 9999;
  will-change: transform, opacity;
  opacity: 0.9;
  transform-origin: 0 0;
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}