/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
  background: #000000;
}
::-webkit-scrollbar-thumb {
  background-color: #FFFFFF;
  -webkit-border-radius: 1ex;
}

/* Dark Mode Styling */
@media (prefers-color-scheme: dark) {
  :root {
    --text: white;
    --border: #000000;
    --accent: #74C365;
    --bg: rgb(0, 60, 60, .8);
    a:link {
      color: lightblue;
    }
  }

  header {
    font-family: Heartless;
    src: url('Heartless.ttf');
    background: url('***dark mode banner image***');
  }
}

/* General Styling */
* {
  box-sizing: border-box;
}

/* background image*/
body {
  padding: 10px;
  font-family: 'W95font';
  font-size: 10px;
  color: var(--text);
  background-color: var(--gradientTop);
  background-image: url('https://frankenbrax.neocities.org/images/backgrounds/050.GIF');
  background-repeat: repeat;
}


}

/* Container Styling */
.container {
  max-width: 55rem;
  margin: 5vw auto 12px auto;
  border: 6px ridge var(--border);
  outline: 3px solid #FFFFFF;
  outline-offset: 4px;
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  padding: 5px;
  gap: 5px;
  background-color: #000000;
}

/* Column Widths */
.small {
  flex: 1 1 9%;
}
.large {
  flex: 1 1 82%;
}
.full {
  flex: 1 1 100%;
}
.half {
  flex: 1 1 49%;
}

/* Header Styling */
header {
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 80px; /* change banner height here */
  border: 2px solid #000000;
  border-radius: 5px;
  text-align: center;
}
header span {
  font-size: 7.5em;
  bottom: 0;
  width: 100%;
  right: 10px;
  margin: 10px;
  text-shadow: 1px 1px var(--text),
    -1px 1px white,
    1px -1px black,
    -1px -1px #000000;
  color: #FFFFFF;
  text-align: center;
}
header a:hover {
  text-shadow: -3px 0 red, 0 3px blue;
}

/* Navigation Styling */
nav {
  border: 2px ridge var(--border);
  border-radius: 5px;
  padding: 5px;
  background: #000000;
}
nav div {
  text-align: center;
  font-size: 1.25rem;
  margin: 5px 5px 10px 5px;
}
nav a {
  display: block;
  margin: 5px;
  background: linear-gradient(to right, var(--bg), var(--gradientBottom));
  border-radius: 5px;
  padding: 2px 7px;
  text-decoration: none;
}
nav a:link,
nav a:visited {
  color: white;
}
nav a:hover,
nav a:focus {
  text-shadow: -3px 0 red, 0 3px blue;
}

/* Optional Button Styling */
div.small > img {
  display: block;
  margin: 5px auto;
  border: 2px ridge var(--border);
  border-radius: 5px;
}

/* Section Styling */
section {
  border: 2px ridge var(--border);
  border-radius: 5px;
  background: linear-gradient(var(--gradientTop), var(--gradientBottom));
  padding: 5px;
}

/* Footer Styling */
footer {
  text-align: center;
  margin-bottom: 5vw;
  font-size: 0.8rem;
}
footer a {
  text-decoration: none;
}

/* Typography Styling */
h1, h2, h3, h4, h5, h6, p {
  margin: 5px;
  line-height: 1.2;
}
h1 {
  font-family: 'Jacquard 24';
  font-size: 1.2rem;
  letter-spacing: 2px;
  font-weight: normal;
  text-align: center;
  border-bottom: 2px ridge var(--border);
  padding-bottom: 5px;
}
h2 {
  font-size: 1.25rem;
  font-weight: normal;
  text-align: center;
}
h3 {
  font-size: 1.1rem;
  text-align: center;
}
h4 {
  text-align: center;
  font-size: 1rem;
  color: var(--accent);
  padding-left: 12px;
}

/* Prevent Overflow on Smaller Screens */
img {
  max-width: 100%;
}
pre {
  overflow-x: auto;
}

/* Link Styling */
a:hover,
a:focus {
  text-shadow: -2px 0 #ff6666, 0 2px #8cbef3;
  transition: all .3s ease-in-out;
  text-blur: .5px;
}
a:visited {}
