:root {
  --text: white;
  --border: #c2c2c2;
  --accent: #cccaca;
  --bg: #392518;
  --gradientTop: #636262;
  --gradientBottom: #333333;
}
header {
  background: url("https://nogginzmart.neocities.org/catbox%20aint%20working/landing/c7f70399c134767294296809cb2132bf.jpg");
}
* {
  box-sizing: border-box;
}
body {
  padding: 10px;
  font-family: "Pixelify Sans", sans-serif;
  color: var(--text);

  /* page background pattern */
  background-image: url("https://nogginzmart.neocities.org/catbox%20aint%20working/landing/a36bd04879c57db6b64b5ecc50d97ad1.jpg");
  background-size: 100%;
  background-position:
    0 0,
    0 0,
    10px 18px,
    10px 18px,
    0 0,
    10px 18px;
  background-attachment: fixed;
}
.container {
  max-width: 600px;
  margin: 5vw auto 12px auto;
  border: 6px ridge var(--border);
  outline: 3px solid var(--gradientTop);
  outline-offset: 4px;
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  padding: 5px;
  gap: 5px;

  /* container background pattern */
  background-color: black;
}

/* these control the column widths */
.small {
  flex: 1 1 12%;
}
.large {
  flex: 1 1 50%;
}
.full {
  flex: 1 1 100%;
}
.half {
  flex: 1 1 49%;
}

header {
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100px; /* change banner height here*/
  border: 2px ridge var(--border);
  border-radius: 5px;
  position: relative;
}
header span {
  font-size: 2.5rem;
  position: absolute;
  bottom: 0;
  right: 10px;
  margin: 10px;
  font-weight: bold;
  text-shadow:
    1px 1px var(--text),
    -1px 1px var(--text),
    1px -1px var(--accent),
    -1px -1px var(--accent);
  color: var(--gradientTop);
}
footer {
  text-align: center;
  margin-bottom: 5vw;
  font-size: 0.8rem;
}
footer a {
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 5px;
  line-height: 1.2;
}

h1 {
  font-size: 1.5rem;
  letter-spacing: 2px;
  font-weight: normal;
  text-align: center;
  border-bottom: 2px ridge var(--border);
  padding-bottom: 5px;
}
h2 {
  font-size: 1.1rem;
  font-weight: normal;
  text-align: center;
}
h3 {
  font-size: 1.1rem;
}
h4 {
  font-size: 1rem;
  color: var(--accent);
  padding-left: 12px;
}

p {
  font-size: 1rem;
}

/* prevents overflow on smaller screens */
img {
  max-width: 100%;
}
pre {
  overflow-x: auto;
}

a {
  font-size: 3rem;
  color: #cccaca;
}

a:hover,
a:focus {
  font-weight: bold;
}
a:visited {
  color: white;
}
.crt::before {
  content: " ";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background:
    linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
    linear-gradient(
      90deg,
      rgba(255, 0, 0, 0.06),
      rgba(0, 255, 0, 0.02),
      rgba(0, 0, 255, 0.06)
    );
  z-index: 2;
  background-size:
    100% 2px,
    3px 100%;
  pointer-events: none;
}

@keyframes flicker {
  0% {
    opacity: 0.27861;
  }
  5% {
    opacity: 0.34769;
  }
  10% {
    opacity: 0.23604;
  }
  15% {
    opacity: 0.10626;
  }
  20% {
    opacity: 0.18128;
  }
  25% {
    opacity: 0.10626;
  }
  30% {
    opacity: 0.18128;
  }
  35% {
    opacity: 0.23604;
  }
}

.crt::after {
  content: " ";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(18, 16, 16, 0.1);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
}
details {
  background-color: black;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

summary {
  font-family: "Pixelify Sans", sans-serif;
  font-size: 20px;
}
section {
  border: 2px ridge var(--border);
  border-radius: 5px;
  background: linear-gradient(var(--gradientTop), var(--gradientBottom));
  padding: 5px;
  overflow: hidden;
  list-style-image: url("https://files.catbox.moe/w34wic.webp");
}
