html, body {
  background: #222;
  font-weight: 400;
  font-size: 1em;
  line-height: 1.25;

  font-family: 'Helvetica Neue', 'Helvetica-Neue', 'HelveticaNeue', 'helvetica', Arial, sans-serif;
}

.large-header {
  position: relative;
  width: 100%;
  background: #222;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  z-index: 1;
}

.canvas-fade {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 30%;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #222 100%);
  /* Adjust #fff to match your background */
}

.title-section {
  position: absolute;
  margin: 0;
  padding: 0;
  top: 40%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1em;

  color: #f9f1e9;
  text-align: center;

}

.main-title {

}

.sub-title {
  font-weight: 100;
  font-size: 1em;
  line-height: 1.5;
}

.sub-title .typing {
  background: #f9f1e9;;
  color: #222;
  font-weight: bold;
  margin-top: 20px;
  padding: 0.1em;
}

.main-title .thin {
  font-weight: 200;
}

@media only screen and (max-width: 768px) {
  /*
  .demo-1 .main-title {
    font-size: 3em;
  }

   */
}

#content {
  margin: 2em;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8em;
}


#content h3 .appendix {
  font-size: 0.7em;
}

a {
  outline: none;
  border-bottom-color: transparent;
  text-decoration: none;
  color: #0ca2e3;
  font-weight: bold;
}
a:hover { border-bottom: dotted 1px; }


.content-section {
  max-width: 700px;
  margin: 2em auto;
  padding: 2em;
  background: rgb(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.scroll-down {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  z-index: 10;
  cursor: pointer;
  animation: scroll-down-bounce-down 1.5s 3;
  opacity: 0.8;
}

.scroll-down::before {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  border-left: 4px solid #f9f1e9;
  border-bottom: 4px solid #f9f1e9;
  transform: rotate(-45deg);
  margin: 0 auto;
}

@keyframes scroll-down-bounce-down {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.8; }
  50% { transform: translateX(-50%) translateY(16px); opacity: 1; }
}

.scroll-down.hidden {
  opacity: 0;
  pointer-events: none;
  animation: scroll-down-hide 0.4s;
}

@keyframes scroll-down-hide {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

ul.expandable-list {
  list-style-type: none;
  padding-left: 0;
}

ul.expandable-list li {
  margin: 0.5em 0;
  padding: 0.5em;
  border-radius: 4px;
}

.expandable {
  cursor: pointer;
  user-select: none;
  position: relative;
}
.expand-toggle {
  /*margin-right: 0.5em;*/
  font-weight: bold;
  cursor: pointer;
}
.item-details {
  margin-left: 1.3em;
  font-size: 0.95em;
  margin-top: 0.5em;
  margin-bottom: 1em;
}

.fine-print {
  font-size: 0.75em;
  color: #888;
  text-align: center;
  margin: 2em 0 1em 0;
}
