@import url("https://fonts.googleapis.com/css2?family=Carattere&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Ledger&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Carattere&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Ledger&family=Pinyon+Script&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Carattere&family=Castoro:ital@0;1&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Ledger&family=Pinyon+Script&display=swap");

: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: "Pinyon Script", 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: "Ledger", 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: #102447;
  --background-primary-rgb: 16, 36, 71;
  --background-secondary: #cbd9e0;
  --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: #517470;
  --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: #c2ad70;
  --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;
}

.btn-invites {
  background-color: var(--button-background-primary);
  border: 1px solid #fff !important;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 7px 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: #edd9a0 !important;
  font-family: "Castoro", 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: #edd9a0;
  font-family: "Pinyon Script", Sans-serif;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: 1.5px;
}

.font-heading-latin-2 {
  color: #edd9a0 !important;
  font-family: "Pinyon Script", Sans-serif;
  font-size: 50px;
  font-weight: 500;
  letter-spacing: 1.5px;
}

.font-heading-date {
  color: #ffffff;
  font-family: "Ledger", 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: #ffffff;
  font-family: "Ledger", Sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5em;
  letter-spacing: 1px;
  text-align: center;
}

.text-body-2 {
  color: #ffffff;
  font-family: "Ledger", 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: var(--text-primary);
  text-align: center;
}

.text-body-4 {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 1px;
  text-align: center;
}

.text-body-5 {
  color: #ffffff;
  font-family: "Ledger", Sans-serif;
  font-size: 14px;
  line-height: 1.5em;
  letter-spacing: 1px;
  text-align: center;
}

.text-body-6 {
  color: #ffffff;
  font-family: "Ledger", Sans-serif;
  font-size: 12px;
  line-height: 1.5em;
  letter-spacing: 1px;
  text-align: center;
}

.frame-rounded {
  max-width: 80%;
  border: 1px solid #ffffff;
  border-radius: 200px 200px 200px 200px;
  box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.28);
}

.img-couple {
  width: 200px;
  height: 500px;
  object-fit: cover;
  padding: 8px;
}

.img-couple.welcome {
  width: 50%;
  height: 263px;
}

.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 {
  height: 100dvh;
  background: url(../img/welcome.png) no-repeat center center;
  background-size: cover;
  width: 100%;
  padding: 40px 30px;
  position: relative;
  z-index: 9999;
}

.welcome-content {
  display: flex;
  flex-direction: column;
  position: relative;
  height: 84dvh;
  background-color: #283b6278;
  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: 20px;
}

#header {
  position: relative;
  height: 100dvh;
  margin: 0;
  gap: 10px;
  background: url("../img/header.png") 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");
  margin-top: 0px;
  padding-top: 50px;
  padding-bottom: 48px;
  background-size: contain;
}

/* #wedding-of::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--background-primary);
  opacity: 0.5;
  z-index: -1;
} */

.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 {
  background-color: #f9f6ef;
}

.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-style: solid;
  border-color: #ffffff;
  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;
  padding: 4px;
}

#countdown::after {
  margin-top: -25px;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 103%;
  background-color: var(--background-primary);
  opacity: 0.8;
  z-index: 0;
}

.ornament-top {
  position: absolute;
  top: -25px;
  z-index: 1;
}

.ornament-top img {
  width: 100%;
  height: 92px;
}

.ornament-fl-bottom {
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 1;
}

.ornament-fl-bottom img {
  width: 100%;
}

.hr-1 {
  width: 59%;
  height: 41px;
}

.hr-2 {
  width: 80%;
  border: 1px solid #fff;
  opacity: 1;
}

.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 1px #fff;
}

.item-container .item .number {
  color: #fff;
  border-radius: 0px 0px 0px 0px;
  font-family: "Ledger", Sans-serif;
  font-size: 14px;
  font-weight: 400;
}

.item-container .item .desc {
  color: #fff;
  font-family: "Ledger", Sans-serif;
  font-size: 10px;
  font-weight: 400;
}

#wedding-day {
  margin-top: 0px;
  padding: 100px 0;
  /* background-color: #fceef4; */

  background: url("../img/bg-0.jpg");
  background-size: contain;
}

.wd-container {
  position: relative;
  z-index: 9;
}

.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 #fff;
}
.divider i {
  padding: 0 10px;
  font-size: 1.5rem;
  color: #fff;
}

#our-story {
  padding: 20px;
  background-color: var(--background-primary);
}

.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: url(../img/bg-gallery.webp);
  background-size: cover;
  padding-bottom: 100px;
}

#video {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: var(--background-primary);
  /* background-color: rgba(var(--background-primary-rgb), 0.8); */
  padding-bottom: 34px;
}

.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: rgba(var(--background-primary-rgb), 0.8);
  padding-top: 36px;
  padding-bottom: 20px;
  position: relative;
  margin-top: -5px;
  z-index: 0;
}

#reservation {
  border-radius: 20px;
  border: 2px solid #fff;
  width: 93%;
  margin: 0 auto;
  margin-bottom: 20px;
}

#message_rsvp {
  border-radius: 20px;
  border: 2px solid #fff;
  width: 93%;
  margin: 0 auto;
  margin-bottom: 20px;
}

#comment {
  padding-top: 50px;
  border-radius: 20px;
  border: 2px solid #fff;
  width: 93%;
  margin: 0 auto;
  margin-bottom: 20px;
}

.comment-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 85%;
  padding: 20px;
  margin: 0 auto;
}

.comment-item .sender {
  font-weight: bold;
  color: var(--text-primary);
}

.comment-item .time {
  color: var(--button-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 0px;
  margin: 20px;
  border: 2px solid #fff;
}

.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;
    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;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
  background-color: var(--background-primary-button) !important;
  border: none !important;
  color: #fff !important;
}

#thanks {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: url(../img/bg-gallery.webp);
  background-size: cover;
}

#thanks img {
  height: 256px;
  width: 50%;
}

.btn-buka-undangan {
  display: none;
}

.custom-input {
  background-color: transparent;
  border: 1px solid var(--text-primary) !important;
  border-radius: 4px;
  color: var(--text-primary) !important;
  outline: none;
}
.custom-input::placeholder {
  color: var(--text-primary) !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: 75%;
  height: 254px;
}

.video-content {
  border: 4px solid #edd9a0;
  border-radius: 20px;
  z-index: 99999;
  position: relative;
  height: 200px;
}

.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;
}

.qr-invitation.expanded {
  height: 300px !important;
}

.music-outer {
  position: fixed;
  z-index: 9999;
  bottom: 20px;
  left: 20px;
  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;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.salam-container {
  width: 90%;
  background-color: rgba(var(--background-primary-rgb), 0.8);
  position: relative;
  border-radius: 20px;
  padding: 50px 20px;
  margin: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.thanks-frame {
  position: relative;
  z-index: 9;
}

.thanks-content {
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
  background-color: #283b6278;
  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 0;
  border-radius: 20px;
}

.thanks-bottom {
  padding-bottom: 280px;
}

#footer-right {
  background-color: var(--background-tertiary);
  padding: 50px 0;
}

.social-media {
  display: flex;
  justify-content: center;
  gap: 10px;
}

/* SPLIDE JS */
.splide {
  width: 100%;
  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;
}

.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%;
  border-radius: 20px;
  /* Ensure each slide takes the full height */
}

.splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 20px;
}

#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;
  font-weight: bolder;
}

#splide-our-story .caption .body {
  color: #fff;
  font-size: 16px;
  font-family: var(--body-text-family);
  text-align: center;
  font-weight: normal;
  text-align: justify;
  margin-top: 13px;
}

.splide__slide.our-story::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    0deg,
    var(--background-primary) 0%,
    rgba(var(--background-primary-rgb), 0) 100%
  );
}
/* =================================
        ANIMATION
================================= */
@keyframes goyang {
  0% {
    transform: rotate(-3deg);
  }

  100% {
    transform: rotate(3deg);
  }
}

/* Bottom Navigation */
.navbar.fixed-bottom {
  background: #0d1c3d !important;
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0;
  width: 30.5%;
  right: 0;
  left: auto;
}

.navbar .nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  padding: 8px 0;
  transition: all 0.3s ease;
}

.navbar .nav-link i {
  font-size: 1.5rem;
  margin-bottom: 2px;
}

.navbar .nav-link .small {
  font-size: 0.7rem;
}

.navbar .nav-link.active {
  color: var(--primary-color, var(--button-background-primary));
}

/* Add padding to the bottom of the content to prevent overlap with fixed navbar */
/* #content-wedding { */
/* padding-bottom: 70px; */
/* } */

@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: 750px !important;
  }

  .video {
    width: 93%;
  }

  .frame-container.wg {
    width: 80%;
  }
  

  .thanks-content {
    background-position-x: 44%;
    background-position-y: -100%;
    background-size: auto;
  }
  .navbar.fixed-bottom {
    width: 100%;
  }

  .music-outer .music-box {
    width: 30px;
    height: 30px;
  }

  .img-couple.welcome {
    width: 54%;
  }
  /* if has navbar */
  /* .music-outer {
    bottom: 73px;
    left: 22px;
  }

  */

  /* .qr-invitation {
    position: fixed;
    bottom: 50px;
    transform: translate(-50%, 0);
    z-index: 1;
    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: 0;
  } */
}
