@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@property --accent {
  syntax: "<color>";
  initial-value: rgb(185, 163, 136);
  inherits: false;
}
@keyframes slide-life-cycle {
  0% {
    opacity: 0;
  }
  45% {
    opacity: 0.6;
  }
  55% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
  }
}
@keyframes none-more-gold {
  0% {
    --accent: rgb(185, 163, 136);
  }
  100% {
    --accent: rgb(191, 177, 105);
  }
}
@keyframes slide-life-cycle-with-rotation {
  0% {
    opacity: 0;
    --angle: 0deg;
  }
  25% {
    opacity: 0.8;
    --angle: 0deg;
  }
  50% {
    opacity: 0.8;
    --angle: 0deg;
  }
  75% {
    opacity: 0.8;
    --angle: 5deg;
  }
  100% {
    opacity: 0;
    --angle: 10deg;
  }
}
@keyframes ray-rotation-fallback {
  0% {
    --angle: 0deg;
  }
  100% {
    --angle: 60deg;
  }
}
@keyframes title-scale {
  0% {
    scale: 1;
  }
  50% {
    scale: 1;
  }
  100% {
    scale: 0.4;
  }
}
@keyframes speech-bubble-position {
  0% {
    transform: translateX(0%) translateY(0%) rotateZ(0deg);
  }
  75% {
    transform: translateX(0%) translateY(0%) rotateZ(0deg);
  }
  100% {
    transform: translateX(100%) translateY(-150%) rotateZ(90deg);
  }
}
* {
  box-sizing: border-box;
}

:root {
  --accent: rgb(185, 163, 136);
  --background: rgb(34, 34, 34);
  --font-size: max(16px, 2.5vmin);
  --border-radius: 1.4em;
  --line-height: 1.4;
  --angle: 0deg;
}

@media (min-width: 640px) {
  :root {
    --font-size: 1.5rem;
  }
  #faq {
    padding: 0 5rem;
  }
}
@media (max-width: 85ch) {
  #faq {
    padding: 0 5vw;
  }
}
body {
  padding-bottom: 5rem;
  font-size: var(--font-size);
  line-height: var(--line-height);
  animation: none-more-gold linear;
  animation-timeline: scroll(nearest);
}

.split {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  justify-content: center;
  margin: 0 2rem;
}

@media (min-width: 640px) {
  .split {
    display: grid;
    gap: 1rem;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 1fr;
  }
}
.split__half {
  padding: 0 min(5vw, 1rem);
}
.split__half--rsvp {
  text-align: center;
}
.split__half > *:first-child {
  margin-top: 0;
}

.lodging-item span {
  font-style: italic;
  display: block;
}

body {
  margin: 0;
  font-family: sans-serif;
  font-family: "century-gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color: #222;
  color: var(--accent);
}

main section {
  max-width: min(80vw, 800px);
  margin: 0 auto;
}

#backgrounds {
  position: fixed;
  z-index: -1;
  max-width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#backgrounds > div {
  opacity: 0;
}

.slide {
  min-height: 100vh;
  width: 100vw;
  max-width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid transparent;
  position: relative;
}

body {
  timeline-scope: --info-timeline, --title-timeline;
}

#info {
  view-timeline: --info-timeline;
  overflow: clip;
}

#title {
  view-timeline: --title-timeline;
}

@supports not (view-timeline: --title-timeline) {
  #title {
    --ray-color: rgba(185, 163, 136, 0.05);
    animation: ray-rotation-fallback linear 60s infinite;
    background: repeating-conic-gradient(from var(--angle) at 50% 200%, var(--ray-color) 0deg 10deg, transparent 10deg 20deg);
  }
  @media (max-width: 640px) {
    #title {
      background: repeating-conic-gradient(from var(--angle) at 50% 120%, var(--ray-color) 0deg 10deg, transparent 10deg 20deg);
    }
  }
}
@supports (animation-range: entry exit) {
  .background-venue {
    animation: slide-life-cycle linear;
    animation-timeline: --info-timeline;
    animation-range: entry exit;
  }
  #title h1 {
    animation: title-scale ease-in-out;
    animation-timeline: --title-timeline;
    animation-range: entry exit;
  }
}
@supports not (animation-range: entry exit) {
  #info {
    background-image: linear-gradient(180deg, rgb(34, 34, 34) 0%, rgba(34, 34, 34, 0.75) 20%, rgba(34, 34, 34, 0.5) 100%), url(./images/lakefront-airport-close-up.jpg);
    background-size: cover;
    background-position: 50% 50%;
  }
}
.location-meta {
  box-shadow: 0 0 0 1px var(--accent), 0 0 0 6px var(--background), 0 0 0 9px var(--accent);
  border-radius: var(--border-radius);
  text-align: center;
  text-shadow: 1px 1px 2px #222;
  background-color: rgba(34, 34, 34, 0.75);
  margin: 0 auto;
  max-width: fit-content;
  padding: 1.5rem 2rem;
}

.link-rsvp {
  box-shadow: 0 0 0 1px var(--accent), 0 0 0 6px var(--background), 0 0 0 9px var(--accent);
  display: block;
  border-radius: var(--border-radius);
  text-align: center;
  text-shadow: 1px 1px 2px #222;
  background-color: rgba(34, 34, 34, 0.75);
  margin: 0 auto;
  max-width: fit-content;
  padding: 1.5rem 2rem;
}

.intro {
  position: absolute;
  inset: 1rem;
  bottom: auto;
  top: 1rem;
}
.intro > p {
  font-style: italic;
  text-align: center;
  max-width: max(300px, 50vw);
  margin: 1rem auto;
}

#map {
  margin-top: 3rem;
  width: 100vw;
  min-height: 40vh;
}

.background-title {
  animation: slide-life-cycle-with-rotation linear;
  animation-timeline: --title-timeline;
  animation-range: entry exit;
  position: fixed;
  inset: auto;
  width: 100vw;
  height: 100vh;
  overflow: clip;
  z-index: 1;
  --ray-color: rgba(185, 163, 136, 0.05);
  background: repeating-conic-gradient(from var(--angle) at 50% 200%, var(--ray-color) 0deg 10deg, transparent 10deg 20deg);
  background-position: 50% 0%;
}

@media (max-width: 480px) {
  .background-title {
    top: -300vw;
  }
}
.background-venue {
  animation: slide-life-cycle linear;
  animation-timeline: --info-timeline;
  animation-range: entry exit;
  max-width: 100vw;
  width: 100vw;
  position: absolute;
  bottom: 0;
}
.background-venue:before {
  position: absolute;
  content: " ";
  min-height: 50vh;
  min-width: 100vw;
  z-index: 1;
  top: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgb(34, 34, 34) 0%, rgba(34, 34, 34, 0.5) 20%, rgba(34, 34, 34, 0) 100%);
}
.background-venue > img {
  max-width: 100vw;
  min-width: 100vw;
  min-height: 100vh;
  max-height: 100vh;
  object-fit: cover;
}

h1 {
  font-family: "mendl-sans-dawn", sans-serif;
  font-weight: 700;
  font-style: normal;
  text-align: center;
  font-size: 3.5em;
}
h1 span {
  display: block;
  line-height: 100%;
}
h1 span:has(small) {
  line-height: 0.4em;
  font-size: 0.4em;
}

h2 {
  line-height: 100%;
}

h3, h4, h5, h6 {
  line-height: 125%;
}

section header h2 {
  font-family: "mendl-sans-dusk", sans-serif;
  font-weight: 900;
  font-style: normal;
  font-size: 5rem;
  text-align: center;
}

h3 {
  font-size: 1.4em;
  margin-top: 2em;
  margin-bottom: 1em;
}
h3:first-child {
  margin-top: 0;
}

a {
  color: inherit;
  font-weight: 600;
}

blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 2rem;
  margin-left: 2rem;
  font-size: 90%;
}

#faq {
  margin: 0 auto;
  max-width: 80ch;
}
#faq p {
  line-height: 1.6;
}

.speech-bubble {
  --tail-size: 20px;
  --border-size: 3px;
  --border-size-unitless: 3;
  font-size: 0.9em;
  transform-origin: 100% 0%;
  position: absolute;
  width: min(500px, 90vw);
  top: 1rem;
  right: 1rem;
  border: var(--border-size) solid var(--accent);
  border-radius: 1.4em;
  margin-top: var(--tail-size);
  background: var(--background);
  color: var(--accent);
}
.speech-bubble p {
  font-style: italic;
}

ul {
  margin-left: 0;
  padding-left: 0;
}
ul li {
  margin: 0 0 1rem;
}

@supports (animation-range: entry exit) {
  .speech-bubble {
    position: fixed;
    animation: speech-bubble-position ease-in-out;
    animation-timeline: --title-timeline;
    animation-range: entry exit;
    animation-fill-mode: forwards;
  }
}
@supports not (animation-range: entry exit) {
  .speech-bubble {
    position: absolute;
  }
}
.bubble-content {
  padding: 0.5rem 1rem;
}

.bubble-tail {
  position: absolute;
  top: calc(-1 * var(--tail-size) + var(--border-size) / 2);
  right: 40px;
  height: 20px;
  width: 20px;
}