@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Oswald:wght@200..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");
* {
  margin: 0;
  box-sizing: border-box;
  text-align: center;
}

html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  background-color: #ffffff;
}

#stage {
  width: 100%;
  height: 100%;
}

.booklet-shell {
  width: 100%;
  height: 100%;
}

#app-container {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  position: relative;
  background-color: #ffffff;
}

.nav-arrow,
#page-indicator {
  display: none;
}

.birthday-container {
  background-image: url("./assets/background.png");
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5em;
}
.birthday-container .birthday-card-content {
  background-color: white;
  padding: 2em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1em;
  border: 5px solid black;
  box-shadow: 0px 0px 20px 5px pink;
}

#page-track {
  display: flex;
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
}

.page {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.22) transparent;
}
.page::-webkit-scrollbar {
  width: 5px;
}
.page::-webkit-scrollbar-track {
  background: transparent;
}
.page::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.22);
  border-radius: 999px;
}

#page-cover {
  justify-content: space-between;
  padding-bottom: 0.35em;
}
#page-cover .main-image {
  margin: 0.75em 1em;
  border: none;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  max-width: calc(100% - 2em);
}
#page-cover .main-image img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  background-color: #000000;
  border: 1px solid black;
}

.header {
  background-color: #fde513;
  padding: 0.85em 1em;
  margin: 1em 1em 0 1em;
  border: 1px solid black;
  text-align: center;
  flex-shrink: 0;
}
.header .logo img {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-height: 52px;
  object-fit: contain;
}
.header .show-details {
  font-size: x-small;
  margin-top: 0.25em;
}

.main-image {
  margin: 1em;
  border: 1px solid black;
}
.main-image img {
  display: block;
  width: 100%;
}

.playbill-songs-container {
  margin-top: 1em;
}
.playbill-songs-container .act-title {
  font-family: "Lora", serif;
}
.playbill-songs-container .song-name {
  font-family: "Playfair Display", serif;
}

.billing {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  padding: 1.5em 1em;
  border: 1px solid black;
  margin: 1em;
  font-family: "Lora", serif;
}
.billing .division {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35em 1em;
  text-align: center;
  margin: 0.4em 0;
}
.billing .interests {
  gap: 0.85em;
}
.billing .thanks {
  gap: 0.85em;
}
.billing p {
  font-size: x-small;
}

.container,
.billing {
  background-color: white;
}

.container {
  flex-grow: 1;
  margin: 1rem;
  border: 1px solid black;
  padding: 1.75em 1.25em;
}
.container .director-note-container {
  gap: 0.65em;
  display: flex;
  flex-direction: column;
  font-size: small;
  line-height: 1.5;
  margin-top: 1.5em;
  align-items: flex-start;
  font-family: "Playfair Display", serif;
}
.container .ads-container {
  margin-top: 1em;
}
.container .ads-container img {
  width: 100%;
}
.container .ads-container .centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fde513;
  color: #000000;
  border: 1px solid black;
  padding: 0.5em 1em;
  font-size: small;
  font-weight: bold;
  font-family: "Oswald", sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  animation: pulse 2s infinite ease-in-out;
}
.container .song-name,
.container .cast-names {
  font-size: 0.8rem;
}
.container .act-title {
  font-weight: bold;
  font-size: small;
  margin-top: 1.1em;
  margin-bottom: 0.5em;
}
.container .song-row {
  display: flex;
  align-items: baseline;
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.container .song-name {
  white-space: nowrap;
  color: #1a3fb8;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 1px 4px;
  margin-left: -4px;
  border-radius: 2px;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.container .song-name:hover {
  background-color: #fde513;
  color: #000000;
}
.container .song-name:focus-visible {
  outline: 2px solid #000000;
  outline-offset: 2px;
}
.container .leader-dots {
  flex-grow: 1;
  border-bottom: 1px dotted #999;
  margin: 0 10px;
  position: relative;
  top: -4px;
}

.ad-page-container {
  padding: 1em;
  flex: 1 1 0%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.ad-page-container .ads-container {
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 0.65em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.5em;
}
.ad-page-container .carousel-wrapper,
.ad-page-container .ad-image-wrapper {
  position: relative;
  flex: 1 1 auto;
  min-height: 180px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ad-page-container .carousel-wrapper img,
.ad-page-container .ad-image-wrapper img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.ad-page-container #carousel-img {
  cursor: pointer;
}
.ad-page-container .ad-footer {
  flex-shrink: 0;
}

#song-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.55);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.swipe-hint {
  background-color: #fde513;
  color: #000000;
  border: 1px solid black;
  padding: 0.5em 1.1em;
  margin: 0.25em auto 0.6em;
  font-size: small;
  font-weight: bold;
  font-family: "Oswald", sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  cursor: pointer;
  flex-shrink: 0;
  animation: bounceRight 2s infinite;
  transition: background-color 0.2s ease;
}
.swipe-hint .hint-desktop {
  display: none;
}
.swipe-hint:hover {
  background-color: #fff054;
}
.swipe-hint:focus-visible {
  outline: 2px solid #000000;
  outline-offset: 2px;
}

@keyframes bounceRight {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(0);
  }
  40% {
    transform: translateX(8px);
  }
  60% {
    transform: translateX(4px);
  }
}
@keyframes pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.06);
  }
}
.song-modal {
  background-color: white;
  padding: 2em;
  border: 1px solid black;
  width: min(86vw, 400px);
  max-height: 82vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0px 0px 20px 5px pink;
  margin: 1.5em;
}

.song-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  font-weight: bold;
  color: #000000;
  padding: 4px 8px;
}
.song-modal-close:hover {
  opacity: 0.7;
}

.song-modal-content {
  margin-top: 1em;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #333;
  font-family: "Lora", serif;
  text-align: justify;
}

@media (min-width: 540px) {
  .swipe-hint .hint-touch {
    display: none;
  }
  .swipe-hint .hint-desktop {
    display: inline;
  }
  body {
    background: radial-gradient(circle at 50% 42%, #2b2723 0%, #191613 68%, #100e0c 100%);
  }
  #stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    padding: 18px 20px;
  }
  .booklet-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 2vw, 20px);
    width: auto;
    height: auto;
    max-width: 100%;
  }
  #app-container {
    width: min(100vw - 128px, clamp(340px, 50dvh, 440px));
    height: min(100dvh - 96px, 780px);
    border-radius: 3px;
    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.6), 0 8px 20px rgba(0, 0, 0, 0.4);
  }
  #app-container::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 20;
    box-shadow: inset 10px 0 18px -12px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(0, 0, 0, 0.14);
  }
  .container .song-name,
  .container .cast-names {
    font-size: 0.9rem;
  }
  .container .song-row {
    margin-bottom: 16px;
  }
  .nav-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
  }
  .nav-arrow:hover:not(:disabled) {
    background-color: #fde513;
    color: #000000;
    border-color: #000000;
    transform: scale(1.06);
  }
  .nav-arrow:active:not(:disabled) {
    transform: scale(0.96);
  }
  .nav-arrow:focus-visible {
    outline: 2px solid #fde513;
    outline-offset: 3px;
  }
  .nav-arrow:disabled {
    opacity: 0.22;
    cursor: default;
  }
  #page-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
  }
  .page-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.34);
    cursor: pointer;
    transition: width 0.25s ease, background-color 0.2s ease;
  }
  .page-dot:hover {
    background-color: rgba(255, 255, 255, 0.72);
  }
  .page-dot.active {
    width: 22px;
    background-color: #fde513;
  }
  .page-dot:focus-visible {
    outline: 2px solid #fde513;
    outline-offset: 2px;
  }
  .page-label {
    margin-left: 6px;
    font-family: "Oswald", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
    white-space: nowrap;
  }
}

/*# sourceMappingURL=main.css.map */
