:root {
  --accent-color: #b52d2c;
  --bg-color: #f3f4f6;
  --fg-color: #333;
}

body,
html {
  font-family: "Poppins", sans-serif;
  margin: 0px;
  background-color: #fff;
  background-image:
    linear-gradient(45deg, #ccc 25%, transparent 25%),
    linear-gradient(-45deg, #ccc 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #ccc 75%),
    linear-gradient(-45deg, transparent 75%, #ccc 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  overflow-x: hidden;
}

.logo {
  display: block;
  margin-inline: auto;
  max-width: 12rem;
  width: 100%;
}

.avatar {
  display: block;
  margin-inline: auto;
  max-width: 6rem;
  width: 100%;
  border-radius: 50%;
}

h1 {
  padding: 1rem;
  background-color: black;
  color: white;
  font-family: 'Bitter', serif;
  font-size: 3rem;
}

h2 {
  padding: .8rem;
  background-color: black;
  color: white;
  font-family: 'Bitter', serif;
  font-size: 2rem;
}

button {
  display: inline-block;
  font-size: 16px;
  padding: 10px;
  margin: 10px;
}

section {
  background-color: white;
  padding: 1rem;
  font-family: "Poppins", sans-serif;
  opacity: .85;
  margin-top: 1rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
}

.invisible {
  opacity: 0;
}

.no-link {
  text-decoration: none;
}

.hydra-source {
  border-bottom: 4px solid hsl(10, 100%, 70%);
  line-height: 0.6
}

.hydra-geometry {
  border-bottom: 4px solid hsl(50, 100%, 70%);
  line-height: 0.6
}

.hydra-color {
  border-bottom: 4px solid hsl(90, 100%, 70%);
  line-height: 0.6
}

.hydra-blend {
  border-bottom: 4px solid hsl(130, 100%, 70%);
  line-height: 0.6
}

.hydra-modulate {
  border-bottom: 4px solid hsl(170, 100%, 70%);
  line-height: 0.6
}

.hydra-synth-settings {
  border-bottom: 4px solid hsl(250, 100%, 70%);
  line-height: 0.6
}

.hydra-array {
  border-bottom: 4px solid hsl(290, 100%, 70%);
  line-height: 0.6
}

.hydra-external-sources {
  border-bottom: 4px solid hsl(210, 100%, 70%);
  line-height: 0.6
}

.hydra-audio {
  border-bottom: 4px solid hsl(330, 100%, 70%);
  line-height: 0.6
}

code {
  opacity: .8;
  font-family: "Pixelify Sans", sans-serif;
  font-weight: 100;
  font-style: normal;
  border: solid white 2px;
  color: #99cc99;
  white-space: pre-wrap;
  font-size: xx-large;
  background-color: black;
  padding-right: 3rem;
}

canvas {
  overflow-y: hidden;
  position: fixed;
  background-size: cover;
  top: 0px;
  left: 0px;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  mix-blend-mode: multiply;
}

#container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100vw;
  height: 100vh;
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 1;
}

#main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90vw;
  max-width: 42rem;
  top: 0px;
  left: 0px;
  z-index: 1;
}

.spacer {
  height: 75vh;
  position: relative;

}

.spacer-small {
  height: 50vh;
  position: relative;
}

.spacer-mini {
  height: 15vh;
  position: relative;
}

pre {
  font-size: xx-large;
  font-family: "Pixelify Sans", sans-serif;
  font-weight: 100;
  white-space: normal;
}

.emoji {
  font-size: 3rem;
}

.multi-line {
  white-space: pre;
}

@media (max-width: 768px) {
  code {
    font-size: large;
    padding-right: 1.5rem;
  }

  pre {
    font-size: large;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .logo {
    max-width: 6rem;
  }

  .avatar {
    max-width: 5rem;
  }
}

/* Claude generated auto scroller below */

.scroll-widget {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: .33rem;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  transition: width 0.3s ease;
  overflow: hidden;
  border: 1px solid #ddd;
  z-index: 1000;
  cursor: pointer;
}

.scroll-widget.collapsed {
  width: 50px;
  justify-content: center;
  padding: 0;
  opacity: .2;
}

.scroll-widget.collapsed:hover {
  opacity: .8;
  transition: opacity 0.3s ease;
}

.scroll-widget.expanded {
  width: 300px;
  justify-content: flex-end;
}

.widget-controls {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-right: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.expanded .widget-controls {
  opacity: 1;
  pointer-events: all;
}

.scroll-widget input[type="range"] {
  width: 100px;
}

.play-button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2em;
  padding: 5px;
}

.widget-icon {
  font-size: 1.5em;
  min-width: 30px;
  text-align: center;
}

.time-display {
  min-width: 80px;
  text-align: right;
}