@font-face {
  font-family: "Retro Gaming";
  src: url("https://static.wixstatic.com/ufonts/a05aeb_3cffeed879e74648b708d20eabd8782b/woff2/file.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Wix Futura";
  src: url("https://static.parastorage.com/fonts/v2/8e5b5cbc-6ad9-49f7-aee7-4e5133c3ee4d/v1/futura-lt-w01-light.woff2") format("woff2");
  font-display: swap;
}

:root {
  --bg: #001f18;
  --panel: #04291f;
  --panel-dark: #001b15;
  --line: #007260;
  --line-soft: #005047;
  --divider: #004735;
  --gold: #b28838;
  --gold-bright: #d8ad55;
  --text: #d4d1bb;
  --muted: #aaaf92;
  --button-muted: #888d6d;
  --pink: #ff5fa2;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image: linear-gradient(rgba(0, 31, 24, 0.92), rgba(0, 31, 24, 0.92)), url("assets/pattern.png");
  color: var(--text);
  font-family: "Retro Gaming", "Courier New", monospace;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: normal;
}

body.gate-open {
  background: #fafafa;
}

a {
  color: inherit;
}

.pixel,
h1,
h2,
h3,
.nav,
.button,
.language-toggle {
  font-family: "Retro Gaming", "Courier New", monospace;
  font-weight: 400;
}

.gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #fafafa;
  color: #7d7d7d;
  font-family: "Wix Futura", Arial, Helvetica, sans-serif;
  line-height: 1.55;
  padding: 24px;
}

.gate-card {
  width: min(420px, 100%);
  text-align: center;
}

.gate-card h1 {
  color: #222;
  margin: 0 0 12px;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
}

.gate-card label {
  display: block;
  margin: 42px 0 28px;
  text-align: left;
}

.gate-card span {
  display: block;
  font-size: 0.9rem;
}

.gate-card input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #888;
  background: transparent;
  padding: 10px 0;
  color: #333;
  font: inherit;
}

.gate-error {
  min-height: 1.5em;
  color: #9b4e4e;
}

.hero,
footer {
  min-height: 360px;
  display: grid;
  place-items: center;
  align-content: center;
  position: relative;
  padding: 46px 16px;
  text-align: center;
  background-image: linear-gradient(rgba(0, 38, 31, 0.76), rgba(0, 38, 31, 0.76)), url("assets/icon.jpg");
  background-size: 146px 120px;
  border-bottom: 0;
}

.language {
  position: absolute;
  top: 16px;
  right: max(16px, calc((100vw - 980px) / 2));
  z-index: 8;
}

.language-toggle {
  min-width: 152px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(0, 114, 96, 0.55);
  color: var(--text);
  background: rgba(0, 31, 24, 0.5);
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.78rem;
}

.language-toggle img,
.language-menu img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.language-menu {
  display: none;
  border: 1px solid rgba(0, 114, 96, 0.55);
  border-top: 0;
  background: rgba(0, 31, 24, 0.92);
}

.language:hover .language-menu,
.language:focus-within .language-menu {
  display: grid;
}

.language-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
}

.language-menu button:hover,
.language-menu button:focus {
  background: rgba(196, 154, 69, 0.25);
}

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

h1,
h2,
h3 {
  color: var(--gold);
  text-align: center;
  line-height: 1.25;
}

h1 {
  margin: 0 0 34px;
  font-size: clamp(2rem, 5vw, 4rem);
}

h2 {
  margin: 0 0 34px;
  font-size: clamp(1.7rem, 3.4vw, 3rem);
}

h3 {
  margin: 0 0 16px;
  font-size: 1.25rem;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex;
  justify-content: center;
  gap: 26px;
  padding: 14px 16px;
  overflow: visible;
  background:
    linear-gradient(var(--divider), var(--divider)) top left / 100% 4px no-repeat,
    linear-gradient(var(--divider), var(--divider)) left 10px / 100% 1px no-repeat,
    linear-gradient(var(--divider), var(--divider)) left calc(100% - 11px) / 100% 1px no-repeat,
    linear-gradient(var(--divider), var(--divider)) bottom left / 100% 4px no-repeat,
    rgba(0, 31, 24, 0.97);
  border-top: 0;
  border-bottom: 0;
  font-size: 1rem;
}

.nav a,
.nav-item > a {
  text-decoration: none;
  white-space: nowrap;
}

.nav-item {
  position: relative;
}

.nav-submenu {
  position: absolute;
  left: 50%;
  top: 100%;
  min-width: 155px;
  padding: 11px 0 5px;
  background: rgba(0, 31, 24, 0.98);
  border: 1px solid var(--line-soft);
  transform: translate(-50%, -1px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  text-align: center;
}

.nav-submenu a {
  display: block;
  padding: 7px 12px;
  color: var(--muted);
}

.has-submenu:hover .nav-submenu,
.has-submenu:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav a[aria-current="page"],
.nav a:hover,
.nav a:focus {
  color: var(--gold-bright);
}

#program,
#dress-code,
#gift-registry,
#venue {
  scroll-margin-top: 64px;
}

.button {
  display: inline-block;
  min-width: 190px;
  min-height: 42px;
  padding: 10px 20px;
  border: 1px solid rgba(39, 33, 30, 0);
  color: #fff;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  line-height: 22.4px;
}

.button-gold {
  background: var(--gold);
}

.button-muted {
  background: var(--button-muted);
}

.button-gold:hover,
.button-gold:focus {
  background: var(--muted);
}

.button-muted:hover,
.button-muted:focus {
  background: var(--gold);
}

.hero-actions {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.hero-actions .button-muted {
  background: #7d8260;
}

.hero-actions .button:hover,
.hero-actions .button:focus {
  background: #27211e;
  border-color: #27211e;
  color: #fff;
}

main {
  max-width: 1100px;
  min-height: 360px;
  margin: 0 auto;
}

.section {
  padding: 76px 24px;
  text-align: center;
}

.ornament {
  width: 284px;
  max-width: 70vw;
  height: 57px;
  margin: 0 auto 46px;
  position: relative;
  background:
    linear-gradient(var(--divider), var(--divider)) center 15px / min(200px, 100%) 3px no-repeat,
    linear-gradient(var(--divider), var(--divider)) center 27px / 100% 3px no-repeat,
    linear-gradient(var(--divider), var(--divider)) center 40px / min(200px, 100%) 3px no-repeat;
}

.ornament::before,
.ornament::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 56px;
  height: 42px;
  background: url("data:image/svg+xml,%3Csvg preserveAspectRatio='none' viewBox='20.5 40.5 159 119' xmlns='http://www.w3.org/2000/svg' fill='%23004735'%3E%3Cg%3E%3Cpath d='M105.678 46.166L100 40.5l-5.678 5.666L20.5 119.833l5.678 5.667L100 51.877l73.822 73.623 5.678-5.667-73.822-73.667z'/%3E%3Cpath d='M100 74.5l-5.678 5.667-56.786 56.666 5.678 5.667L100 85.578l56.786 56.922 5.678-5.667-56.786-56.666L100 74.5z'/%3E%3Cpath d='M100 108.5l-5.678 5.667-39.75 39.667 5.678 5.666L100 119.833l39.749 39.667 5.679-5.666-39.75-39.667L100 108.5z'/%3E%3C/g%3E%3C/svg%3E") center / 56px 42px no-repeat;
  transform: translateX(-50%);
}

.ornament::after {
  top: 15px;
  transform: translateX(-50%) rotate(180deg);
}

.rule {
  border-top: 0;
  padding-top: 43px;
  background:
    linear-gradient(var(--divider), var(--divider)) top left / 100% 1px no-repeat,
    linear-gradient(var(--divider), var(--divider)) left 7px / 100% 4px no-repeat;
}

.program {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 150px;
  gap: 28px 36px;
  align-items: start;
  margin: 0 auto 80px;
  color: var(--muted);
  font-family: "Retro Gaming", "Courier New", monospace;
  font-size: 16px;
  line-height: normal;
}

.program-title {
  margin: 0 auto 13px;
  padding: 9px 0 20px;
  background:
    linear-gradient(var(--divider), var(--divider)) top left / 100% 1px no-repeat,
    linear-gradient(var(--divider), var(--divider)) left 7px / 100% 4px no-repeat,
    linear-gradient(var(--divider), var(--divider)) left calc(100% - 11px) / 100% 4px no-repeat,
    linear-gradient(var(--divider), var(--divider)) bottom left / 100% 1px no-repeat;
}

.program strong {
  display: block;
  color: var(--gold);
  font-weight: 400;
}

.program span {
  display: block;
}

.split,
.mode-grid,
.how-grid,
.steps,
.photo-grid,
.gallery-links,
.messages {
  display: grid;
  gap: 28px;
}

.split {
  grid-template-columns: 1fr 1fr;
  margin-top: 0;
  padding-top: 20px;
  border-top: 0;
  background:
    linear-gradient(var(--divider), var(--divider)) top left / 100% 1px no-repeat,
    linear-gradient(var(--divider), var(--divider)) left 7px / 100% 4px no-repeat,
    linear-gradient(var(--divider), var(--divider)) left 59px / 100% 4px no-repeat,
    linear-gradient(var(--divider), var(--divider)) left 70px / 100% 1px no-repeat;
  color: var(--muted);
  font-family: "Retro Gaming", "Courier New", monospace;
  font-size: 16px;
  line-height: normal;
}

.split article {
  min-height: 269px;
  display: grid;
  align-content: start;
  justify-items: center;
  padding-top: 0;
}

.split h2 {
  margin-bottom: 32px;
  font-size: 25px;
}

.split p {
  max-width: 290px;
  margin: 0 0 20px;
}

.lead {
  max-width: 820px;
  margin: 0 auto 24px;
  font-size: 1.08rem;
}

.venue-hero {
  position: relative;
  width: min(980px, 100%);
  margin: 0 auto 34px;
  min-height: 413px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  overflow: hidden;
}

.venue-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.venue-title {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 413px;
  background: rgba(2, 25, 19, 0.82);
}

.venue-title h2 {
  margin: 0;
  font-size: 41px;
}

.venue-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  min-height: 413px;
  padding: 34px 44px;
  color: rgb(2, 25, 19);
  font-family: "Retro Gaming", "Courier New", monospace;
  font-size: 16px;
  line-height: normal;
  text-align: center;
  background: rgba(232, 214, 179, 0.6);
}

.venue-copy p {
  margin: 0 0 20px;
}

.program + .button {
  width: 265px;
}

.program + .button + .ornament {
  margin-top: 79px;
  margin-bottom: 29px;
}

.adventure-title {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 31px 0 27px;
  font-size: 25px;
  background:
    linear-gradient(var(--divider), var(--divider)) top left / 100% 4px no-repeat,
    linear-gradient(var(--divider), var(--divider)) left 10px / 100% 1px no-repeat,
    linear-gradient(var(--divider), var(--divider)) left calc(100% - 11px) / 100% 1px no-repeat,
    linear-gradient(var(--divider), var(--divider)) bottom left / 100% 4px no-repeat;
}

.mode-grid {
  grid-template-columns: 497fr 483fr;
  gap: 0;
  max-width: 980px;
  min-height: 597px;
  margin: 0 auto;
  border-bottom: 0;
  background:
    linear-gradient(var(--divider), var(--divider)) left calc(100% - 11px) / 100% 4px no-repeat,
    linear-gradient(var(--divider), var(--divider)) bottom left / 100% 1px no-repeat;
}

.mode {
  position: relative;
  min-height: 597px;
  padding: 0;
  background: rgba(255, 255, 255, 0.07);
}

.mode-fun {
  background: rgb(0, 71, 53);
}

.mode h3 {
  position: absolute;
  top: 65px;
  left: 0;
  right: 0;
  margin: 0;
  color: var(--gold);
  font-size: 25px;
  line-height: normal;
}

.mode-rule {
  position: absolute;
  top: 180px;
  left: 50%;
  width: 70px;
  height: 3px;
  background: rgb(2, 25, 19);
  transform: translateX(-50%);
}

.mode-easy .mode-rule {
  background: var(--divider);
}

.mode p {
  position: absolute;
  top: 231px;
  left: 0;
  right: 0;
  margin: 0;
  color: var(--muted);
  font-size: 25px;
  line-height: normal;
}

.mode-icon,
.mode-device {
  position: absolute;
  object-fit: contain;
}

.mode-trophy {
  top: 68px;
  left: 90px;
  width: 39px;
  height: 56px;
}

.mode-laptop {
  top: 348px;
  left: 50%;
  width: 144px;
  height: 113px;
  transform: translateX(-50%);
}

.mode-tablet {
  top: 359px;
  left: 50%;
  width: 150px;
  height: 103px;
  transform: translateX(-50%);
}

.mode .button {
  position: absolute;
  left: 50%;
  bottom: 74px;
  width: 286px;
  min-height: 40px;
  padding-top: 8px;
  padding-bottom: 8px;
  transform: translateX(-50%);
}

.mode .button-muted {
  background: rgb(125, 130, 96);
}

.mode-grid + .ornament {
  margin-top: 33px;
  margin-bottom: 29px;
}

.fun-hero {
  position: relative;
  width: min(980px, 100%);
  height: 321px;
  margin: 0 auto 66px;
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
}

.fun-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fun-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2, 25, 19, 0.62);
}

.fun-hero > div {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  transform: translateY(25px);
}

.fun-hero h2 {
  margin: 0 0 71px;
  color: var(--muted);
  font-size: 41px;
  line-height: normal;
}

.fun-hero h3 {
  margin: 0 0 39px;
  color: var(--gold);
  font-size: 25px;
  line-height: normal;
}

.fun-hero p {
  margin: 0 0 2px;
  color: var(--muted);
  font-family: "Retro Gaming", "Courier New", monospace;
  font-size: 16px;
  line-height: normal;
}

.scroll-arrow {
  width: 39px;
  height: 20px;
}

.fun-hero + .ornament {
  margin-bottom: 29px;
}

.how-grid {
  display: block;
  max-width: 980px;
  margin: 0 auto 59px;
}

.feature-row {
  display: grid;
  grid-template-columns: 735fr 245fr;
  align-items: center;
  min-height: 242px;
}

.feature-text-left {
  background: rgba(255, 255, 255, 0.07);
}

.feature-text-right {
  grid-template-columns: 245fr 735fr;
  min-height: 241px;
}

.feature-row:last-child {
  min-height: 249px;
}

.feature-row > div {
  display: grid;
  justify-items: start;
  text-align: left;
  padding-left: 90px;
  transform: translateY(-15px);
}

.feature-text-right > div {
  transform: translateY(-8px);
}

.feature-row:last-child > div {
  transform: translateY(-14px);
}

.how-grid p,
.steps p,
.mode p {
  color: var(--muted);
  font-family: "Retro Gaming", "Courier New", monospace;
  font-size: 16px;
  line-height: normal;
}

.mode-grid .mode p {
  font-size: 25px;
}

.feature-row img {
  object-fit: contain;
  justify-self: center;
}

.feature-row:nth-child(1) img {
  width: 256px;
  max-width: none;
}

.feature-row:nth-child(2) img {
  width: 245px;
}

.feature-row:nth-child(3) img {
  width: 199px;
}

.feature-row h3 {
  margin: 0 0 28px;
  color: var(--gold);
  font-size: 25px;
  line-height: normal;
  text-align: left;
}

.how-grid p {
  max-width: 556px;
  margin: 0;
}

.how-grid + .ornament {
  margin-top: 0;
  margin-bottom: 30px;
}

.join-title {
  width: min(980px, 100%);
  margin: 0 auto 2px;
  padding: 19px 0 20px;
  font-size: 25px;
  background:
    linear-gradient(var(--divider), var(--divider)) top left / 100% 4px no-repeat,
    linear-gradient(var(--divider), var(--divider)) left 10px / 100% 1px no-repeat,
    linear-gradient(var(--divider), var(--divider)) left calc(100% - 11px) / 100% 1px no-repeat,
    linear-gradient(var(--divider), var(--divider)) bottom left / 100% 4px no-repeat;
}

.steps {
  width: min(980px, 100%);
  margin: 0 auto;
  grid-template-columns: 1fr;
  gap: 0;
  text-align: left;
}

.step-row {
  display: grid;
  grid-template-columns: 626px 1fr;
  min-height: 436px;
  column-gap: 25px;
  align-items: start;
  padding: 38px 8px 38px 17px;
}

.step-one {
  background: rgba(255, 255, 255, 0.07);
}

.step-two {
  background: rgba(255, 255, 255, 0.035);
}

.step-row img {
  width: 626px;
  height: 349px;
  object-fit: cover;
}

.step-copy {
  width: 265px;
}

.step-copy h3 {
  margin: 0 0 36px;
  color: var(--gold);
  font-size: 25px;
  line-height: normal;
  text-align: left;
}

.step-copy p {
  margin: 0 0 20px;
}

.highlight {
  color: var(--gold);
}

.steps + .ornament {
  margin-top: 31px;
  margin-bottom: 0;
}

.photo-grid.large,
.gallery-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.gallery-links {
  max-width: 980px;
  margin: 0 auto;
}

.photo-grid.thumbs {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 42px;
}

.photo-grid img,
.gallery-card img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.large img,
.gallery-card img {
  aspect-ratio: 1 / 1;
}

.thumbs img {
  aspect-ratio: 4 / 3;
  border: 2px solid var(--line-soft);
}

.upload-section {
  padding-top: 67px;
}

.upload-section .ornament {
  margin-bottom: 52px;
}

.upload-section h2 {
  margin-bottom: 31px;
}

.upload-gallery {
  width: min(980px, 100%);
  height: 684px;
  margin: 25px auto 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.upload-gallery::-webkit-scrollbar {
  display: none;
}

.upload-track {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(3, 226px);
  grid-auto-columns: 301px;
  gap: 3px;
  width: max-content;
}

.upload-item {
  position: relative;
  display: block;
  width: 301px;
  height: 226px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

.upload-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 220ms ease;
}

.upload-item:hover img,
.upload-item:focus img {
  transform: scale(1.06);
}

.upload-caption {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(39, 33, 30, 0.64);
  color: #fff;
  font-family: "Wix Futura", Arial, sans-serif;
  font-size: 15px;
  line-height: 18px;
  text-align: center;
  opacity: 0;
  transition: opacity 180ms ease;
}

.upload-item:hover .upload-caption,
.upload-item:focus .upload-caption {
  opacity: 1;
}

.gallery-card {
  position: relative;
  display: grid;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

.gallery-card span {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px;
  background: rgba(39, 33, 30, 0.6);
  color: var(--gold-bright);
  opacity: 0;
  transform: translateY(0);
  transition: opacity 160ms ease, transform 160ms ease;
  text-align: center;
}

.gallery-card strong {
  font-family: "Retro Gaming", "Courier New", monospace;
  color: var(--gold);
  font-size: 25px;
  line-height: 1.4em;
  font-weight: 400;
}

.gallery-card small {
  color: var(--text);
  font-size: 16px;
  line-height: normal;
}

.gallery-card:hover span,
.gallery-card:focus span {
  opacity: 1;
  transform: translateY(0);
}

.about-links {
  grid-template-columns: repeat(2, 485px);
  gap: 10px;
  justify-content: center;
}

.about-intro {
  display: grid;
  grid-template-columns: repeat(2, 490px);
  width: 980px;
  max-width: 100%;
  min-height: 295px;
  margin: 0 auto 46px;
}

.about-title-cell,
.about-copy {
  display: grid;
  align-content: center;
  text-align: center;
}

.about-title-cell {
  min-height: 295px;
  padding: 0 11px;
}

.egg {
  margin: 0;
  color: var(--muted);
  font-family: "Retro Gaming", "Courier New", monospace;
  font-size: 25px;
  line-height: normal;
}

.about-title-cell h2 {
  width: 100%;
  margin: 0;
  color: var(--gold);
  font-size: 41px;
  line-height: normal;
}

.about-copy {
  min-height: 295px;
  margin: 0;
  padding: 0 88px 0 89px;
  background: rgba(250, 250, 250, 0.1);
  color: var(--muted);
  font-size: 16px;
  line-height: normal;
}

.about-copy p {
  margin: 0;
}

.gallery-masonry {
  width: min(980px, 100%);
  margin: 0 auto;
  columns: 2 376px;
  column-gap: 10px;
  text-align: left;
}

.about-gallery-scroll {
  width: min(984px, 100%);
  height: 556px;
  margin: 0 auto;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.about-gallery-scroll::-webkit-scrollbar {
  display: none;
}

.about-masonry {
  display: flex;
  gap: 4px;
  width: max-content;
  height: 556px;
  margin: 0;
  columns: initial;
  column-gap: initial;
}

.about-gallery-pack {
  display: grid;
  flex: 0 0 1445px;
  height: 556px;
  grid-template-columns: repeat(30, calc((1445px - 116px) / 30));
  grid-template-rows: repeat(12, calc((556px - 44px) / 12));
  gap: 4px;
}

.gallery-photo {
  display: block;
  break-inside: avoid;
  margin: 0 0 10px;
}

.gallery-photo img {
  width: 100%;
  display: block;
}

.about-masonry .gallery-photo {
  margin: 0;
  width: auto;
  height: auto;
  overflow: hidden;
}

.about-masonry .gallery-photo img,
.about-masonry .gallery-photo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-video {
  position: relative;
}

.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.48);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.video-play::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 13px;
  border-left: 16px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.about-photo-1,
.about-photo-2 {
  grid-column: span 5;
  grid-row: span 4;
}

.about-photo-1 {
  grid-column: 1 / span 5;
  grid-row: 1 / span 4;
}

.about-photo-2 {
  grid-column: 6 / span 5;
  grid-row: 1 / span 4;
}

.about-photo-3 {
  grid-column: 1 / span 10;
  grid-row: 5 / span 8;
}

.about-photo-4 {
  grid-column: 11 / span 9;
  grid-row: 1 / span 7;
}

.about-photo-5 {
  grid-column: 11 / span 6;
  grid-row: 8 / span 5;
}

.about-photo-6 {
  grid-column: 17 / span 3;
  grid-row: 8 / span 5;
}

.about-photo-7 {
  grid-column: 20 / span 11;
  grid-row: span 8;
}

.about-photo-8 {
  grid-column: 20 / span 5;
  grid-row: 9 / span 4;
}

.about-photo-9 {
  grid-column: 25 / span 5;
  grid-row: 9 / span 4;
}

.guestbook-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 42px;
  text-align: left;
  background:
    linear-gradient(var(--divider), var(--divider)) top left / 100% 1px no-repeat,
    linear-gradient(var(--divider), var(--divider)) left 7px / 100% 4px no-repeat,
    rgba(3, 35, 27, 0.5);
  border-top: 0;
  padding: 59px 48px 48px;
}

.guestbook-layout aside {
  text-align: center;
  padding: 24px;
}

.messages {
  gap: 14px;
}

.messages article {
  position: relative;
  background: rgba(0, 0, 0, 0.72);
  padding: 18px 22px 18px 86px;
  border-radius: 4px;
  font-family: "Retro Gaming", "Courier New", monospace;
  font-weight: 400;
  line-height: normal;
}

.message-avatar {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 50px;
  height: 50px;
  object-fit: cover;
  background: #e8e8e8;
  border-radius: 4px;
  opacity: 0.9;
}

.message-body {
  min-height: 50px;
}

.messages p {
  margin: 0 0 10px;
}

.messages span {
  color: var(--muted);
}

.guestbook-emoji {
  width: 28px;
  height: 28px;
  display: inline-block;
  vertical-align: -0.35em;
}

.message-attachment {
  display: block;
  margin: 12px 0;
}

.message-attachment img {
  display: block;
  max-width: 100%;
  max-height: 400px;
  border-radius: 4px;
}

.heart {
  color: var(--pink);
}

footer {
  min-height: 300px;
  border-top: 0;
  border-bottom: 0;
  gap: 20px;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 11px;
  background:
    linear-gradient(var(--divider), var(--divider)) top left / 100% 1px no-repeat,
    linear-gradient(var(--divider), var(--divider)) left 7px / 100% 4px no-repeat;
}

footer h2 {
  margin-bottom: 12px;
}

footer p {
  margin: 28px 0 0;
  color: var(--gold);
  font-size: 1.4rem;
}

footer small {
  display: block;
}

@media (max-width: 820px) {
  .nav {
    justify-content: flex-start;
    gap: 20px;
  }

  .language {
    right: 12px;
  }

  .program {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .program > div:nth-child(3n + 1),
  .program > div:nth-child(3n) {
    color: var(--muted);
  }

  .about-intro {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .about-copy {
    padding: 36px 24px;
  }

  .split,
  .mode-grid,
  .how-grid,
  .steps,
  .photo-grid.large,
  .gallery-links,
  .about-links,
  .guestbook-layout {
    grid-template-columns: 1fr;
  }

  .guestbook-layout {
    padding: 24px;
  }

  .step-row {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 24px;
  }

  .step-row img {
    width: 100%;
    height: auto;
  }

  .step-copy {
    width: 100%;
    margin-top: 20px;
  }

  .messages article {
    padding-left: 22px;
  }

  .message-avatar {
    position: static;
    display: block;
    margin-bottom: 12px;
  }
}
