/* LICENSE: https://jayswxpage.neocities.org/license.txt */

@font-face {
  font-family: "Monaspace Neon";
  src: url("fonts/MonaspaceNeon/MonaspaceNeon-Regular.otf");
  font-weight: 400;
  font-style: normal;
 }

@font-face {
  font-family: "Monaspace Neon";
  src: url("fonts/MonaspaceNeon/MonaspaceNeon-Italic.otf");
  font-weight: 400;
  font-style: italic;
 }

@font-face {
  font-family: "Monaspace Neon";
  src: url("fonts/MonaspaceNeon/MonaspaceNeon-Bold.otf");
  font-weight: 700;
  font-style: bold;
 }

 @font-face{
  font-family: "Monaspace Radon";
  src: url("fonts/MonaspaceRadon/MonaspaceRadon-Regular.otf");
  font-weight: 400;
  font-style: normal;
 }

@font-face{
  font-family: "Monaspace Radon";
  src: url("fonts/MonaspaceRadon/MonaspaceRadon-Italic.otf");
  font-weight: 400;
  font-style: italic;
 }

 @font-face{
  font-family: "Monaspace Radon";
  src: url("fonts/MonaspaceRadon/MonaspaceRadon-Bold.otf");
  font-weight: 700;
  font-style: bold;
 }


body {
  color: #edf2ed;
  background: #530b58;
  font-family: "Monaspace Neon";
  font-style: normal;
  font-size: 1rem;
  }
  
a {
  color: inherit;
  font-weight: bold;
  }
  
a:focus {  
  outline: 2px solid #cf16cf;
  }
  
hr {
  border-color: #331364;
  margin: 1.75rem 1.5rem;
  }
  
blockquote {
  border: 3px solid;
  border-color: #000000;
  background: #4a2e55;
  color : #edf2ed;
  margin: 0.1rem 0.5rem;
  padding: 0.75rem 0.75rem;
  font-family: "Monaspace Radon"
  }

/* Main container; all content goes in here. */  
.wrapper {
  margin: 2rem 10rem;
  }

/* Top section with page title, optional description.*/
.header {
  padding: 0 0.25rem 0.75rem 0.25rem;
  }
  
.header h1 {
  margin: 0.15em 0;
  font-weight: bold;
  }
  
.header p {
  font-size: 0.95em;
  }
  
/* The navbar of tabs. The illusion of a tab connecting into the main box is created by
 * giving the nav tab links an extra thick bottom border that covers the top border of
 * the main content box, and making the "current" tab's bottom border the same color
 * as the inside of the box. 
 * Some padding trickery is needed to maintain this illusion without weird janky corner
 * bits being visible, so if you change the border thickness, BE AWARE you may need to
 * fiddle with this to make everything look nice again. 
 */
.navigation {
  margin-bottom: -2px; /* cover the top border of the main box */
  margin-left: 1rem; /* so the leftmost tab, if selected, doesn't create a weird border gap at the side. */
  }
  
.navigation a {
  color: #edf2ed;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1.05rem; /* our padding trick makes buttons weirdly tall, so this helps fix it */
  }
  
.nav-button {
  background: #0b1516;
  padding: 0.35em 1.5em 0em 1.5em;
  border-radius: 15px 3px 0 0;
  display: inline-block;
  text-align: center;
  border-bottom: 4px solid #0b1516;
  }
  
/* For the link to the page you're currently on. */
.navigation .current-page {
  background: #d5b3de;
  color: #0b1516;
  border: 2px solid #0b1516;
  border-bottom: 4px solid #d5b3de;
  margin-bottom: -2px; /* fiddly trickery to make the 'tab connecting to main' illusion work. */
  padding-top: 6px;
  padding-bottom: 2px;
  border-radius: 15px 3px 5px 5px; /* round bottom corners to minimize visibly janky edges */
  }
  
.nav-button:focus-within {
  outline: 2px solid #9e59d2;
  color: #e9b1ff;
  background: #490051;
  border-bottom-color: #490051;
  }
  

/* The main content of the page goes in here. */
.main {
  border: 2px solid #0b1516;
  border-radius: 2px 10px 2px 2px;
  overflow: hidden; /*so background doesn't overflow corners*/
  }
  
.main a {
  color: #102323;
  }
    
.main-inner {
  background: #edf2ed;
  color: #311239;
  background: linear-gradient(#d6b3de 0px, #edd1f3 150px);
  padding: 0.25rem 1.5rem 1rem 1.5rem;
  display: block;
  }
  
/* Prevent large image overflow. */
.main-inner img {
  max-width: 100%;
  height: auto;
  }
  

/*Text outside the box, at the bottom of the page.*/
.footer {
  font-size: 0.9em;
  text-align: center;
  }


/* For narrower screens. */
@media (max-width: 1280px) {
  .wrapper {
    width: 80%;
    margin: 1.5rem auto;
    }
  }

@media (max-width: 800px) {
  .wrapper {
    width: 87%;
    margin: 1rem auto;
    }
  }
  
/* Rearrange into column format for mobile. */
@media (orientation: portrait), (max-width: 750px) {
  .wrapper {
    width: 95%;
   }
   
  .header {
    padding-bottom: 1px;
    }
   
  .navigation {
   margin: 0;
   }
   
   /* Since the 'tab' look doesn't work in a vertical layout, undo our fiddly padding/border tricks and do something more normal instead. */
  .nav-button {
    font-size: 1.05em;
    text-align: center;
    display: block;
    padding: 0.5rem 1.5rem;
    margin: 0.375rem 0;
    border-radius: 5px;
    }
  
  .navigation .current-page {
    border-bottom: 2px solid #0b1516;
    margin-bottom: 0.375rem;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    }
  
  .main {
    border-radius: 2px; 
    }
  }
  
/* Alternate color scheme for browsers preferring dark mode. 
 * If you change the color scheme and don't care to maintain this,
 * just remove this media query section. */
@media (prefers-color-scheme: dark) {
  body {
    background: #211728;
    color: #e0b0ff;
    }
    
  .nav-button {
    background: #3b0068;
    border-bottom: 4px solid #3b0068;
    }
    
  .navigation .current-page {
    background: #241431;
    color: #edf2ed;
    border: 2px solid #9e59d2;
    border-bottom: 4px solid #9e59d2;
    }
    
  /* Buttons display slightly differently on mobile -- make sure the border colors are correct! */
  @media(orientation: portrait), (max-width:750px) {
    .navigation .current-page {
      border-bottom: 2px solid #9e59d2;
      }
    }
  
  .main {
    border: 2px solid #9e59d2;
    }
    
  .main-inner {
    background: #09120a;
    color: #edf2ed;
    background: linear-gradient(#3d2b42 0px, #25122a 150px);
    }
    
  .main-inner a {
    color: #b652d1;
    }
}

.marquee {
  width: 100%;
  height: 2em;
  font-family: "Monaspace Radon";
  font-size: 1.25em;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.marquee span {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 22s linear infinite;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}