@font-face {
  font-family: "brilon";
  src: url("../font/brilon.ttf") format("truetype");
}
@font-face {
  font-family: "batusa";
  src: url("../font/Batusa.otf") format("opentype");
}

:root {
  --primary-clr: #452812;
  --primary-dark-clr: #371e0b;
  --secondary-clr: #f6eed7;
  --tertiary-clr: #d4cfc2;
  --wood-clr: #d9b680;
  --dark-clr: #000000;
  --dark-rgb: 0, 0, 0;
  --light-clr: #fafafa;
  --light-rgb: 250, 250, 250;
  --info-clr: #1a8cb8;
  --info-rgb: 26, 140, 184;
  --sea-clr: #4455aa;
  --sea-rgb: 68, 85, 170;
  --smoke-clr: #878787;
  --smoke-rgb: 135, 135, 135;
  --white-clr: #ffffff;
  --white-rgb: 255, 255, 255;
  --success-clr: #35ac07;
  --success-rgb: 53, 172, 7;
  --error-clr: #ff4143;
  --error-rgb: 255, 65, 67;
  --font-clr: #464646;
  --rgb-font-clr: 70, 70, 70;
  --tertiary-clr: #909090;
  --rgb-tertiary-clr: 144, 144, 144;
  --btn-default: #d4cfc2;
  --btn-default-rgb: 212, 207, 194;
  --texture-body: url("../img/texture-body.png");
  --heading-family: "brilon", serif;
  --heading-style: normal;
  --heading-weight: 400;
  --heading-size: 4.2rem;
  --heading-size-smaller: 3.5rem;
  --heading-size-mobile: 2.7rem;
  --heading-lettercase: none;
  --body-text-family: "batusa", serif;
  --body-text-style: normal;
  --body-text-weight: 500;
  --body-text-size: calc(4vw + 0.384px);
  --body-text-lettercase: none;
  --fs-extra-1: 2px;
  --fs-extra-2: 4px;
  --fs-extra-3: 5px;
  --fs-extra-4: 6px;
  --fs-extra-5: 10px;
  --fs-extra-6: 12px;
  --fs-extra-7: 15px;
  --fs-extra-8: 20px;
  --background-primary: rgb(241, 233, 223);
  --background-primary-rgb: 16, 36, 71;
  --background-secondary: #5d4a37;
  --background-secondary-rgb: 203, 217, 224;
  --background-tertiary: #f9f6ef;
  --background-tertiary-rgb: 229, 229, 213;
  --text-primary: #ffffff !important;
  --text-primary-rgb: 149, 109, 131;
  --text-secondary: #5d4a37;
  --text-secondary-rgb: 117, 117, 117;
  --text-tertiary: #404040;
  --text-tertiary-rgb: 64, 64, 64;
  --button-text-primary: #102447;
  --button-text-primary-rgb: 239, 236, 229;
  --button-background-primary: #5d4a37;
  --button-background-primary-rgb: 149, 109, 131;
  --button-text-secondary: #956d83;
  --button-text-secondary-rgb: 149, 109, 131;
  --button-background-secondary: #102447;
  --button-background-secondary-rgb: 239, 236, 229;
  --body-height: 100dvh;
}

* {
  box-sizing: border-box;
}

.hidden-element {
  opacity: 0;
  visibility: hidden;
}

.color-wood {
  color: var(--wood-clr) !important;
}

.btn-invites {
  background-color: var(--button-background-primary);
  border: 3px solid #fff !important;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 20px;
  border: none;
  /* border-radius: 25px; */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-invites:hover {
  background-color: #f2b4c3;
  /* Warna ungu lebih gelap saat hover */
  transform: scale(1.05);
  color: #ffffff;
  /* Sedikit memperbesar saat di-hover */
}

.btn-invites-off {
  background-color: var(--button-background-secondary) !important;
  color: #404040 !important;
}

.btn-invites:active {
  transform: scale(0.98);
  /* Efek klik dengan sedikit mengecil */
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  /* Bayangan lebih kecil saat ditekan */
}

body.mfahmialif h1,
body.mfahmialif h2,
body.mfahmialif h3,
body.mfahmialif h4,
body.mfahmialif h5,
body.mfahmialif h6 {
  font-family: var(--heading-family);
  font-style: var(--heading-style);
  font-weight: var(--heading-weight);
  font-size: var(--heading-size);
  text-transform: var(--heading-lettercase);
  line-height: normal;
  /* color: var(--text-primary); */
  text-align: center;
}

.font-header {
  font-family: var(--heading-family) !important;
}

.font-body {
  font-family: var(--body-text-family) !important;
}

.font-heading {
  color: #5d4a37;
  font-family: "batusa", Sans-serif !important;
  font-size: 30px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
}

.font-heading-latin-1 {
  color: #5d4a37;
  font-family: "brilon", Sans-serif;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: 1.5px;
}

.font-heading-latin-2 {
  color: #5d4a37 !important;
  font-family: "brilon", Sans-serif;
  font-size: 50px;
  font-weight: 500;
  letter-spacing: 1.5px;
}

.font-heading-date {
  color: #5d4a37;
  font-family: "batusa", Sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 8px;
}

.header-1 {
  font-size: 30px !important;
  text-align: center !important;
  font-weight: var(--heading-weight) !important;
  text-transform: var(--heading-lettercase) !important;
}

.header-2 {
  font-size: 14px !important;
  text-align: center !important;
  font-weight: var(--heading-weight) !important;
  text-transform: var(--heading-lettercase) !important;
}

.h-smaller {
  font-size: var(--heading-size-smaller) !important;
}

.text-body-1 {
  color: #5d4a37;
  font-family: "batusa", Sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5em;
  letter-spacing: 1px;
  text-align: center;
}

.text-body-2 {
  color: #5d4a37;
  font-family: "batusa", Sans-serif;
  font-size: 16px;
  line-height: 1.5em;
  letter-spacing: 1px;
  text-align: center;
}

.text-body-3 {
  font-family: var(--body-text-family);
  font-style: var(--body-text-style);
  font-weight: var(--body-text-weight);
  font-size: 1.3rem;
  text-transform: var(--body-text-lettercase);
  line-height: 1.5;
  color: #5d4a37;
  text-align: center;
}

.text-body-4 {
  color: #5d4a37;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 1px;
  text-align: center;
}

.text-body-5 {
  color: #5d4a37;
  font-family: "batusa", Sans-serif;
  font-size: 14px;
  line-height: 1.5em;
  letter-spacing: 1px;
  text-align: center;
}

.frame-rounded {
  max-width: 80%;
  /* border-style: solid;
  border-color: #ffffff; */
  border-radius: 200px 200px 200px 200px;
  box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.28);
}

.img-couple {
  width: 80%;
  height: 500px;
  object-fit: cover;
  padding: 4px;
}

.invites-icon {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--button-background-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  font-size: 21px;
  cursor: pointer;
}

body.mfahmialif {
  background-color: var(--background-primary);
}

.mfahmialif img {
  max-width: 100%;
}

#welcome {
  min-height: 100dvh;
  width: 100%;
  background: url("../img/countdown-bg.jpg") no-repeat center center;
}

.welcome-container {
  background-color: rgba(241, 233, 223, 0.5);
  object-fit: cover;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 96dvh;
  width: 100%;
  flex-direction: column;
}

.welcome-content {
  display: flex;
  flex-direction: column;
  position: relative;
  height: calc(100dvh - 80px);
  background-color: #f9f6efc9;
  box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.3);
  transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
  padding: 20px;
  border-radius: 200px 200px 200px 200px;
}

#header {
  position: relative;
  height: 100dvh;
  margin: 0;
  gap: 10px;
  background: url("../img/header.webp") center/cover no-repeat;
}

.break {
  width: 100%;
  height: 50px; /* adjust the height as needed */
  background-image: url("../img/break.png");
  background-color: #4a1314;
  background-size: cover; /* ensures the image covers the entire div */
  background-position: center; /* centers the image */
}

.footer {
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* Center vertically */
  align-items: center;
  /* Center horizontally */
  height: 100dvh;
  padding: 80px 0;
  bottom: -8;
}

.cover-large {
  overflow: hidden;
  top: 0;
  left: 0;
  bottom: 0;
  position: fixed;
  width: 69.5%;
  background-image: url("../img/cover-large.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
}

.couple-details {
  width: 70%;
}

.couple-banner .frame,
.name {
  z-index: 2 !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

.main {
  width: 30.5%;
  margin-left: auto;
  /* background-image: var(--texture-body); */
  background-position: top left;
  background-size: 100% auto;
  background-repeat: repeat;
  min-height: 100dvh;
  overflow: hidden;
}

.position-absolute-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%);
}

.custom-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* min-height: 100dvh; */
  position: relative;
}

.opening-video {
  /* height: 667.2px; */
  height: 100dvh;
  object-fit: cover;
  position: absolute;
  width: 100%;
  z-index: -1;
}

#wedding-of {
  /* background: url("../img/bg-0.jpg"); */
  background-color: var(--background-primary);

  margin-top: 0px;
  padding-top: 50px;
  padding-bottom: 48px;
}

.wedding-of-frame {
  max-width: 80%;
  border-radius: 200px 200px 0px 0px;
  box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.28);
  width: 100%;
  height: 450px;
  object-fit: cover;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

.couple {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.frame-height {
  height: 700px;
}

.frame-image {
  position: relative;
  height: auto;
}

.frame-image-border {
  position: relative;
  margin: 0 auto;
  z-index: 1;
  display: block;
}

.frame-image-item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%);
  top: 0;
  z-index: 9;
  object-fit: cover;
  object-position: center;
}

#countdown {
  position: relative;
  /* background-color: var(--background-secondary); */
  min-height: 800px;
  overflow: hidden;
}

.countdown {
  width: 30%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0px auto;
  padding: 20px 0px;
  position: absolute;
  z-index: 1;
  padding: 0px 0px 10px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.countdown-bg {
  opacity: 1;
  background-color: var(--background-primary);
  margin-top: -25px;
}

.countdown-frame {
  max-width: 80%;
  border-radius: 200px 200px 0px 0px;
  box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.28);
  width: 80%;
  height: 300px;
  object-fit: cover;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

.ornament-top {
  position: absolute;
  top: -25px;
}

.ornament-fl-bottom {
  position: absolute;
  bottom: 0;
  width: 100%;
}

.ornament-fl-bottom img {
  width: 100%;
}

.frame-container {
  width: 80%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px 0px;
  position: absolute;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.frame-container.header {
  gap: 20px;
}

.frame-container.wg {
  top: 50% !important;
  z-index: 3;
}

.text-gray {
  color: #404040 !important;
}

.item-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3%;
  width: 100%;
}

.item-container .item {
  width: 20%;
  height: 60px;
  display: flex;
  flex-direction: column;
  justify-items: center;
  justify-content: center;
  background-color: var(--button-background-primary);
  border-radius: 10%;
  margin-top: 5px;
  border: solid 3px #fff;
}

.item-container .item .number {
  color: #fff;
  border-radius: 0px 0px 0px 0px;
  font-family: "batusa", Sans-serif;
  font-size: 14px;
  font-weight: 400;
}

.item-container .item .desc {
  color: #fff;
  font-family: "batusa", Sans-serif;
  font-size: 10px;
  font-weight: 400;
}

#wedding-day {
  margin-top: 0px;
  padding: 100px 0;
  /* background-color: #fceef4; */
}

.wd-container {
  position: relative;
  z-index: 9;
  padding: 83px 0px;
  background-image: url("../img/bg-acara.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.wd-gif {
  position: absolute;
  top: 0;
  width: 100%;
}

.wd-content {
  padding: 100px 20px;
}

.wd-container::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--background-primary);
  opacity: 0.8;
  border-radius: 200px;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  width: 80%;
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 2px solid #5d4a37;
}
.divider i {
  padding: 0 10px;
  font-size: 1.5rem;
  color: #5d4a37;
}

#our-story {
  padding: 61px 9px;
  background-color: var(--background-secondary);
}

.our-story-container {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.img-story {
  width: 100%;
  border-style: solid;
  border-width: 3px;
  border-color: #102447;
  border-radius: 20px;
  box-shadow: 0px 8px 10px 0px rgba(0, 0, 0, 0.18);
  margin-bottom: 25px;
  border: 2px solid #fff;
}

.story {
  margin-top: 25px;
}

#gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: var(--background-primary);
  margin-bottom: 74px;
}

#video {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: var(--background-primary);
}

.background-video {
  position: fixed;
  width: 100dvh;
  object-fit: cover;
  z-index: -9999;
  margin-top: -315px;
  top: 0;
}

.form-container {
  width: 85%;
  padding: 20px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  position: relative;
}

.form-comment-container {
  width: 85%;
  /*background-color: #cbd9e0;*/
  padding: 20px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.video-footer {
  position: relative;
}

.video-footer .animate {
  position: absolute;
  width: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

#attendance {
  /* background-color: var(--background-secondary); */
  padding-top: 36px;
  padding-bottom: 20px;
  position: relative;
  margin-top: -5px;
  z-index: 1;
}

#reservation {
  border: none;
  width: 93%;
  margin: 0 auto;
  margin-bottom: 20px;
  border-radius: 200px 200px 0px 0px;
  height: 445px;
  box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.28);
  background-color: var(--background-secondary);
}

#message_rsvp {
  border: none;
  width: 93%;
  margin: 0 auto;
  margin-bottom: 20px;
  border-radius: 200px 200px 0px 0px;
  height: 445px;
  box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.28);
  background-color: var(--background-secondary);
}

#comment {
  padding-top: 50px;
  border-radius: 20px;
  width: 93%;
  margin: 0 auto;
  margin-bottom: 20px;
  box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.28);
  background-color: var(--background-secondary);
}

.comment-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 85%;
  padding: 20px;
}

.comment-item .sender {
  font-weight: bold;
  color: var(--text-primary);
}

.comment-item .time {
  color: var(--background-primary);
}

.comment-item .content {
  color: #ffffffae;
}

.w-wedding-day {
  width: 75%;
}

#wedding-gift {
  margin-top: 20px;
}

.wg-container {
  width: 90%;
  /* background-color: rgba(var(--background-primary-rgb), 0.8); */
  position: relative;
  border-radius: 20px;
  padding: 50px 20px;
  margin: 20px;
  border: 2px solid #fff;
  box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.28);
}

.card-atm {
  background: #f4f4f4;
  width: 100%;
  height: 200px;
  border-radius: 16px;
  padding: 10px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 4px solid #ffffff;
  margin-bottom: 50px;
  box-shadow: 2px -1px 25px 8px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 2px -1px 25px 8px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 2px -1px 25px 8px rgba(0, 0, 0, 0.5);
}

.chip {
  width: 54px;
  height: 41px;
  border-radius: 6px;
}

.logo-atm {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 73px;
}

.logo-atm img {
  height: 100%;
  object-fit: contain;
}

.account-number {
  font-size: 23px;
  color: #888;
  text-align: center;
  letter-spacing: 4px;
}

.copy-button {
  background-color: var(--button-background-primary);
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 14px;
  align-self: end;
  cursor: pointer;
  margin-top: 5px;
}

.account-name {
  font-size: 13px;
  color: #9b8e8e;
}

.account-name strong {
  color: #9b8e8e;
  font-weight: bold;
}

.btn-buka-undangan {
  display: none;
}

.custom-input {
  background-color: transparent;
  border: 1px solid var(--text-secondary) !important;
  border-radius: 4px;
  color: var(--text-secondary) !important;
  outline: none;
}
.custom-input::placeholder {
  color: var(--text-secondary) !important;
}

.form-bank {
  margin-top: -15px;
  width: 100%;
}

.custom-input:focus {
  background-color: transparent;
  /* Ensure it stays transparent */
  border-color: #6610f2;
  /* Change outline color on focus */
  box-shadow: 0 0 5px rgba(102, 16, 242, 0.5);
  /* Add a glow effect */
}

.video {
  width: 96%;
  height: 300px;
  padding-bottom: 40px;
}

.card-wg {
  background-color: rgba(59, 51, 70, 0.8);
  border-radius: 15px;
  padding: 10px 0;
  color: #fff;
  padding: 20px;
  display: flex;
  justify-content: space-between;
}

.bg-wg {
  background-color: rgba(59, 51, 70, 0.8);
}

.bg-overlay-0 {
  background-image: url("../img/bg.webp");
  background-position: center center;
  background-repeat: repeat;
  background-size: contain;
  opacity: 0.2;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  position: absolute;
  z-index: -1;
}

.bg-overlay-1 {
  background-image: url("../img/bg-2.png");
  background-position: top center;
  background-repeat: repeat;
  background-size: contain;
  opacity: 0.2;
  height: 100%;
  width: 100%;
  position: absolute;
  z-index: -1;
}

.bg-overlay-2 {
  background-color: var(--background-tertiary);
  background-image: url("../img/bg-3.jpg");
  background-position: bottom center;
  background-size: cover;
  opacity: 0.2;
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  z-index: -1;
}

.bg-overlay-3 {
  background-color: var(--background-tertiary);
  background-image: url("../img/texture.png");
  background-position: bottom center;
  background-size: cover;
  opacity: 0.2;
  height: 100%;
  width: 100%;
  position: absolute;
  z-index: 0;
  left: 0;
  top: 0;
}

.bg-overlay-4 {
  background-color: var(--background-tertiary);
  opacity: 0.5;
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  z-index: 1;
}

.bg-overlay-5 {
  background-image: url(../img/reservation-bg.webp);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.5;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  position: absolute;
  z-index: -1;
}

.card-wg p {
  margin: 0;
}

.envelope,
.envelope-info,
.envelope-greeting {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 999;
  width: 284px;
}

.envelope-greeting,
.envelope-info {
  background-color: #eee;
  border-radius: 10px 10px 0 0;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  text-align: center;
  transform: translate(-50%, 100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

.expand {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}

.envelope-greeting-text {
  padding: 10px;
}

.envelope-info-text {
  margin-bottom: -57px;
  padding: 20px;
}

.envelope-qr {
  padding: 10px;
}

.qr-invitation {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 999;
  width: 250px;
  background-color: #fff;
  border-radius: 10px 10px 0 0;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  padding: 0.5rem;
  height: 60px;
  overflow: hidden;
  transition: height 0.5s ease-in-out;
  opacity: 1;
}

.qr-invitation.expanded {
  height: 300px !important;
}

.music-outer {
  position: fixed;
  z-index: 999;
  bottom: 15px;
  left: 15px;
  display: inline-block;
  vertical-align: top;
}

.music-outer .music-box {
  width: 60px;
  height: 60px;
  cursor: pointer;
  background-image: url("../img/music.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  position: relative;
  top: 0;
  left: 0;
  transform: rotate(0deg);
  /* transition: all 0.8s ease-out; */
  -webkit-transition: all 0.8s cubic-bezier(0.23, 0.56, 0.38, 0.78);
  -moz-transition: all 0.8s cubic-bezier(0.23, 0.56, 0.38, 0.78);
  -o-transition: all 0.8s cubic-bezier(0.23, 0.56, 0.38, 0.78);
  transition: all 0.8s cubic-bezier(0.23, 0.56, 0.38, 0.78);
}

#wg-tab .show {
  transform: translate(0, 0);
}

#wg-nav-tab {
  background-color: var(--button-background-primary);
  border-radius: 50px;
  padding: 5px;
}

#wg-nav-tab li button {
  color: white;
}

#wg-nav-tab li button.active {
  color: black;
}

.nav-tabs .nav-link {
  transition: all 0.3s ease-in-out;
}

.nav-tabs .nav-link.active {
  animation: bounceIn 0.4s;
  border-radius: 50px;
}

@keyframes bounceIn {
  0% {
    transform: scale(0.9);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  visibility: visible;
  animation: fadeIn 1s ease-out forwards;
}

.w-90 {
  width: 90%;
}

.gallery-list {
  width: 97%;
}

.gallery-img {
  object-fit: cover;
  height: 180px;
  width: 100%;
  border-radius: 10px;
}

.gallery-item {
  overflow: hidden;
}

.quote {
  padding: 200px 0;
}

.quote-container {
  width: 90%;
  /* background-color: rgba(var(--background-primary-rgb), 0.8); */
  position: relative;
  border-radius: 20px;
  padding: 50px 20px;
  margin: 20px;
  border: 2px solid #fff;
  box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.28);
}

.thanks-frame {
  position: relative;
  z-index: 9;
}

.thanks-content {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 100dvh;
  box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.3);
  transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
  padding: 20px;
  border-radius: 100px;
  margin: 20px;
  background-image: url("../img/footer-bg.jpg");
  background-position-x: 44%;
  background-position-y: bottom;
  background-repeat: no-repeat;
  /* background-color: rgba(var(--background-primary-rgb), 0.8); */
  border: 2px solid #fff;
  background-size: 164%;
}

.thanks-content::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 100px;
}

.thanks-image {
  max-width: 80%;
  border-radius: 100%;
  width: 88%;
  height: 324px;
  object-fit: cover;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

.thanks-bottom {
  padding-bottom: 280px;
  z-index: 9;
}

#footer-right {
  background-color: var(--background-tertiary);
  padding: 50px 0;
}

.social-media {
  display: flex;
  justify-content: center;
  gap: 10px;
}

/* SPLIDE JS */
.splide {
  width: 80%;
  height: 180px !important;
  /* Ensure height is applied */
  margin: o auto;
}

.splide.our-story {
  width: 100%;
  height: 600px !important;
  /* Ensure height is applied */
  margin: o auto;
  /* margin-bottom: 50px; */
}

.splide__track {
  height: 100%;
  /* Ensure the track takes the full height */
}

.splide__list {
  height: 100%;
  /* Ensure the list takes the full height */
}

.splide__slide {
  height: 100%;
  /* Ensure each slide takes the full height */
}

.splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

#splide-our-story .caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 0);
  padding: 25px;
  margin: 0;
  width: 100%;
  z-index: 999;
}

#splide-our-story .caption .title {
  color: #fff;
  font-size: 20px;
  font-family: var(--body-text-family);
  text-align: center;
  margin-bottom: 5px;
}

#splide-our-story .caption .body {
  color: #fff;
  font-size: 17px;
  font-family: var(--body-text-family);
  text-align: center;
}

.splide__slide.our-story::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease; */
  background: linear-gradient(
    to top,
    rgba(241, 233, 223, 0.8) 0%,
    rgba(241, 233, 223, 0.3) 20%,
    rgba(241, 233, 223, 0.2) 50%,
    rgba(241, 233, 223, 0.1) 80%,
    rgba(241, 233, 223, 0.05) 100%
  );
}

/* .splide__slide.our-story:hover::before {
  background: linear-gradient(
    to top,
    rgba(241, 233, 223, 0.8) 0%,
    rgba(241, 233, 223, 0.3) 20%,
    rgba(241, 233, 223, 0.2) 50%,
    rgba(241, 233, 223, 0.1) 80%,
    rgba(241, 233, 223, 0.05) 100%
  );
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
} */

/* ================================
      Flower

==================================*/
.fl-goyang {
  transform-origin: 50% 100%;
  animation: goyang 3s ease-in-out infinite alternate;
}

.fl-goyang-reverse {
  transform-origin: 50% 100%;
  animation: goyang-reverse 3s ease-in-out infinite alternate;
}

.fl-goyang-reverse-2 {
  transform-origin: 50% 100%;
  animation: goyang-reverse-2 3s ease-in-out infinite alternate;
}

.cloud {
  animation: moveRight 15s linear infinite;
}


.fl-welcome-1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 63%;
  transform: translate(-34%, -25%);
  z-index: 4;
}
.fl-welcome-2 {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 38%;
  transform: translate(14%, 20%) rotate(45deg);
  z-index: 4;
}


.fl-wo-m-1 {
  position: absolute;
  top: 50%;
  right: 0;
  width: 47%;
  transform: translate(80%, -30%) scaleY(-1);
  z-index: 4;
}

.fl-wo-m-2 {
  position: absolute;
  top: 50%;
  right: 0;
  width: 46%;
  transform: translate(90%, -127%) scaleY(-1) scaleX(-1);
  z-index: 3;
}

.fl-wo-m-3 {
  position: absolute;
  top: 50%;
  right: 0;
  width: 45%;
  transform: translate(68%, -148%) scaleX(-1);
  z-index: 3;
}

.fl-wo-g-1 {
  position: absolute;
  top: 50%;
  left: 0;
  width: 47%;
  transform: translate(-80%, -30%) scaleY(-1) scaleX(-1);
  z-index: 4;
}

.fl-wo-g-2 {
  position: absolute;
  top: 50%;
  left: 0;
  width: 46%;
  transform: translate(-90%, -127%) scaleY(-1);
  z-index: 3;
}

.fl-wo-g-3 {
  position: absolute;
  top: 50%;
  left: 0;
  width: 45%;
  transform: translate(-71%, -148%);
  z-index: 3;
}

.fl-countdown-1 {
  position: absolute;
  top: 50%;
  left: 0;
  width: 40%;
  transform: translate(-19%, -180%);
  z-index: 3;
}
.fl-countdown-2 {
  position: absolute;
  top: 50%;
  right: 0;
  width: 40%;
  transform: translate(19%, -180%) scaleX(-1);
  z-index: 3;
}
.fl-countdown-3 {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 103%;
  transform: translate(0%, 1%);
  z-index: 3;
}

.fl-countdown-4 {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 103%;
  transform: translate(0%, 1%);
  z-index: 2;
}

.fl-reservation-1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 35%;
  transform: translate(-39%, 37%);
  z-index: 2;
}

.fl-reservation-2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 48%;
  transform: translate(-17%, 31%) rotate(-26deg);
  z-index: 1;
}

.fl-reservation-3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 34%;
  transform: translate(98%, -40%) rotate(-79deg);
  z-index: 1;
}

.fl-reservation-4 {
  position: absolute;
  top: 0;
  right: 0;
  width: 35%;
  transform: translate(39%, 37%) scaleX(-1);
  z-index: 2;
}

.fl-reservation-5 {
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  transform: translate(17%, 31%) rotate(26deg) scaleX(-1);
  z-index: 1;
}

.fl-reservation-6 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 111%;
  transform: translate(0%, 0%);
  z-index: 1;
}

.fl-comment-1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 31%;
  transform: translate(-30%, 1%) rotate(110deg);
  z-index: 1;
}

.fl-comment-2 {
  position: absolute;
  top: 0;
  right: 0;
  width: 31%;
  transform: translate(20%, 191%) rotate(95deg) scaleY(-1);
  z-index: 1;
}


.fl-cer-1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 53%;
  transform: translate(-48%, -25%) rotate(45deg);
  z-index: 1;
}

.fl-cer-2 {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 53%;
  transform: translate(43%, 3%) rotate(-85deg);
  z-index: 1;
}

.fl-res-1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 53%;
  transform: translate(48%, -25%) rotate(-45deg) scaleX(-1);
  z-index: 1;
}
.fl-res-2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 53%;
  transform: translate(-43%, 3%) rotate(85deg) scaleX(-1);
  z-index: 1;
}
.fl-os-1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 27%;
  transform: translate(35%, 0%) scaleX(-1);
  z-index: 1;
}
.fl-os-2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 34%;
  transform: translate(-49%, 31%) rotate(131deg);
  z-index: 1;
}
.fl-os-3 {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 34%;
  transform: translate(55%, 31%) rotate(37deg) scaleY(-1);
  z-index: 1;
}
/* =================================
        ANIMATION
================================= */
@keyframes goyang {
  0% {
    transform: rotate(-3deg);
  }

  100% {
    transform: rotate(3deg);
  }
}

@media (max-width: 767.98px) {
  .w-m-75 {
    width: 75% !important;
  }

  .w-m-100 {
    width: 100% !important;
  }

  .cover-large {
    display: none;
    position: relative;
    width: 100%;
    height: 100dvh;
  }

  .main {
    width: 100%;
    /* padding-left: 10px;
    padding-right: 10px; */
  }

  /* body.no-scroll {
    overflow: hidden;
  } */

  .background-video {
    width: 100%;
    margin-top: 0px;
  }

  .frame-container.header {
    gap: 0;
  }

  .w-wedding-day {
    width: 100%;
  }

  .couple-banner .frame,
  .name {
    top: 40% !important;
  }

  .countdown {
    flex-direction: column;
  }

  .countdown-bg {
    max-width: 125% !important;
  }

  .footer {
    justify-content: center;
  }

  .btn-buka-undangan {
    display: block;
    position: relative;
    left: 31%;
  }

  .splide.our-story {
    height: 544px !important;
  }

  /* .video {
    width: 100%;
  } */

  .music-outer .music-box {
    width: 45px;
    height: 45px;
  }

  .frame-container.wg {
    width: 80%;
  }

  .qr-invitation {
    opacity: 0;
  }

  .fl-wo-m-1 {
    transform: translate(22%, -30%) scaleY(-1);
  }

  .fl-wo-m-2 {
    transform: translate(22%, -127%) scaleY(-1) scaleX(-1);
  }

  .fl-wo-m-3 {
    transform: translate(13%, -148%) scaleX(-1);
  }

  .fl-wo-g-1 {
    transform: translate(-22%, -30%) scaleY(-1) scaleX(-1);
  }

  .fl-wo-g-2 {
    transform: translate(-22%, -127%) scaleY(-1);
  }

  .fl-wo-g-3 {
    transform: translate(-13%, -148%);
  }

}
