@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Corinthia:wght@400;700&family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Dancing+Script:wght@400..700&family=Gwendolyn:wght@400;700&family=Mea+Culpa&family=MonteCarlo&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

html,
body {
  background:
    radial-gradient(ellipse at top, #5A86AD, transparent),
    radial-gradient(ellipse at bottom, #B2AC88, transparent);
  width: 100%;
  margin: 0;
  font-family: "Cormorant Garamond", sans-serif;
}

h1 {
  font-size: 48px;
  line-height: 58px;
  margin: 12px;
  font-family: "Gwendolyn";
  /* font-family: "Alex Brush"; */
  /* font-family: "Corinthia"; */
  /* font-family: "Dancing Script"; */
  /* font-family: "Mea Culpa"; */
  /* font-family: "MonteCarlo"; */
}

p,
div,
span {
  font-size: 18px;
  line-height: 24px;
  /* margin: 6px 0; */
}

main {
  margin: 0 auto;
  padding-left: 22px;
  padding-right: 22px;
  position: relative;
}

button {
  background-color: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
}

header,
footer {
  backdrop-filter: blur(20px);
  background-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

header {
  border-radius: 0 0 12px 12px;
  position: sticky;
  top: 0;
  z-index: 1;
  margin: 0 auto;
  height: auto;
  width: auto;
  transition: all 500ms ease-in-out;
}

header nav {
  text-align: center;
}

header button,
footer button {
  color: #3c4043;
  font-weight: 600;
  font-size: 18px;
  margin: 11px 8px;
  line-height: 26px;
}

#menu {
  display: none;
  cursor: pointer;
  padding: 9px 0;
  line-height: 30px;
}

.carousel {
  width: 100%;
  margin-top: -52px;
  position: sticky;
  top: 0;
  overflow: hidden;
}

.carousel-internal {
  display: flex;
  width: max-content;
  animation: scrolling 45s linear infinite;
  animation-delay: 3s;
}

@keyframes scrolling {
  0% {
    transform: translateX(0);
  }

  100% {
    /* Moves the content its full width (half of the duplicated container) */
    transform: translateX(-50%);
  }
}

.carousel:hover .carousel-internal {
  animation-play-state: paused;
}

main,
.carousel-internal img {
  width: 85vw;
  max-width: 1000px;
}

.main-content {
  background-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 28px;
  backdrop-filter: blur(2px);
  margin: 0 0 24px;
  scroll-margin-top: 52px;
  scroll-behavior: smooth;
}

.content {
  background-color: rgba(255, 255, 240, 0.65);
  border-radius: 8px;
  padding: 16px 22px 28px;
  text-align: center;
  overflow: hidden;
  visibility: visible;
  transition: all 500ms ease-in-out;
  /* experimental */
  transition-behavior: allow-discrete;
}

footer {
  border-radius: 12px 12px 0 0;
}

footer nav {
  text-align: right;
}

.hide {
  display: none;
  visibility: hidden;
  color: transparent;
  /* transition: all 500ms ease-in-out; */
  /* experimental */
  /* transition-behavior: allow-discrete; */
}

.welcome-details,
.welcome-note,
.event-details {
  display: flex;
}

.welcome-thankyou .sbs-details {
  font-style: italic;
}

.sbs-50-50 {
  width: 50%;
  max-width: 50%;
  display: inline-block;
  box-sizing: border-box;
}

.sbs-details {
  padding: 0 24px;
}

.placeholder-img {
  background-color: #3c4043;
  vertical-align: top;
  border-radius: 4px;
  min-height: 50px;
  object-fit: cover;
}

.tmp-img {
  width: 150px;
  height: 150px;
}

.inline-img {
  display: inline;
  margin: 6px 10px 0;
}

.inline-img p {
  font-size: 12px;
  font-style: italic;
  margin: 0;
  text-align: center;
  line-height: 18px;
}

.inline-tab-link {
  display: inline;
}

.inline-tab-link button {
  border: none;
  text-decoration: underline;
  color: blue;
  background: none;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
}

.footnote {
  font-style: italic;
  font-size: small;
}

.tagline {
  margin: 16px 0;
}

.ceremony-details {
  display: flex;
}

.ceremony-details table {
  margin: auto;
}

.ceremony-details th {
  border-bottom: 1px solid gray;
}

.ceremony-date,
.ceremony-details tfoot td {
  padding-top: 18px;
}

.venue-map {
  border-radius: 8px;
  border: 1px solid lightgray;
  height: 100%;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}

.event-details p {
  margin: 4px auto;
}

.granular-timeline .d-hide {
  display: none;
}

.granular-timeline td {
  text-align: left;
  vertical-align: top;
  padding: 6px 12px;
}

.granular-timeline td p {
  margin: 0;
}

.granular-timeline td p:nth-child(2) {
  font-weight: bold;
}

.granular-timeline .time {
  white-space: nowrap;
}

.granular-timeline td:first-child {
  text-align: right;
}

.granular-timeline td:nth-child(3) {
  white-space: revert;
}

.story-block {
  padding: 24px;
  text-align: justify;
  font-size: 18px;
  line-height: 26px;
}

.content[data-name="travel"] p {
  text-align: left;
}

.airports {
  margin: 0 auto;
  border-spacing: 6px;
}

.airports td {
  padding-left: 12px;
}

.logo {
  padding: 8px;
  border-radius: 12px;
  max-width: 100px;
}

@media (max-width: 800px) {
  .welcome-note {
    display: block;
  }

  .welcome-note .sbs-50-50 {
    width: 80%;
    max-width: 80%;
  }
}

@media (max-width: 500px) {
  header {
    overflow: hidden;
    height: 48px;
    width: 48px;
    margin: 0 0 0 auto;
    border-radius: 12px;
    top: 8px;
    right: 8px;
    position: fixed;
  }

  header button {
    display: block;
  }

  header br {
    display: none;
  }

  #menu {
    display: block;
  }

  header.expanded {
    height: auto;
    /* fallback */
    height: calc-size(auto, size);
    width: fit-content;
    /* fallback */
    width: calc-size(fit-content, size);
    transition: all 500ms ease-in-out;
  }

  main::before {
    display: none;
  }

  .main-content {
    padding: 8px;
    margin-top: 32px;
  }

  .carousel-internal img {
    width: 100vw;
  }

  .content {
    padding: 8px;
  }

  main {
    width: 100%;
    padding: 0;
  }

  .welcome-details,
  .welcome-note,
  .event-details {
    display: block;
  }

  .sbs-50-50 {
    width: 100%;
    max-width: 100%;
  }

  .story-block {
    padding: 0;
  }

  .inline-img {
    min-width: 45%;
  }

  .granular-timeline .time {
    white-space: revert;
  }

}