body {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  margin-top: 80px;
  text-align: center;
  background-color: #fff;
  animation: pageBackgroundCycle 20s linear 5s infinite;
}

@keyframes pageBackgroundCycle {
  0% {
    background-color: #fff;
  }
  50% {
    background-color: #000;
  }
  100% {
    background-color: #fff;
  }
}

.hero-char{
  color: red;
  position: fixed;
  top: 100;
  left: 0px;
  right: 0px;
  inset: 0;
  z-index: -2;

  display: grid;
  place-items: center;  /* optional */

  font-size: 100vw;
  line-height: 1;

  pointer-events: none; /* overlay won’t block clicks/scroll on content */
  user-select: none;    /* optional */
  overflow: hidden;     /* avoid scrollbars */
}

@keyframes xFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.60;
  }
}

#X {
  opacity: 0;
  animation: xFadeIn 20s linear forwards;
  animation-delay: 5s;
  place-items: start center;
  width: 100%;
  transform: translateX(-10px);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 100vw;
  line-height: 1;
}

.rdx-logo {
  width: 20rem;
  height: auto;
  display: block;
  margin: 0 auto;
  margin-bottom: 20px;
}

.rdx-subtitle {
  margin: -20px 0px 10px 0px;
  font-size: 4rem;
  color: #000;
  animation: theaterColorCycle 20s linear 5s infinite;
}

@keyframes theaterColorCycle {
  0% {
    color: #000;
  }
  50% {
    color: #fff;
  }
  100% {
    color: #000;
  }
}

.rdx-showname {
  margin: 0px;
  color: #bbb;
  font-size: 2rem;
  font-weight: 200;
}

.motto1 {
position: absolute;
left: 10px;
top: 120px;
font-size: .75rem;
color: #ccc;
z-index: 10;
}

.motto2 {
position: absolute;
right: 10px;
top: 120px;
font-size: .75rem;
color: #ccc;
z-index: 10;
}

.note {
position: fixed;
left: 50%;
bottom: 10px;
transform: translateX(-50%);
width: max-content;
white-space: nowrap;
margin: 0;
color: #bbb;
font-size: .7rem;
}

#note {
  opacity: 0;
  animation: notesFadeIn 3s ease-in forwards;
  animation-delay: 20s;
}

@keyframes notesFadeIn {
  to {
    opacity: 1;
  }
}

.red {
  color: #f00;
  opacity: 100%;
}

@keyframes radicalDrop {
  0% {
    top: -25%;
  }
  100% {
    top: 50%;
  }
}

.vertical-rotated {
  position: fixed;
  left: 16px;
  top: 50%;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  line-height: 1;
  letter-spacing: 0.2em;
}

#radical {
  animation: radicalDrop 6s ease-in-out forwards;
  animation-delay: 0;
}

.vertical-rotated-right {
  position: fixed;
  right: 16px;
  top: 50%;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  line-height: 1;
  letter-spacing: 0.2em;
  transform: rotate(180deg);
  transform-origin: center;
}

@keyframes xperienceSlideUp {
  0% {
    transform: rotate(180deg) translateY(-100vh);
  }
  100% {
    transform: rotate(180deg) translateY(0);
  }
}

#xperience {
  transform: rotate(180deg) translateY(-100vh);
  animation: xperienceSlideUp 6s ease-in-out forwards;
  animation-delay: 2s;
}

.vertical-rotated .dimmed-text,
.vertical-rotated-right .dimmed-text,
.bottom-fixed .dimmed-text {
  opacity: 0.2;
}

.bottom-fixed {
  font-size: 1em;
  position: fixed;
  bottom: 42px;
  left: 50%;
  transform: translateX(-50%);
  letter-spacing: 0.3em;
}

@keyframes dramaticSlideIn {
  0% {
    transform: translateX(calc(100vw + 50%));
  }
  100% {
    transform: translateX(-50%);
  }
}

#dramatic {
  transform: translateX(calc(100vw + 50%));
  animation: dramaticSlideIn 6s ease-in-out forwards;
  animation-delay: 1s;
}

.typewriter {
  font-family: monospace;
  font-size: 1.25rem;
  margin-top: 10px;
  /* Configure */
  --duration: 3s;
  /* total typing time */
  --caret: currentColor;
  /* caret color */

  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 0.12em solid var(--caret);

  /* The magic: reveal in steps */
  width: 0;
  animation: typing var(--duration) steps(var(--chars)) 5s forwards, caret-blink 0.8s step-end 0s infinite;
}

@keyframes typing {
  to {
    width: calc(var(--chars) * 1ch);
  }
}

@keyframes caret-blink {
  50% {
    border-right-color: transparent;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tagline {
  margin-top: 40px;
  color: #bbb;
  font-size: 2rem;
  font-weight: 200;
}

.corner-note {
  position: fixed;
  right: 24px;
  bottom: 32px;
  margin: 0;
  color: #bbb;
  font-size: 0.75rem;
  line-height: 1.35;
  text-align: right;
  max-width: min(90vw, 420px);
}

@keyframes segmentsRise {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(calc(-100vh - 100%));
  }
}

@keyframes segmentsColorCycle {
  0% {
    color: #000;
  }
  50% {
    color: #fff;
  }
  100% {
    color: #000;
  }
}

#segments {
  font-size: .75rem;
  position: fixed;
  margin: 0;
  top: 100vh;
  left: 60px;
  white-space: pre-line;
  line-height: 2rem;
  text-align: left;
  z-index: -1;
  max-width: calc(100vw - 80px);
  animation: segmentsRise 50s linear forwards, segmentsColorCycle 20s linear 5s infinite;
}

button {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 200;
  margin-top: 10px;
  background-color: #aad;
  padding: 8px;
  border-radius: 6px;
  border: solid 1px #888;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  body { margin-top: 64px; }
  .motto1, .motto2 { top: 110px; }
}

@media (max-width: 768px) {
  body { margin-top: 52px; }
  .rdx-logo { margin-top: -20px; margin-bottom: -20px;}
  .rdx-subtitle { margin-top: 0px; }
  .tagline, .rdx-showname { margin-top: 0px; font-size: 1.5rem; }
  .motto1, .motto2 { position: absolute; top: 14px; margin: 0; }
  .typewriter {font-size: .9rem;}
}

@media (max-width: 480px) {
  body { margin-top: 40px; }
  .tagline, .rdx-showname { margin-top: 20px; font-size: 1.2rem; }
}

body .rdx-showname {
  color: #bbb;
  font-size: 2rem;
}

.docs-page {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #f6f2eb 0%, #ebe4d7 100%);
  color: #111;
  text-align: left;
}

.docs-shell {
  width: min(720px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 72px 0 96px;
}

.docs-kicker {
  margin: 0 0 12px;
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #7a120e;
}

.docs-title {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.25rem);
  line-height: 0.95;
}

.docs-intro {
  margin: 16px 0 32px;
  max-width: 40rem;
  color: #3b342d;
  font-size: 1rem;
  line-height: 1.5;
}

.docs-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(17, 17, 17, 0.16);
}

.docs-item {
  border-bottom: 1px solid rgba(17, 17, 17, 0.16);
}

.docs-link,
.docs-item-empty {
  display: block;
  padding: 18px 0;
  color: inherit;
  font-size: 1.05rem;
  text-decoration: none;
}

.docs-link:hover,
.docs-link:focus-visible {
  color: #7a120e;
}

.docs-link:focus-visible {
  outline: 2px solid #7a120e;
  outline-offset: 6px;
}

.docs-item-empty {
  color: #4f4b46;
}

@media (max-width: 768px) {
  .docs-shell {
    width: min(720px, calc(100vw - 32px));
    padding: 48px 0 72px;
  }
}
  