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

header {
  --center: calc(min(1282px, 100vw) / 2);
  color: #fff;
  min-height: var(--header-height);
  width: 100vw;
  max-height: 100vh;
  height: 100vh;
  max-height: 100svh;
  z-index: 2;
  background: #000;
  align-items: center;
  gap: 16px;
  max-width: 1282px;
  height: 100svh;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

header .logo {
  --x: calc(var(--center)  - 46% - 16px);
  --y: -12vh;
  --y: -12svh;
  transform: translate(var(--x), var(--y));
  max-width: 60vw;
  height: 100%;
  max-height: 512px;
}

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 .title-and-nav {
  flex-grow: 1;
  grid-template-columns: auto 1fr auto;
  align-self: flex-end;
  display: grid;
}

header .title-and-nav h1 {
  opacity: 0;
  grid-column: 1;
  margin: 0;
  padding-bottom: 2px;
  font-weight: normal;
  transform: translateX(-16px);
}

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

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

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

header .title-and-nav nav {
  grid-column: 3;
  align-items: flex-end;
  gap: 16px;
  padding-bottom: 5px;
  display: none;
}

@media (min-width: 992px) {
  header .title-and-nav nav {
    display: flex;
  }
}

header .title-and-nav nav a, header .title-and-nav nav a:visited {
  font-family: var(--serif);
  opacity: 0;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  transform: translateX(16px);
}

header .title-and-nav nav a:hover {
  text-decoration: underline;
}

@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;
  transform: none;
}

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

header.as-nav .title-and-nav h1 {
  opacity: 1;
  transition: all .3s .3s;
  transform: none;
}

header.as-nav .title-and-nav nav a {
  --index: 0;
  transition: all .3s;
  transition-delay: calc(.6s + calc(var(--index) * 50ms));
  opacity: 1;
  transform: none;
}

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

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

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

#star-trek-puzzle a {
  color: inherit;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  min-height: 300px;
  padding: 40px 20px 0;
  text-decoration: none;
  display: flex;
  position: relative;
}

#star-trek-puzzle a .preview {
  --offset-left: max(20px, calc(calc(100vw - 430px) / 2));
  --corner: min(8vw, 48px);
  max-width: calc(calc(100vw)  - var(--offset-left));
  clip-path: inset(27.5% 0 0 0 round var(--corner) 0 0 0);
  object-fit: cover;
  object-position: left bottom;
  align-self: flex-end;
  margin-top: -16vw;
  margin-right: -20px;
  display: block;
}

#star-trek-puzzle a .info {
  flex-shrink: 0;
  max-width: 430px;
}

#star-trek-puzzle a:focus {
  outline: none;
}

#star-trek-puzzle a:focus .call-to-action {
  text-decoration: underline;
}

@media (min-width: 470px) {
  #star-trek-puzzle a .preview {
    margin-top: -10vw;
  }
}

@media (min-width: 668px) {
  #star-trek-puzzle a {
    flex-direction: row;
    justify-content: space-between;
    height: 300px;
    padding-top: 0;
    padding-left: max(20px, 50vw - 500px);
    padding-right: 0;
  }

  #star-trek-puzzle a .info {
    margin-top: 40px;
  }

  #star-trek-puzzle a .preview {
    --corner: 52px;
    width: calc(100% - 450px);
    max-width: 594px;
    height: 370px;
    margin-top: -70px;
    margin-right: 0;
  }
}

@media (min-width: 992px) {
  #star-trek-puzzle a {
    height: 600px;
    padding-left: calc(25vw - 215px);
  }

  #star-trek-puzzle a .preview {
    --corner: 104px;
    width: calc(100% - 450px);
    max-width: min(50vw, 1188px);
    height: 740px;
    margin-top: -140px;
    margin-right: 0;
  }
}

#light-speed, #cave-generator {
  --height: 440px;
  padding: 0;
}

:is(#light-speed, #cave-generator) a {
  min-height: var(--height);
  color: #fff;
  background-image: url("cave.819cbe06.png");
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: cover;
  border: 8px solid #935e4c;
  border-right-width: 0;
  text-decoration: none;
  display: block;
}

:is(#light-speed, #cave-generator) a .gradient {
  min-height: var(--height);
  background: linear-gradient(#000a 50%, #0000);
  margin: -8px 0 -8px -8px;
  padding: 40px 20px 20px;
  display: flex;
}

:is(#light-speed, #cave-generator) a .gradient .info {
  max-width: 430px;
  margin: 0 auto;
}

@media (min-width: 580px) {
  :is(#light-speed, #cave-generator) a {
    border-top-width: 0;
    border-right-width: 8px;
  }

  :is(#light-speed, #cave-generator) a .gradient {
    margin-top: 0;
    margin-right: -8px;
  }
}

@media (min-width: 668px) {
  :is(#light-speed, #cave-generator) a .gradient {
    background: radial-gradient(circle at 15% 0, #000a 40%, #0000);
    padding-left: max(20px, 50vw - 500px);
  }

  :is(#light-speed, #cave-generator) a .gradient .info {
    margin: 0;
  }
}

@media (min-width: 992px) {
  :is(#light-speed, #cave-generator) a {
    --height: 600px;
  }

  :is(#light-speed, #cave-generator) a .gradient {
    background: radial-gradient(circle at 15%, #000a 30%, #0000);
    align-items: center;
    padding-left: calc(25vw - 215px);
  }

  :is(#light-speed, #cave-generator) a .gradient .info {
    max-width: 400px;
  }
}

:is(#light-speed, #cave-generator) a:focus {
  outline: none;
}

:is(#light-speed, #cave-generator) a:focus .call-to-action {
  text-decoration: underline;
}

#light-speed a {
  background-image: url("stars.0b3ad9b9.png");
  border: none;
  padding: 8px;
}

#light-speed a .gradient {
  background: none;
}

@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;
}

:root {
  --link-color: #155b98;
  --link-color-hover: #1c79ca;
  --serif: Seravek, "Gill Sans Nova", Ubuntu, Calibri, "DejaVu Sans", source-sans-pro, sans-serif;
  --sans: system-ui, sans-serif;
  --sans: var(--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(--sans);
  color: #000;
  background: #000;
  margin: 0;
}

section {
  scroll-snap-align: start;
  padding: 40px 16px;
}

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

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 {
  color: #000;
  background: #99f;
  justify-content: center;
  align-items: center;
  padding: 13px 32px 11px;
  transition: background .3s;
  display: inline-flex;
  position: relative;
}

.call-to-action:after {
  content: "";
  background: #77e;
  width: 100%;
  height: 4px;
  transition: transform .3s;
  position: absolute;
  bottom: 0;
  transform: scaleX(0);
}

.call-to-action:hover {
  background: #aaf;
}

.call-to-action:hover:after {
  transform: scaleX(1);
}

/*# sourceMappingURL=index.7c188178.css.map */
