@import url("mzf-theme.css");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


body {
  font-family: var(--font-site-body, 'LTWave', system-ui, sans-serif);
  background-color: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overscroll-behavior: none;
}

#mzf-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  background-image: var(--gambar-bg-portrait);
  background-size: cover;
  background-position: top center;
  background-attachment: scroll;
  z-index: -2;
}

.mzf-background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  z-index: -1;
  background-image: var(--gambar-bg-landscape);
  background-size: cover;
  background-position: top center;
  background-attachment: scroll;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

@media (orientation: landscape) {
  .mzf-background-overlay {
    opacity: 1;
  }
}


#mzf-loading {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-bg);
  z-index: 9999;
}

span.mzf-loading-wave {
  height: 30px;
  width: 7px;
  margin: 5px;
  background-color: var(--color-second);
  animation: loading 1s linear infinite;
  z-index: 999;
}

span.mzf-loading-wave:nth-child(1) {
  animation-delay: 0.1s;
}

span.mzf-loading-wave:nth-child(2) {
  animation-delay: 0.2s;
}

span.mzf-loading-wave:nth-child(3) {
  animation-delay: 0.3s;
}

span.mzf-loading-wave:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes loading {
  0% {
    height: 0;
  }

  25% {
    height: 25px;
  }

  50% {
    height: 50px;
  }

  100% {
    height: 0;
  }
}

/* =========================
   TOP DESIGN
========================= */

#mzf-top-design {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 0;
  opacity: 0;
  animation: fadeInDown_Style 2s forwards;
  animation-delay: 1800ms;
  pointer-events: none;
}

#mzf-top-design-warp {
  width: 100%;
  display: flex;
}

.mzf-header-kiri,
.mzf-header-kanan {
  flex: 1;

  background-size: contain;
  background-repeat: no-repeat;
}


.mzf-header-kiri {
  background-image: var(--gambar-header-kiri);
  aspect-ratio: 430/710;
  height: clamp(5rem, 40vmin, 50rem);
  background-position: left top;
  animation: pulse-2 4s ease-in-out infinite;
}

.mzf-header-kanan {
  background-image: var(--gambar-header-kanan);
  aspect-ratio: 405/354;
  height: clamp(5rem, 20vmin, 50rem);
  background-position: right top;
  animation: pulse-1 6s ease-in-out infinite;
}

/* =========================
   BOTTOM DESIGN
========================= */

#mzf-bottom-design {
  position: fixed;
  bottom: 0;
  width: 100%;
  pointer-events: none;

}

#mzf-bottom-design-warp {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  opacity: 0;
  animation: fadeInUp_Style 2s forwards;
  animation-delay: 1800ms;
  position: relative;
  z-index: 2;
}

.mzf-footer-kiri,
.mzf-footer-kanan {
  flex: 1;
  position: relative;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 1;
}

.mzf-footer-kiri {
  aspect-ratio: 660/560;
  height: clamp(180px, 30vmin, 560px);
  z-index: 2;
  background-image: var(--gambar-footer-kiri);
  background-position: left bottom;
  animation: pulse-1 5s ease-in-out infinite;
}

.mzf-footer-kanan {
  aspect-ratio: 660/760;
  height: clamp(180px, 60vmin, 760px);
  z-index: 1;
  background-image: var(--gambar-footer-kanan);
  background-position: right bottom;
  animation: pulse-2 4s ease-in-out infinite;
}


.mzf-footer-top-in {
  width: max(960px, 110%);
  left: -5%;
  position: fixed;
  bottom: 0;
  margin-bottom: .5rem;
  height: auto;
  aspect-ratio: 1920/300;
  background-size: contain;
  background-repeat: no-repeat;
  /*   background-image: var(--gambar-footer-tengah-in); */
  background-position: center bottom;
  z-index: 0;
  opacity: 0;
  animation: fadeInUp_Style 2s forwards;
  animation-delay: 1200ms;
}


/* =========================
   LAYOUT UTAMA
========================= */
.mzf-container-content {
  width: 100%;
  height: 100svh;
  inset: 0;
  display: flex;
  flex: .75;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 3;
  padding: 5vh 0vh;
}

@media screen and (max-width: 950px) and (orientation: landscape) {
  .mzf-container-content {
    height: auto;
  }
}

#mzf-logo-header {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mzf-logo-index {
  padding-bottom: 20svh;
}

.mzf-logo-top {
  width: clamp(50px, 15vmin, 150px);
  height: auto;
  aspect-ratio: 150/125;
  z-index: 2;
  background-image: var(--gambar-top-logo);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom;
  pointer-events: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  user-select: none;
  -webkit-user-drag: none;
  opacity: 0;
  animation: fadeInUp_Style 2s forwards;
  animation-delay: 800ms;
}

.mzf-logo-bottom {
  width: clamp(350px, 85vmin, 1050px);
  height: auto;
  aspect-ratio: 1050/710;
  margin-top: -5vmin;
  z-index: 1;
  background-image: var(--gambar-bottom-logo);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top;
  pointer-events: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  user-select: none;
  -webkit-user-drag: none;
  opacity: 0;
  animation: fadeInUp_Style 2s forwards;
  animation-delay: 1000ms;
}

.mzf-logo-anim {
  width: clamp(350px, 85vmin, 1050px);
  height: auto;
  aspect-ratio: 1050/710;
  margin-top: -5vmin;
  z-index: 1;
  pointer-events: none;
  border: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  user-select: none;
  -webkit-user-drag: none;
  opacity: 0;
  animation: fadeInUp_Style 2s forwards;
  animation-delay: 1000ms;
}

.mzf-title {
  margin-top: 1rem;
  height: auto;
  text-align: center;
  font-family: var(--font-site-heading, Cambria, Georgia, serif);
  font-weight: 300;
  color: var(--color-text2);
  font-size: var(--text-base);
  /*   padding: 15px 25px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px); */
  opacity: 0;
  animation: fadeInUp_Style 2s forwards;
  animation-delay: 1200ms;
}

#mzf-main {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 10px 0;
  opacity: 0;
  animation: fadeInUp_Style 2s forwards;
  animation-delay: 1600ms;
  z-index: 5;
}

#mzf-footer {
  width: 100%;
  height: auto;
  position: fixed;
  bottom: 0;
  z-index: 5;
  pointer-events: none;
}

.mzf-footer-top {
  width: max(960px, 110%);
  left: -5%;
  position: fixed;
  bottom: 0;
  height: auto;
  aspect-ratio: 1920/300;
  background-size: contain;
  background-repeat: no-repeat;
  /* background-image: var(--gambar-footer-tengah); */
  background-position: center bottom;
  z-index: 0;
  opacity: 0;
  animation: fadeInUp_Style 2s forwards;
  animation-delay: 200ms;
}

.mzf-footer-bottom {
  width: 100%;
  height: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  bottom: 0;
  background-color: var(--color-third);
  text-align: center;
}

.mzf-footer-text {
  font-weight: 300;
  color: var(--color-text2);
  letter-spacing: .1rem;
  font-size: var(--text-footer);
  opacity: 0;
  animation: fadein 2s forwards;
  animation-delay: 600ms;
}


#mzf-checkin-waktu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  margin: auto;
  background: var(--color-third);
  color: var(--color-text2);
  padding: 15px 20px;
  margin-top: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  width: 70vw;
  max-width: 400px;
  text-align: center;
  font-size: var(--text-lg);
  font-weight: 500;
}

.mzf-space {
  width: 100%;
  height: 10vmin;
}


@keyframes fadeInUp_Style {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

@keyframes fadeInDown_Style {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

@keyframes fadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeout {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes pulse-1 {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.04);
  }
}

@keyframes pulse-2 {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.02);
  }
}

/* SET-THEME START */
/* data:eyJkZXNrdG9wIjp7InRpdGxlIjp7Il94IjoiY2VudGVyIiwiX3kiOiJjZW50ZXIiLCJmb250LXNpemUiOiIyNHB4IiwibGV0dGVyLXNwYWNpbmciOiIycHgifSwiaGVhZGVyLWxlZnQiOnsid2lkdGgiOiIyMHZtaW4iLCJfeCI6ImxlZnQiLCJfeSI6InRvcCJ9LCJoZWFkZXItcmlnaHQiOnsid2lkdGgiOiIyNXZtaW4iLCJfY2FudmFzIjoieWVzIiwiX3giOiJyaWdodCIsIl95IjoidG9wIn0sImZvb3Rlci1yaWdodCI6eyJ3aWR0aCI6IjQ1dm1pbiIsIl94IjoicmlnaHQiLCJfeSI6ImJvdHRvbSJ9LCJmb290ZXItbGVmdCI6eyJ3aWR0aCI6IjQ1dm1pbiJ9fSwibW9iaWxlIjp7InRpdGxlIjp7ImZvbnQtc2l6ZSI6IjE0cHgiLCJsZXR0ZXItc3BhY2luZyI6IjFweCJ9LCJsb2dvIjp7Il94IjoiY2VudGVyIiwiX3kiOiJjZW50ZXIifSwiaGVhZGVyLWxlZnQiOnsiaGVpZ2h0IjoiMzV2bWluIn0sImhlYWRlci1yaWdodCI6eyJoZWlnaHQiOiIyNXZtaW4ifSwiZm9vdGVyLXJpZ2h0Ijp7Il94IjoicmlnaHQiLCJfeSI6ImJvdHRvbSIsIndpZHRoIjoiNTB2bWluIn0sImZvb3Rlci1sZWZ0Ijp7Il94IjoibGVmdCIsIl95IjoiYm90dG9tIiwid2lkdGgiOiI0NXZtaW4ifX19 */
.mzf-title {
  font-size: 24px !important;
  letter-spacing: 2px !important;
}
.mzf-header-kiri {
  width: 20vmin !important;
flex: none !important;
}
#mzf-top-design,#mzf-bottom-design-warp{transform:none!important;}.mzf-header-kanan {
  width: 25vmin !important;
position: fixed !important; left: calc(100% + 0px) !important; top: calc(0% + 0px) !important; right: auto !important; bottom: auto !important; translate: -100% 0% !important; margin: 0 !important;
flex: none !important;
}
.mzf-footer-kiri {
  width: 45vmin !important;
flex: none !important;
}
.mzf-footer-kanan {
  width: 45vmin !important;
flex: none !important;
}
@media (max-width: 767px) {
.mzf-title {
  font-size: 14px !important;
  letter-spacing: 1px !important;
}
.mzf-header-kiri {
  height: 35vmin !important;
}
.mzf-header-kanan {
  height: 25vmin !important;
}
.mzf-footer-kiri {
  width: 45vmin !important;
flex: none !important;
}
.mzf-footer-kanan {
  width: 50vmin !important;
flex: none !important;
}
}
/* Animasi masuk memakai transform; animasi berulang memakai scale/rotate agar keduanya tidak saling menimpa. */
@keyframes mzf-enter-fade {from{opacity:0}to{opacity:1}}
@keyframes mzf-enter-up {from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}
@keyframes mzf-enter-down {from{opacity:0;transform:translateY(-30px)}to{opacity:1;transform:translateY(0)}}
@keyframes mzf-enter-left {from{opacity:0;transform:translateX(-30px)}to{opacity:1;transform:translateX(0)}}
@keyframes mzf-enter-right {from{opacity:0;transform:translateX(30px)}to{opacity:1;transform:translateX(0)}}
@keyframes mzf-enter-zoom {from{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}
@keyframes mzf-loop-pulse {0%,100%{scale:1}50%{scale:1.04}}
@keyframes mzf-loop-breathe {0%,100%{scale:1}50%{scale:1.02}}
@keyframes mzf-loop-sway {0%,100%{rotate:-1.5deg}50%{rotate:1.5deg}}
@keyframes mzf-loop-turn {from{rotate:0deg}to{rotate:360deg}}
/* SET-THEME END */
