:root {
  --header-height: 64px;
}

header {
  view-transition-name: header;
  color: #fff;
  min-height: var(--header-height);
  width: 100vw;
  max-height: 100vh;
  height: 100vh;
  max-height: 100svh;
  z-index: 2;
  background: #000;
  height: 100svh;
  padding: 8px 16px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

header .logo-and-title {
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
}

header .logo-and-title .logo {
  --y: -12vh;
  --y: -12svh;
  transform: translate(4%, calc(var(--y)  + 8px));
  max-width: min(60vw, 60vh);
  height: 100%;
  max-height: 512px;
}

header .logo-and-title h1 {
  opacity: 0;
  white-space: nowrap;
  text-overflow: clip;
  flex-shrink: 0;
  max-width: 0;
  margin: 0;
  padding-top: 4px;
  font-size: 36px;
  overflow-x: hidden;
  transform: translateX(-16px);
}

header .down-arrow-wrapper {
  transition: opacity .3s;
}

header .down-arrow {
  bottom: 1vh;
  width: 8vw;
  max-width: 40px;
  height: 8vw;
  max-height: 40px;
  margin: 0 auto;
  animation: .9s 2.2s both slideDown;
  position: absolute;
  bottom: 1svh;
  left: 0;
  right: 0;
}

header .tagline {
  text-align: center;
  font-family: var(--heading);
  width: 300px;
  margin: 0 auto;
  font-size: 20px;
  line-height: 1.6;
  transition: opacity .3s;
  position: absolute;
  top: 54%;
  left: 0;
  right: 0;
}

header .tagline > div {
  animation: .9s 1.3s both slideDown;
  transform: translateY(0);
}

@media (min-width: 500px) {
  header .tagline {
    width: 400px;
    font-size: 24px;
    top: 62%;
  }
}

@media (min-width: 1282px) {
  header:before {
    content: "";
    z-index: -1;
    background: #000;
    width: 100vw;
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(641px - 50vw);
  }
}

header.has-scrolled .tagline, header.has-scrolled .down-arrow-wrapper {
  opacity: 0;
}

header.as-nav .logo {
  transition: transform .3s .3s;
  transform: none;
}

header.as-nav .tagline, header.as-nav .down-arrow-wrapper {
  display: none;
}

header.as-nav h1 {
  opacity: 1;
  max-width: 195px;
  transition-property: opacity, transform, max-width;
  transition-duration: .3s;
  transition-delay: .3s;
  transform: translateX(8px);
}

.header-placeholder {
  background: #000;
  height: 100vh;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
}

#dnd-spellbook {
  --color-text: #23130a;
  --color-parchment-light: #fffef0;
  --color-parchment-dark: #d9b28a;
  --parchment-blur: 125px;
  --shadow-md: 0 4px 16px #00000080;
  --parchment-background-image: url("data:image/png;base64,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");
  --shadow-parchment: 0 0 var(--parchment-blur) var(--color-parchment-dark) inset;
  box-shadow: var(--shadow-md), var(--shadow-parchment);
  background-image: var(--parchment-background-image);
  background-color: var(--color-parchment-light);
  color: var(--color-text);
}

#dnd-spellbook img {
  border-top: 1px solid var(--color-parchment-dark);
  position: relative;
}

@media (min-width: 668px) {
  #dnd-spellbook img {
    border: none;
    border-left: 1px solid var(--color-parchment-dark);
  }
}

#dnd-spellbook img:after {
  content: "";
  box-shadow: inset var(--shadow-md);
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

#star-trek-puzzle {
  background: #fc9;
}

#star-trek-puzzle img {
  --offset-top: 0;
  margin-left: 40px;
  margin-top: var(--offset-top);
  height: calc(var(--height)  - var(--offset-top));
  object-position: bottom left;
}

@media (min-width: 668px) {
  #star-trek-puzzle img {
    --offset-top: 80px;
    margin-left: 0;
  }
}

@media (max-width: 667px) {
  .folded-note-title {
    background: #f7f7f7;
  }
}

.paper-box {
  height: var(--content-height);
  background: #f7f7f7;
  justify-content: center;
  align-items: center;
  width: 100%;
  display: flex;
  overflow: hidden;
}

.paper-box .paper {
  --duration: .6s;
  --timing-function: cubic-bezier(.43, .28, .47, 1.2);
  --handwritten: "Segoe Print", "Bradley Hand", Chilanka, TSCu_Comic, casual, cursive;
  font-family: var(--handwritten);
  perspective: 1000px;
  transition-property: transform;
  transition-duration: calc(var(--duration) * 2);
  grid-template-rows: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  width: 368px;
  max-width: 80vw;
  height: 368px;
  max-height: 80vw;
  line-height: 1.42;
  display: grid;
  position: relative;
  transform: translate(25%, 25%);
}

.paper-box .paper .paper-back {
  transform-style: preserve-3d;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  z-index: 1;
  text-align: center;
  transform-origin: 100%;
  transition-property: transform;
  transition-duration: var(--duration);
  transition-delay: var(--duration);
  transition-timing-function: var(--timing-function);
  cursor: pointer;
  background: #fff;
  border: none;
  justify-content: center;
  align-items: center;
  width: 50%;
  height: 50%;
  padding: 10%;
  font-family: inherit;
  font-size: min(20px, 5vw);
  display: flex;
  position: absolute;
}

.paper-box .paper .paper-back:focus {
  outline: none;
}

.paper-box .paper .paper-back:focus-visible {
  text-decoration: underline;
}

.paper-box .paper .paper-back:hover {
  text-decoration: underline;
}

.paper-box .paper .paper-section {
  transform-style: preserve-3d;
  background-color: #fff;
  background-image: var(--background-image);
  pointer-events: none;
  background-position: 300% 300%;
  background-repeat: no-repeat;
  background-size: 200% 200%;
  box-shadow: 0 2px 32px #00000010;
}

.paper-box .paper .paper-top-left {
  transition-property: background-position;
  transition-duration: 0s;
  transition-delay: calc(var(--duration) * 1.1);
  transition-timing-function: var(--timing-function);
}

.paper-box .paper .paper-top-right {
  transform-origin: 0;
  transition-property: transform, background-position;
  transition-duration: var(--duration), 0s;
  transition-delay: var(--duration), calc(var(--duration) * 1.1);
  transition-timing-function: var(--timing-function);
  transform: rotateY(-180deg);
}

.paper-box .paper .paper-bottom-left, .paper-box .paper .paper-bottom-right {
  transform-origin: top;
  opacity: 0;
  transition-property: transform, opacity, background-position;
  transition-duration: var(--duration), 0s, 0s;
  transition-delay: 0s, calc(var(--duration) * 1.3), calc(var(--duration) * .3);
  transition-timing-function: var(--timing-function);
  transform: rotateX(179deg);
}

.paper-box .paper .paper-content {
  z-index: -1;
  color: #000;
  text-align: center;
  justify-content: center;
  align-items: center;
  padding: 60px;
  font-size: min(20px, 5vw);
  display: flex;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.paper-box .paper .paper-content h3 {
  font-family: var(--handwritten);
  margin-bottom: 20px;
  font-size: min(50px, 12.5vw);
  font-weight: normal;
}

.paper-box .paper.open {
  transform: none;
}

.paper-box .paper.open .paper-back {
  opacity: 0;
  transition-delay: 0s;
  transform: rotateY(180deg);
}

.paper-box .paper.open .paper-top-left {
  background-position: 0 0;
}

.paper-box .paper.open .paper-top-right {
  transition-delay: 0s, calc(var(--duration) * 1.1);
  background-position: 100% 0;
  transform: none;
}

.paper-box .paper.open .paper-bottom-left, .paper-box .paper.open .paper-bottom-right {
  transition-delay: var(--duration), var(--duration), calc(var(--duration) * 1.3);
  opacity: 1;
  transform: none;
}

.paper-box .paper.open .paper-bottom-left {
  background-position: 0 100%;
}

.paper-box .paper.open .paper-bottom-right {
  background-position: 100% 100%;
}

.paper-box .paper:before {
  content: "";
  pointer-events: none;
  background: #f7f7f7;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.bouncing-block-container {
  --cycle: .6s;
  --bounces-per-side: 4;
  --time-across: calc(var(--cycle) * var(--bounces-per-side));
  --path-length: calc(100cqw + 80px);
  min-height: var(--content-height);
  width: 100%;
  position: relative;
  overflow: hidden;
  container-type: inline-size;
}

@media (min-width: 668px) {
  .bouncing-block-container {
    background: #f7f7f7;
  }
}

@media (min-width: 992px) {
  .bouncing-block-container {
    --bounces-per-side: 6;
  }
}

@media (min-width: 1200px) {
  .bouncing-block-container {
    --bounces-per-side: 8;
  }
}

.bouncing-block-container .block {
  --color: #8aaad8;
  animation: moveLeft var(--time-across) linear alternate infinite both, flipHorizontal calc(var(--time-across) * 2) linear infinite both, changeColor calc(var(--cycle) * 12) calc(var(--cycle) * -1) steps(1, jump-end) infinite both;
  width: 50px;
  height: 50px;
  position: absolute;
  bottom: 10px;
  left: -60px;
}

.bouncing-block-container .block:after {
  content: "";
  background: var(--color);
  animation: bounce var(--cycle) ease-in alternate infinite both, lean calc(var(--cycle) * 2) calc(var(--cycle) * -.8) linear infinite both;
  width: 100%;
  height: 100%;
  display: block;
}

.bouncing-block-container .block:before {
  content: "";
  background-image: linear-gradient(to right, var(--color) 4%, #fff0 0% 96%, var(--color) 96% 100%);
  animation: dust calc(var(--cycle) * 2) calc(var(--cycle) * -1) infinite both;
  background-position: top;
  background-repeat: repeat-x;
  background-size: 50px 4px;
  width: 200%;
  height: 100%;
  display: block;
  position: absolute;
  bottom: -56px;
  left: -50%;
}

@keyframes bounce {
  0% {
    translate: 0 -300px;
  }

  30% {
    scale: .8 1.25;
  }

  90% {
    translate: 0;
    scale: .5 2;
  }

  100% {
    translate: 0 25px;
    scale: 2 .5;
  }
}

@keyframes lean {
  0%, 7% {
    rotate: none;
  }

  35% {
    rotate: 45deg;
  }

  65% {
    rotate: 135deg;
  }

  93%, 100% {
    rotate: 180deg;
  }
}

@keyframes changeColor {
  0%, 100% {
    --color: #e75d5d;
  }

  16.7% {
    --color: #eb8a47;
  }

  33.3% {
    --color: #eec42e;
  }

  50% {
    --color: #84cda0;
  }

  66.7% {
    --color: #8aaad8;
  }

  83.3% {
    --color: #a98bc7;
  }
}

@keyframes moveLeft {
  to {
    translate: var(--path-length) 0;
  }
}

@keyframes flipHorizontal {
  0%, 50% {
    scale: 1;
  }

  50.01%, 100% {
    scale: -1 1;
  }
}

@keyframes dust {
  0%, 5% {
    opacity: 1;
  }

  10%, 100% {
    opacity: 0;
    scale: 2;
  }
}

.confetti-content {
  height: var(--content-height);
}

@media (min-width: 668px) {
  .confetti-content {
    background: #f7f7f7;
  }
}

.confetti-content .confetti {
  max-width: 100%;
}

.slot-machine {
  --digit: 0;
  --n: 0;
  text-shadow: -2px 0 #000, 0 2px #000, 2px 0 #000, 0 -2px #000, -2px -2px #000, 2px 2px #000, 2px -2px #000, -2px 2px #000;
  color: #e60548;
  background: linear-gradient(#000, #fff 12%, #fff 92%, #000);
  flex-direction: row;
  justify-content: center;
  align-self: center;
  align-items: center;
  font-family: Superclarendon, Bookman Old Style, URW Bookman, URW Bookman L, Georgia Pro, Georgia, serif;
  font-size: min(60px, 8vw);
  font-weight: 900;
  line-height: 1;
  display: flex;
}

@media (min-width: 668px) {
  .slot-machine {
    border: 6px solid #d6d6d6;
    border-width: 6px 32px;
    margin-top: 74px;
  }
}

.slot-machine .char {
  padding: 0 8px;
}

.slot-machine .char, .slot-machine .digit {
  border-left: 2px solid #000;
  border-right: 2px solid #000;
  height: 1.4em;
  padding-top: .2em;
  display: inline-block;
  overflow: hidden;
}

@media (min-width: 668px) and (max-width: 986px) {
  :is(.slot-machine .char, .slot-machine .digit).hidden-md {
    display: none;
  }
}

.slot-machine > :first-child {
  border-left-width: 4px;
}

.slot-machine > :last-child {
  border-right-width: 4px;
}

.slot-machine .digit {
  text-align: center;
  width: 1em;
  line-height: 1;
  position: relative;
}

.slot-machine .digit:after {
  content: "0 1 2 3 4 5 6 7 8 9";
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
}

.selected .slot-machine.animating .digit:after {
  animation: spin .4s linear var(--digit);
}

.selected .slot-machine.animating .digit > span {
  animation: hideMe calc(.4s * var(--digit)) linear;
}

.lever {
  cursor: pointer;
  background: #e75d5d;
  border: none;
  border-radius: 0;
  justify-content: center;
  align-items: center;
  width: 200px;
  margin-top: 32px;
  padding: 13px 32px 11px;
  font-size: 16px;
  transition: background .3s;
  display: inline-flex;
  position: relative;
}

.lever:after {
  content: "";
  background: #cc4b4b;
  width: 100%;
  height: 4px;
  transition: transform .3s;
  position: absolute;
  bottom: 0;
  transform: scaleX(0);
}

.lever:hover {
  background: #f97c7c;
}

.lever:hover:after {
  transform: scaleX(1);
}

.lever:active {
  background: #e77;
}

@media (min-width: 668px) {
  .lever.hidden-md {
    display: none;
  }
}

.slot-machine-content {
  background: #f7f7f7;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  display: flex;
}

@media (max-width: 667px) {
  .slot-machine-title {
    background: #f7f7f7;
  }
}

@keyframes spin {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 1;
    transform: translateY(-9em);
  }
}

@keyframes hideMe {
  0%, 100% {
    opacity: 0;
  }
}

:root {
  --theme-toggle-bg-dark: #12314d;
  --theme-toggle-bg-darker: #0b1f32;
  --theme-toggle-border: #666;
}

.theme-toggle-container {
  background: var(--theme-toggle-bg-dark);
  height: var(--content-height);
  justify-content: center;
  align-items: center;
  width: 100%;
  transition: background .3s .2s;
  display: flex;
}

.theme-toggle-container .themeToggle {
  background: var(--theme-toggle-bg-darker);
  cursor: pointer;
  border: none;
  border: 1px solid var(--theme-toggle-border);
  border-radius: 40px;
  width: 120px;
  height: 72px;
  transition: background .3s, border-color .3s;
  position: relative;
}

.theme-toggle-container .themeToggle .label {
  color: #fff;
  text-align: center;
  opacity: 0;
  font-size: 12px;
  transition: opacity .3s, color .3s .2s;
  position: absolute;
  bottom: -32px;
  left: 0;
  right: 0;
}

.theme-toggle-container .themeToggle .icon {
  --offset: -8px;
  background: var(--theme-toggle-bg-dark);
  border: 1px solid var(--theme-toggle-border);
  top: var(--offset);
  left: var(--offset);
  border-radius: 50%;
  padding: 17px;
  transition: all .3s;
  display: inline-block;
  position: absolute;
  transform: translateX(0);
}

.theme-toggle-container .themeToggle .icon svg {
  display: block;
}

.theme-toggle-container .themeToggle .icon svg #circle {
  transform-origin: center;
  transition: all .6s cubic-bezier(.43, .28, .34, 1.38);
}

.theme-toggle-container .themeToggle .icon svg #shadow-circle {
  transform-origin: 100% 0;
  transition: all .6s cubic-bezier(.43, .28, .34, 1.38);
}

.theme-toggle-container .themeToggle .icon svg #sun-rays {
  transform-origin: center;
  transition: transform .6s cubic-bezier(.43, .28, .34, 1.38), fill .6s cubic-bezier(.43, .28, .34, 1.38), opacity .4s cubic-bezier(.43, .28, .34, 1.38) .2s;
}

.theme-toggle-container .themeToggle:focus {
  outline: none;
}

.theme-toggle-container .themeToggle:hover .label, .theme-toggle-container .themeToggle:focus-visible .label {
  opacity: 1;
}

.theme-toggle-container .themeToggle:focus-visible .icon {
  outline: 1px dashed #fff;
}

.theme-toggle-container[data-theme="light"] {
  background: #f7f7f7;
}

.theme-toggle-container[data-theme="light"] .themeToggle {
  background: #d6d6d6;
  border-color: #0000;
}

.theme-toggle-container[data-theme="light"] .icon {
  background: #fff;
  border-color: #d6d6d6;
}

.theme-toggle-container[data-theme="light"] .label {
  color: #333;
}

.theme-toggle-container[data-theme="light"] #shadow-circle {
  transform: scale(0);
}

.theme-toggle-container[data-theme="light"] #circle {
  fill: #ecbd50;
  transform: scale(.56);
}

.theme-toggle-container[data-theme="dark"] .icon {
  transform: translateX(48px);
}

.theme-toggle-container[data-theme="dark"] #sun-rays {
  fill: #fff;
  opacity: 0;
  transition-delay: 0s, 0s, 0s;
  transform: scale(0);
}

@media (max-width: 667px) {
  .theme-toggle-title {
    background: var(--theme-toggle-bg-dark);
    color: #fff;
  }
}

.keyboard-content {
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  display: flex;
  overflow: hidden;
}

.keyboard-content .keyboard {
  --width: 1;
  background: #d1d4dc;
  width: 100%;
  padding: 32px 1% 8px;
}

.keyboard-content .keyboard div {
  justify-content: center;
  gap: 1.5%;
  margin-top: 20px;
  display: flex;
}

.keyboard-content .keyboard div:nth-child(2) {
  margin-top: 0;
}

.keyboard-content .keyboard .key {
  width: calc(var(--width) * 8.2%);
  text-align: center;
  cursor: pointer;
  background: #fff;
  border: none;
  border-radius: 1.5vw;
  height: min(12vw, 64px);
  padding: 10px 0 6px;
  font-size: min(6vw, 32px);
  transition: box-shadow .1s, transform .1s, background .1s;
  display: inline-block;
  position: relative;
  box-shadow: 0 2px #0005;
}

.keyboard-content .keyboard .key.pressed {
  background: #f7f7fa;
  transform: translateY(4px);
  box-shadow: 0 0 1px 1px #0002;
}

.keyboard-content .keyboard .key:active {
  background: #f7f7fa;
  transform: translateY(4px);
  box-shadow: 0 0 1px 1px #0002;
}

.keyboard-content .keyboard .key.hidden-on-medium {
  background: #abb5bd;
  font-size: min(4vw, 20px);
}

.keyboard-content .keyboard .key.shift-left {
  --width: 1.4;
  margin-right: 2vw;
  padding: 6px 0 10px;
}

.keyboard-content .keyboard .key.backspace {
  --width: 1.4;
  margin-left: 2vw;
}

.keyboard-content .keyboard .key.smiley {
  padding: 6px 0 10px;
  font-size: min(7vw, 32px);
}

.keyboard-content .keyboard .key.spacebar {
  flex-grow: 1;
  font-size: min(4vw, 20px);
}

@media (max-width: 1065px) {
  .keyboard-content .keyboard .hidden-on-small {
    display: none;
  }
}

@media (max-width: 667px) {
  .keyboard-content {
    --content-height: 260px;
  }
}

@media (min-width: 668px) {
  .keyboard-content {
    background: #f7f7fa;
  }
}

@media (min-width: 1066px) {
  .keyboard-content {
    justify-content: center;
  }

  .keyboard-content .keyboard {
    background: #fff;
    border-radius: 4px;
    width: 671px;
    padding: 4px 8px 8px;
    box-shadow: 0 0 4px #0005;
  }

  .keyboard-content .keyboard div {
    justify-content: space-between;
    gap: 2px;
    margin-top: 8px;
  }

  .keyboard-content .keyboard div:nth-child(2) {
    margin-top: 8px;
  }

  .keyboard-content .keyboard .key {
    width: calc(var(--width) * 36px);
    border: 1px solid #0001;
    border-radius: 3px;
    height: auto;
    padding: 8px 0;
    font-size: 14px;
    box-shadow: 0 4px 4px #0005;
  }

  .keyboard-content .keyboard .key.shift-left {
    --width: 2.7;
    margin: 0;
  }

  .keyboard-content .keyboard .key.spacebar {
    color: #0000;
    font-size: 14px;
  }

  .keyboard-content .keyboard .hidden-on-medium {
    display: none;
  }
}

.keyboard-content .skip-keyboard {
  opacity: 0;
  margin: 8px 0;
  display: block;
}

@media (min-width: 1066px) {
  .keyboard-content .skip-keyboard {
    margin-top: -34px;
    margin-bottom: 16px;
  }
}

.keyboard-content .skip-keyboard:focus {
  opacity: 1;
  outline: none;
}

.parallax {
  width: 100%;
  max-width: 1200px;
  height: 200px;
  margin: 0 auto;
  position: relative;
}

.parallax .bg, .parallax .mid, .parallax .fore {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.parallax .bg {
  background-image: url("back.f6e69bb5.png");
  animation: 20s linear -5s infinite roll;
}

.parallax .mid {
  background-image: url("mid.1e635919.png");
  animation: 15s linear -5s infinite roll;
}

.parallax .fore {
  background-image: url("fore.e990a843.png");
  animation: 7s linear -5s infinite roll;
}

.parallax .subject {
  background-image: url("subject.579c3a09.png");
  width: 205px;
  height: 87px;
  position: absolute;
  bottom: 0;
  left: 30%;
}

.parallax-content {
  background: linear-gradient(#091c2a 50%, #85969f 50%);
  align-items: center;
  display: flex;
}

@media (min-width: 668px) {
  .parallax-content {
    animation: .3s fadeIn;
  }

  .parallax-content.selected > * {
    animation: none !important;
  }
}

@media (max-width: 667px) {
  .parallax-title {
    color: #fff;
    background: #091c2a;
  }

  .parallax-content {
    --content-height: 200px;
  }
}

@keyframes roll {
  100% {
    background-position: -1600px 0;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
}

#css-exploration {
  --content-height: 400px;
  scroll-snap-align: none;
  background: #fff;
  padding: 0;
}

#css-exploration .tab-title {
  scroll-snap-align: start;
  padding: 40px 20px 20px;
}

#css-exploration .tab-title:focus {
  outline: none;
}

#css-exploration .tab-title:focus-visible {
  text-decoration: underline;
}

#css-exploration .tab-title h3 {
  margin: 0 0 8px;
}

#css-exploration .tab-title p {
  margin: 0;
}

#css-exploration .tab-content {
  min-height: var(--content-height);
  display: flex;
}

@media (min-width: 668px) {
  #css-exploration {
    --content-height: 600px;
  }

  #css-exploration:after {
    content: "";
    z-index: -3;
    height: calc(var(--content-height) / 2);
    margin-bottom: calc(var(--content-height) / -2);
    background: #000;
    display: block;
  }

  #css-exploration .tab-title {
    min-height: var(--content-height);
    text-align: right;
    opacity: .6;
    flex-direction: column;
    justify-content: center;
    width: 33vw;
    padding: 0 20px;
    transition: opacity .3s;
    display: flex;
    position: relative;
  }

  #css-exploration .tab-title:after {
    z-index: 1;
    opacity: 0;
    content: "";
    background: #e75d5d;
    border-radius: 4px;
    width: 8px;
    height: 64px;
    transition: opacity .3s;
    display: inline-block;
    position: absolute;
    top: calc(50% - 32px);
    right: 0;
  }

  #css-exploration .tab-title.selected {
    opacity: 1;
  }

  #css-exploration .tab-title.selected:after {
    opacity: 1;
  }

  #css-exploration .tab-content:not(.selected) {
    display: none;
  }

  #css-exploration .tab-content.selected {
    top: var(--header-height);
    margin-left: calc(33vw + 16px);
    margin-top: calc(-1 * var(--content-height));
    position: -webkit-sticky;
    position: sticky;
  }

  #css-exploration .tab-content.selected > * {
    animation: .3s fadeIn;
  }

  #css-exploration .tab-content ~ .tab-content.selected {
    margin-top: calc(-1.5 * var(--content-height));
    margin-bottom: calc(.5 * var(--content-height));
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
}

footer {
  scroll-snap-align: start;
  color: #fff;
  min-height: calc(100vh - var(--header-height));
  text-align: center;
  background: #000;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8svh;
  padding: 40px 20px 20px;
  display: flex;
  position: relative;
}

footer div {
  flex-flow: column wrap;
  justify-content: center;
  align-items: center;
  gap: 36px;
  display: flex;
}

footer div a {
  border-radius: 8px;
  padding: 6px;
  transition: transform .3s, background .3s;
  position: relative;
}

footer div a.github {
  border-radius: 50%;
  padding: 5px 6px 7px;
}

footer div a img {
  width: 64px;
  display: block;
}

footer div a img.codepen {
  width: 138px;
}

footer div a .label {
  text-align: center;
  color: #fff;
  opacity: 0;
  font-size: 14px;
  transition: opacity .3s;
  display: block;
  position: absolute;
  top: calc(100% + 2px);
  left: -100px;
  right: -100px;
}

footer div a:focus {
  outline: none;
}

footer div a:focus-visible {
  background: #222;
  transform: scale(1.1);
}

footer div a:focus-visible .label {
  opacity: 1;
}

footer div a:hover {
  background: #222;
  transform: scale(1.1);
}

footer div a:hover .label {
  opacity: 1;
}

:is() .label {
  opacity: 1;
}

@view-transition {
  navigation: auto;
}

:root {
  --link-color: #155b98;
  --link-color-hover: #1c79ca;
  --heading: Seravek, "Gill Sans Nova", Ubuntu, Calibri, "DejaVu Sans", source-sans-pro, sans-serif;
  --body: system-ui, sans-serif;
}

*, :after, :before {
  box-sizing: border-box;
}

html {
  scroll-snap-type: y proximity;
  scroll-padding: var(--header-height);
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  color: #000;
  background: #000;
  margin: 0;
}

h1, h2, h3, h4, h5 {
  font-family: var(--heading);
}

h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 36px;
}

h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 24px;
}

p {
  line-height: 1.6;
}

a, a:visited {
  color: var(--link-color);
}

a:hover {
  color: var(--link-color-hover);
}

.hidden {
  clip: rect(0px, 0px, 0px, 0px);
  width: 1px;
  height: 1px;
  margin: -1px;
  display: inline-block;
  position: absolute;
  overflow: hidden;
}

.call-to-action {
  --trap-multiplier: 10;
  --trap-offset: calc(var(--trap-multiplier) * 1%);
  --trap-offset-neg: calc(100% - var(--trap-offset));
  min-height: calc(44px * (1 + (var(--trap-multiplier) / 100) * 2));
  color: #003;
  clip-path: polygon(0 var(--trap-offset-neg), 0 var(--trap-offset), 100% 0, 100% 100%);
  cursor: pointer;
  background: linear-gradient(120deg, #99f 50%, #a8a8ff 50%, #a8a8ff 52%, #b8b8ff 52%) 0 0 / 220%;
  border: none;
  justify-content: center;
  align-items: center;
  padding: 0 32px;
  font-family: system-ui;
  font-size: 16px;
  font-weight: bold;
  transition: -webkit-clip-path .3s, clip-path .3s, background .3s;
  display: inline-flex;
}

.call-to-action:hover {
  clip-path: polygon(0 100%, 0 0, 100% var(--trap-offset), 100% var(--trap-offset-neg));
  background-position: 90%;
}

section.new {
  --height: 440px;
  scroll-snap-align: start;
}

section.new a {
  min-height: var(--height);
  color: #000;
  cursor: pointer;
  flex-direction: column;
  text-decoration: none;
  display: flex;
  overflow: hidden;
}

section.new a .info {
  flex-shrink: 0;
  max-width: 430px;
  margin: 0 auto;
  padding: 60px 20px;
}

section.new a .info h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 36px;
}

section.new a img {
  height: calc(var(--height) * 3 / 4);
  object-fit: cover;
  width: 100%;
  max-width: 1585px;
  display: block;
}

section.new:not(:has(img)) {
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: cover;
}

section.new:not(:has(img)) a {
  color: #fff;
  background: linear-gradient(#000a 50%, #0000);
}

@media (min-width: 668px) {
  section.new a {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  section.new a .info {
    margin: 40px max(40px, 25vw - 250px);
    padding: 0;
  }

  section.new a img {
    height: var(--height);
  }

  section.new:not(:has(img)) a {
    background: radial-gradient(circle at 15% 0, #000a 40%, #0000);
    justify-content: flex-start;
  }
}

@media (min-width: 992px) {
  section.new {
    --height: 600px;
  }

  section.new:not(:has(img)) a {
    background: radial-gradient(circle at 15%, #000a 30%, #0000);
  }
}

section.new a:focus {
  outline: none;
}

section.new a:focus .call-to-action {
  text-decoration: underline;
}

@media (min-width: 2000px) {
  section.new {
    --height: 800px;
  }
}

/*# sourceMappingURL=index.e9eef66c.css.map */
