@font-face {
  font-family: 'KantumruyPro';
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  src: url('./font/KantumruyPro-VariableFont_wght.woff2') format('woff2');
}

/* ExtraLight (200) */
@font-face {
  font-family: 'KantumruyPro';
  font-weight: 200;
  font-style: normal;
  font-display: swap;
  src: url('./font/KantumruyPro-ExtraLight.woff2') format('woff2');
}

/* Light (300) */
@font-face {
  font-family: 'KantumruyPro';
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url('./font/KantumruyPro-Light.woff2') format('woff2');
}

/* Regular (400) */
@font-face {
  font-family: 'KantumruyPro';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('./font/KantumruyPro-Regular.woff2') format('woff2');
}

/* Medium (500) */
@font-face {
  font-family: 'KantumruyPro';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('./font/KantumruyPro-Medium.woff2') format('woff2');
}

/* SemiBold (600) */
@font-face {
  font-family: 'KantumruyPro';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('./font/KantumruyPro-SemiBold.woff2') format('woff2');
}

/* Bold (700) */
@font-face {
  font-family: 'KantumruyPro';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('./font/KantumruyPro-Bold.woff2') format('woff2');
}

/* Variable Font (A range of weights) */
@font-face {
  font-family: 'KantumruyPro';
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url('./font/KantumruyPro-VariableFont_wght.woff2') format('woff2');
}

body {
  font-family: 'KantumruyPro', Arial sans-serif !important;
  font-optical-sizing: auto;
  font-style: normal;
  max-width: 1200px;
  margin: 0 auto;
}




html {
  scroll-behavior: smooth
}

html,
body {
  height: 100vh
}

.container {
  max-width: 100%;
  overflow-x: hidden
}

.h-screen-l {
  height: 100lvh
}

.w-full {
  width: 100%
}

.fs-7 {
  font-size: .9rem
}

.bg-image {
  max-width: 1200px;
  width: 100%;
  /* responsive */
  aspect-ratio: 1200 / 938;
  position: fixed;
  height: 100vh;
  background: url("../images/bg_page1.webp") center/cover no-repeat;
  z-index: -1;
}

.bg-image2 {
  position: fixed;
  width: 100%;
  height: 100vh;
  aspect-ratio: 1200 / 938;
  background: url("../images/bg2.webp") center/cover no-repeat;
  z-index: -1;
}

.responsive-img {
  max-width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  /* matches width/height attributes */
}


.hero-logo {
  position: absolute;
  bottom: 8rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
}

.hero-logo img {
  aspect-ratio: 10/1, ;
  height: auto;
}

.resizable-box {
  width: 80%;
  height: 50px;
  overflow: hidden
}

.guest {
  font-size: clamp(16px, 5vw, 48px);
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  line-height: 1.2;
  margin: 0;
  color: #a57c52
}

#popup-video {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
}

#popup-page,
#scrollable-page {
  opacity: 0;
  display: none;
  transition: opacity .3s ease-in-out
}

#popup-page {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  justify-content: center;
  align-items: center;
  z-index: 999
}

.custom-btn {
  background-color: transparent;
  border: 2px solid #C7A754;
  color: #C7A754;
  font-size: .875rem;
  padding: .5rem 1rem;
  border-radius: .5rem;
  text-transform: uppercase;
  font-weight: 700;
  transition: all .3s ease
}

.custom-btn:hover {
  background-color: #C7A754;
  color: #fff
}

text {
  fill: #C7A754;
  font-size: 1.5rem
}

.hidden {
  display: none !important
}

.scroll-hint {
  transition: all .8s ease-in-out
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(6px)
  }
}

.z-3 {
  z-index: 50
}

.min-h-screen-s,
.min-h-svh {
  min-height: 100svh
}

.arrow-icon {
  animation: bounce 1.2s infinite;
  transition: opacity .3s ease-in-out
}

.slide-in {
  opacity: 0;
  transform: translateY(-80px);
  transition: transform 1.2s cubic-bezier(.25, 1, .5, 1), opacity 1.2s ease
}

.slide-in.visible {
  opacity: 1;
  transform: translateY(0)
}

.animation_btn {
  transition: transform .3s ease-in-out;
  background-color: transparent;
  animation: pulse 2.5s infinite ease-in-out
}

@keyframes pulse {
  0% {
    transform: scale(.97)
  }

  50% {
    transform: scale(1)
  }

  100% {
    transform: scale(.97)
  }
}

.transition {
  transition: all .3s ease-in-out
}

.slide-in-left,
.slide-in-right {
  opacity: 0;
  transition: transform 1s ease-out, opacity 1s ease-out;
  will-change: transform, opacity
}

.slide-in-left {
  transform: translateX(-60px)
}

.slide-in-right {
  transform: translateX(60px)
}

.slide-in-visible {
  transform: translateX(0) translateY(0);
  opacity: 1
}

.pop-up-on-scroll {
  opacity: 0;
  transform: scale(.8);
  transition: all .6s ease-out;
  will-change: transform, opacity
}

.pop-up-visible {
  opacity: 1;
  transform: scale(1)
}

.custom-btn {
  border: 1.5px solid #333366;
  color: #333366;
  background-color: transparent;
  margin-top: 10px;
  padding: .3rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all .3s ease
}

.custom-btn:hover {
  background-color: #333366;
  color: #fff
}

.btn-01 {
  width: 220px;
  height: 40px;
  overflow: hidden
}

.btn-audio {
  width: 50px;
  height: 50px;
  border: 2px solid #333366;
  background-color: #fff;
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 1050
}

@media (max-width:768px) {
  .hero {
    height: 70vh
  }
}

.text-box {
  background-color: rgba(252, 251, 244, .71);
  color: #333366;
  margin: 0 30px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s ease, transform .9s ease
}

.text-box.show {
  opacity: 1;
  transform: translateX(0)
}

.event-icon {
  color: #333366;
  width: 4.5rem;
  height: 4.5rem;
  top: -1.5rem
}

.timeline {
  position: relative;
  max-width: 600px;
  margin: 0 auto
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #d19b4c;
  transform: translateX(-50%)
}

.event {
  color: #9c4f38
}

.time {
  color: #333366
}

.hand {
  width: 40px;
  position: absolute;
  transform: translateX(50%) translateY(0);
  cursor: pointer;
  animation: handPress 1.5s infinite cubic-bezier(.65, 0, .35, 1);
}

@keyframes handPress {
  0% {
    transform: translate(80px, -10px) scale(1)
  }

  25% {
    transform: translate(80px, -6px) scale(.97)
  }

  40% {
    transform: translate(80px, -4px) scale(.95)
  }

  60% {
    transform: translate(80px, -6px) scale(.97)
  }

  75% {
    transform: translate(80px, -8px) scale(.99)
  }

  100% {
    transform: translate(80px, -10px) scale(1)
  }
}

.large-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  cursor: pointer;
  transition: transform .3s ease;
  object-fit: cover
}

.large-image:hover {
  transform: scale(1.05)
}

.small-image {
  width: calc(50% - 5px);
  border-radius: 10px;
  cursor: pointer;
  transition: transform .3s ease;
  object-fit: cover
}

.small-image:hover {
  transform: scale(1.05)
}

.images {
  width: 100%;
  max-width: 430px;
  margin: 20px auto;
  padding: 10px;
  box-sizing: border-box
}

.gallery {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box
}

.rows {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px
}

.row img:hover {
  transform: scale(1.05)
}

.large-image {
  width: 100%;
  height: auto
}

.small-image {
  width: 50%;
  height: auto
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1e3
}

.lightbox.hidden {
  display: none
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1001
}

.prev-btn,
.next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  color: #fff;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  z-index: 1001
}

.prev-btn {
  left: 20px
}

.next-btn {
  right: 20px
}

.prev-btn:hover,
.next-btn:hover {
  background-color: rgba(255, 255, 255, .2)
}

.large-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  cursor: pointer;
  transition: transform .3s ease;
  object-fit: cover
}

.large-image:hover {
  transform: scale(1.05)
}

.small-image {
  width: calc(50% - 5px);
  border-radius: 10px;
  cursor: pointer;
  transition: transform .3s ease;
  object-fit: cover
}

.small-image:hover {
  transform: scale(1.05)
}

.tooltip.show {
  opacity: 0;
}

#start-button {
  width: 430px;
  height: 932px;
  /* reserve button space */
}

#audioToggle {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}