:root {
  /* --pink: #f14e95; */
  --black: #0a0a0a;
  --shadow: 0 4px 4px rgb(0 0 0 / 0.5);
  --cream: #c7c4c2;
  /* --shadow2: 0 4px 4px rgb(255, 255, 255);
  --ijo: #B0BA9F;
  --biru: #009EC0;
  --orencream: #c7c4c2; */
}

@font-face /*perintah untuk memanggil font eksternal*/ {
  font-family: "Mestika"; /*memberikan nama bebas untuk font*/
  src: url("font/Mestika.ttf"); /*memanggil file font eksternalnya di folder nexa*/
}
@font-face /*perintah untuk memanggil font eksternal*/ {
  font-family: "CENTURY"; /*memberikan nama bebas untuk font*/
  src: url("font/CENTURY.TTF"); /*memanggil file font eksternalnya di folder nexa*/
}
@font-face /*perintah untuk memanggil font eksternal*/ {
  font-family: "Boheme Floral"; /*memberikan nama bebas untuk font*/
  src: url("font/Boheme\ Floral.ttf"); /*memanggil file font eksternalnya di folder nexa*/
}
@font-face /*perintah untuk memanggil font eksternal*/ {
  font-family: "VENOSE"; /*memberikan nama bebas untuk font*/
  src: url("font/VENOSE-LGJ9Q.OTF"); /*memanggil file font eksternalnya di folder nexa*/
}
@font-face /*perintah untuk memanggil font eksternal*/ {
  font-family: "KREDIT"; /*memberikan nama bebas untuk font*/
  src: url("font/Kredit\ Front.otf"); /*memanggil file font eksternalnya di folder nexa*/
}
@font-face /*perintah untuk memanggil font eksternal*/ {
  font-family: "TW"; /*memberikan nama bebas untuk font*/
  src: url("font/TCM_____.TTF"); /*memanggil file font eksternalnya di folder nexa*/
}
@font-face /*perintah untuk memanggil font eksternal*/ {
  font-family: "bell"; /*memberikan nama bebas untuk font*/
  src: url("font/BELL.TTF"); /*memanggil file font eksternalnya di folder nexa*/
}
@font-face /*perintah untuk memanggil font eksternal*/ {
  font-family: "Esther"; /*memberikan nama bebas untuk font*/
  src: url("font/Esther.otf"); /*memanggil file font eksternalnya di folder nexa*/
}

html {
  scroll-behavior: smooth;
}

/* SANGAT PENTING */

@media (max-width: 1200px) {
  .home .heart {
    transform: translateX(-50%) translateY(80px);
  }
}

/* laptop */
@media (max-width: 992px) {
  html {
    font-size: 75%;
  }
}
@media (max-width: 1200px) {
  .home .heart {
    transform: translateX(-50%) translateY(80px);
  }
}
:root {
  color-scheme: light !important;
}
html,
body {
  overflow-x: hidden !important;
}

html,
body {
  overflow: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

.audio-icon-wrapper {
  width: 4rem;
  height: 4rem;
  font-size: 4rem;
  position: fixed;
  bottom: 2.5rem;
  right: 2rem;
  border: pointer;
  color: var(--orencream);
  animation: rotating 4s linear infinite;
  transform-origin: center;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 0;
  z-index: 3;
}

.arrow-icon-wrapper {
  position: fixed;
  width: 4rem;
  height: 4rem;
  font-size: 4rem;
  bottom: 8.5rem;
  right: 2rem;
  border: pointer;
  color: var(--orencream);
  transform-origin: center;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 0;
  z-index: 3;
}

.arrow-icon-wrapper i {
  position: fixed;
  width: 4rem;
  height: 4rem;
  font-size: 4rem;
  bottom: 8.5rem;
  right: 2rem;
  border: pointer;
  color: var(--orencream);
  transform-origin: center;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 0;
  z-index: 3;
}

@keyframes rotating {
  form {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}

/* SANGAT PENTING */

/* POPUP START  */
/* Popup Section Styling */
#popup {
  position: fixed;
  background-image: url("img/backgound-popup.webp");
  width: 100%;
  height: 100%;
  background-size: cover;
  display: flex;
  z-index: 999;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* Menyembunyikan elemen yang keluar dari area */
  padding: 20px;
  touch-action: none;
  user-select: none;
}

.floating-pop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  touch-action: none;
}

.treee {
  position: absolute;
  z-index: 0;
  animation: popanim 10s infinite ease-in-out;
}

.tree-left {
  z-index: 999;
  top: 2%;
  left: -15%;
  width: 150px;
  animation-delay: 0s;
}

.tree-right {
  z-index: 999;
  top: -1%;
  right: -8%;
  width: 150px;
  animation-delay: 2s;
}

.tree-back {
  top: 13%;
  right: -12%;
  width: 150px;
  z-index: -1;
  animation-delay: 4s;
}

/* Top Section Styling */

#popup .top-section {
  position: relative;
  z-index: 2;
  width: 280px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 150px 150px 9px 9px;  
  padding: 7.6rem 1.5rem;  
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: white;
  font-family: "Mestika", serif;
  align-items: center;
  top: -6%;
}

#popup .top-section h2 {
  color: rgb(0, 0, 0);
  margin-top: 1rem;  
  font-family: "TW";
  font-weight: 400;
  font-size: 2.1rem;
  letter-spacing: 1mm;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

#popup .top-section h3 {
  font-family: "VENOSE";
  color: #3e4f33;
  font-weight: 900;
  font-size: clamp(6rem, 6vw, 6rem);  
  margin-top: 2rem;
  letter-spacing: 1.5mm;
}

#popup .top-section h1 {
  font-family: "Esther";
  font-size: clamp(4.4rem, 4vw, 4.4rem);  
  font-weight: normal;
  color: #3e4f33;
  margin-bottom: 1.5rem;
}

#popup .top-section h4 {
  font-family: "TW";
  font-size: clamp(2rem, 2.5vw, 2.1rem);  
  font-weight: normal;
  color: rgb(0, 0, 0);
  margin-bottom: 1.5rem;
}

 
#popup .bottom-section h4 {
  font-family: "Domine", serif;
  font-size: 1.6rem;
  font-weight: normal;
  color: rgb(0, 0, 0);
  margin-bottom: 2rem;
}

#popup .bottom-section h4 span {
  font-weight: 700;
  color: #000000;
}

#popup .bottom-section button {
  margin: auto;
  color: white;  
  background-color: black;  
  border-radius: 30px;  
  font-size: 1.6rem;  
  font-weight: 600;
  padding: 8px 20px;  
  border: none;  
  transition: all 0.3s ease;  
  margin-bottom: 6.5rem;
}

#popup .bottom-section button:hover {
  background-color: #a4b5a1; 
  color: white;  
  transform: translateY(-2px);  
}

#popup .btn i {
  font-size: 1.8rem ;
  margin-right: 6px;
}

@media screen and (min-width: 1024px) {
  #popup {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem; /* Ruang tambahan di sekitar popup */
  }

  #popup .top-section {
    width: 600px; /* Perbesar lebar untuk PC */
    height: auto; /* Biarkan tinggi menyesuaikan konten */
    padding: 2rem; /* Ruang tambahan di dalam elemen */
    border-radius: 50px; /* Sesuaikan bentuk border */
    background: rgba(255, 255, 255, 0.8); /* Transparansi tetap elegan */
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.3); /* Shadow lebih halus */
    margin-bottom: 2rem; /* Tambahkan jarak ke bawah */
  }

  #popup .top-section h3 {
    font-size: clamp(5rem, 4vw, 6rem); /* Responsif untuk PC */
    margin-top: 2rem; /* Tambahkan jarak ke atas */
  }

  #popup .top-section h2 {
    font-size: clamp(2rem, 2.5vw, 2.8rem);
    margin-bottom: 1.5rem; /* Kurangi margin bawah */
  }

  #popup .top-section h1 {
    font-size: clamp(3rem, 4vw, 4.5rem);
    margin-bottom: 1.5rem;
  }

  #popup .top-section h4 {
    font-size: clamp(1.8rem, 2vw, 2rem);
    margin-bottom: 1rem;
  }

  #popup .bottom-section {
    width: 600px;  
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;  
  }

  #popup .bottom-section h4 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    text-align: center;  
  }

  #popup .bottom-section button {
    font-size: 1.4rem;  
    padding: 12px 25px;  
    border-radius: 30px;
    margin-top: 1rem;
    transition: all 0.3s ease;
  }

  #popup .bottom-section button:hover {
    background-color: #8e9c88;  
    transform: translateY(-3px);
  }
}
 
/* Animasi Pohon */
@keyframes popanim {
  0% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-20px) translateX(10px);
  }
  100% {
    transform: translateY(0) translateX(0);
  }
}

/* POPUP END */

/* HORO START */
.hero {
  background-image: url("img/backgound.webp");
  background-size: cover;
  background-position: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero .text-center {
  position: relative;
  z-index: 2;
  color: white;
  margin-top: -7rem;
}

.hero h2 {
  font-family: "Mestika";
  color: #000;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero h1 {
  font-family: "Mestika";
  font-weight: normal;
  font-size: 4rem;
  margin-top: 2rem;
  color: rgb(0, 0, 0);
  margin: 1rem 0;
  text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-family: "CENTURY" !important;
  font-size: 2rem;
  color: rgb(0, 0, 0);
  margin-top: -10px;
  text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
}

/* Foto mempelai */
.photo-container {
  margin: 2rem auto;
  width: 200px;
  height: 400px;
  border: 7px solid rgba(194, 222, 191, 0.9);
  border-radius: 150px 150px 150px 150px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.photo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Objek bergerak */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.tree {
  position: absolute;
  animation: float 10s infinite ease-in-out;
  opacity: 1;
}

.tree1 {
  top: 45%;
  left: -10%;
  width: 150px;
  animation-delay: 0s;
}

.tree2 {
  top: 10%;
  right: -15%;
  width: 200px;
  animation-delay: 3s;
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-20px) translateX(10px);
  }
  100% {
    transform: translateY(0) translateX(0);
  }
}

/* HERO END */

/* Arrum START */
/* General Styles */
.arrum-section {
  background-color: #a4b5a1;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  /* min-height: 100vh; */
  max-height: 100vh;
  padding-bottom: -10rem !important;
  /* margin-top: -10rem; */
}

/* Border Container */
.border-container {
  background: url("img/arrum.webp") no-repeat center center/cover;
  border: 5px solid white; /* Border putih */
  border-radius: 20px; /* Membuat border melengkung */
  padding: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Swiper Container */
.swiper-photo {
  position: relative;
  margin: auto;
  align-items: center;
  width: 60%;
  max-width: 500px;
  height: 400px;
}

.swiper-wrapper {
  display: flex;
  align-items: center;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.foto-arum img {
  width: 100%;
  max-width: 300px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Text Content */
.text-content {
  margin-top: 2rem;
  font-family: "Domine", serif;
  color: #000000; /* Warna teks putih */
  text-align: center;
  font-size: 2rem;
}

.text-content p {
  font-size: 1.2rem;
  line-height: 1.6;
}

.text-content .source {
  margin-top: 10px;
  font-style: italic;
  font-size: 1.4rem;
}

@media (max-width: 576px) {
  .swiper-photo {
    max-width: 100%; /* Memastikan galeri tetap responsif */
    height: auto; /* Mengatur tinggi agar fleksibel */
  }

  .foto-arum img {
    max-width: 200px; /* Mengecilkan gambar */
  }

  .text-content {
    font-size: 1rem; /* Mengecilkan ukuran teks */
  }

  .text-content .source {
    font-size: 0.9rem; /* Mengecilkan ukuran teks sumber */
  }
}

/* Untuk layar menengah (tablet atau ponsel besar) */
@media (max-width: 768px) {
  .swiper-photo {
    max-width: 90%; /* Menyesuaikan lebar galeri */
    height: auto;
  }

  .foto-arum img {
    max-width: 250px; /* Menyesuaikan ukuran gambar */
  }

  .text-content {
    font-size: 1.5rem; /* Menyesuaikan ukuran teks */
  }

  .text-content .source {
    font-size: 1rem; /* Menyesuaikan ukuran teks sumber */
  }
}

/* Untuk layar besar (desktop kecil) */
@media (max-width: 992px) {
  .swiper-photo {
    max-width: 95%; /* Sedikit lebih lebar untuk layar besar */
  }

  .foto-arum img {
    max-width: 280px; /* Menyesuaikan gambar */
  }
}

/* Arrum END */

/* ISI HOME START */ /* Background & Layout */

.background-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("img/Main-bg.jpg");
  background-size: cover;
  background-position: center;
  z-index: -1; /* Supaya di belakang semua konten */
}

.home {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}
.home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.6);
  z-index: 1;
}

.content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
  width: 100%;
  max-width: 1200px;
}

/* Bismillah & Opening */
.bismillah {
  font-family: "Mestika", serif;
  font-size: 2.5em; /* Increased size */
  color: #000000;
  margin-bottom: 15px;
}

.opening {
  font-family: "CENTURY", sans-serif;
  font-size: 1.5em; /* Increased size */
  color: #000000;
  margin: 15px 0;
}

/* Couple Section */
.couple {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.person {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.photo {
  width: 220px;
  height: 400px;
  border: 7px solid rgba(194, 222, 191, 0.9);
  border-radius: 150px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.name-mempelai {
  font-family: "Mestika", serif;
  font-size: 3.3em; /* Slightly increased size */
  color: #000000;
  margin: 10px 0;
}

.parents {
  font-family: "CENTURY", sans-serif;
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 10px;
}

/* Separator */
.separator span {
  font-family: "Mestika", serif;
  font-size: 2.5em;
  color: #000000;
  margin: 10px 0;
  display: flex;
  align-items: center;
}

.separator span::before,
.separator span::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #333;
  margin: 0 10px;
}

/* Instagram */
.instagram {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.instagram a {
  font-family: "CENTURY", sans-serif;
  font-size: 1.5em;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #94ab90;
  transition: background-color 0.3s ease;
}

.instagram a:hover {
  background-color: #6e826b;
}

.instagram i {
  font-size: 1.8em;
}

.instagram a:hover i {
  color: white;
}

/* ISI HOME END */

/* INFO START */
.info {
  background-color: #a4b5a1;
  padding: 0 20px;
  padding-top: 40px;
  padding-bottom: 15px;
  text-align: center;
  border-radius: 0px;
}

.save-date {
  text-align: center;
  margin-bottom: 30px;
}

.save-date h1 {
  font-family: "Mestika";
  font-size: 3.4rem;
  color: #ffffff;
  margin: 0;
}

.save-date-line {
  width: 80%;
  height: 2px;
  background-color: #ffffff;
  border: none;
  opacity: 1;
  margin: 5px auto 0 auto;
  border-radius: 5px;
  animation: shrink-expand 4s infinite ease-in-out;
}

@keyframes shrink-expand {
  0% {
    width: 90%;
  }
  50% {
    width: 50%;
  }
  100% {
    width: 90%;
  }
}
.info-bg {
  background-image: url("img/backgound-info.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border: 5px solid #ffffff;
  border-radius: 200px 200px 0 0;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
}

/* Foto Border */
.photo-border {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 160px 160px 0 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.photo-info {
  width: 100%;
  display: block;
}

/* Judul Akad Nikah */
.title-akad h2 {
  font-family: "Mestika";
  color: #000000;
  font-size: 2.5rem;
  margin: 20px 0 5px 0;
}

/* Animasi untuk Title Line */
.title-line {
  width: 90%;
  height: 2px;
  background-color: #000000;
  border: none;
  border-radius: 10px;
  margin: 0 auto 20px auto;
  opacity: 1;
  animation: shrink-expand 4s infinite ease-in-out; /* Durasi 2 detik, terus menerus */
}

@keyframes shrink-expand {
  0% {
    width: 90%; /* Panjang penuh */
  }
  50% {
    width: 50%; /* Memendek ke 40% */
  }
  100% {
    width: 90%; /* Kembali panjang penuh */
  }
}

/* Detail Informasi */
.event-details .detail {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5px 0;
  margin-top: -10px;
}

.event-details .detail i {
  font-size: 3rem;
  color: #000000;
  margin-right: 10px;
}

.event-details .detail p {
  font-family: "CENTURY";
  font-size: 1.4rem;
  color: #000000;
}

/* Tombol Lokasi */
.location {
  margin-top: 10px;
}

.location-button {
  display: inline-flex;
  align-items: center;
  font-family: "CENTURY";
  font-size: 12px;
  color: #ffffff;
  background-color: #a4b5a1;
  padding: 4px 15px;
  border-radius: 50px;
  text-decoration: none;
  margin: auto;
}

.location-button i {
  margin-right: 4px;
}

.location-button:hover {
  background-color: #000000;
}

.location p {
  font-family: "CENTURY";
  font-size: 1.6rem;
  color: #000000;
  margin-top: 10px;
}

/* INFO YANG BAWAH*/
.info-resepsi {
  background-color: #a4b5a1;
  padding: 0px 20px;
  padding-top: 15px;
  padding-bottom: 40px;
  text-align: center;
  border-radius: 0px;
}
/* Container Info Resepsi */
.resepsi-bg {
  background-image: url("img/backgound-info.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border: 5px solid #ffffff;
  border-radius: 0 0 200px 200px; /* Mirrored border */
  padding: 20px;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
}

/* Foto Border (Sekarang di Bawah) */
.resepsi-photo {
  width: 100%;
  max-width: 500px;
  margin: 20px auto 0 auto; /* Margin atas ditambahkan */
  overflow: hidden;
  border-radius: 0 0 160px 160px; /* Border melengkung di sisi bawah */
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
}

.photo-info {
  width: 100%;
  display: block;
}
.title-resepsi h2 {
  font-family: "Mestika";
  color: #000000;
  font-size: 2.5rem;
  margin: 20px 0 5px 0;
}

/*INFO END*/

/*  Gallery Start */

#gallery {
  position: relative;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  padding: 60px 20px 60px 20px;
  z-index: 1;
}

/* .gallery{
position: relative;
z-index: 1;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
padding: 20px;
} */

.gallery:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.6);
  z-index: 2;
}

.content-gallery {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
  width: 100%;
  max-width: 1200px;
}

/* Title Section */
.gallery-header {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 20px;
}

.gallery-header h1 {
  font-family: "Mestika";
  font-size: 3.6rem;
  margin: 0;
  color: #000000;
}

.title-line {
  width: 90%;
  height: 2px;
  z-index: 2;
  background-color: #000000;
  border: none;
  border-radius: 10px;
  margin: 0 auto 20px auto;
  opacity: 1;
  animation: shrink-expand 4s infinite ease-in-out;
}

@keyframes shrink-expand {
  0% {
    width: 90%;
  }
  50% {
    width: 50%;
  }
  100% {
    width: 90%;
  }
}

/* Layout Styling */
.gallery-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 kolom */
  gap: 10px; /* Jarak antar gambar (horizontal & vertikal) */
  justify-items: center;
}

.column img {
  width: 100%; /* Sesuaikan gambar dengan kolom */
  height: auto; /* Pertahankan rasio asli */
  display: block;
  border-radius: 10px;
  margin-top: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.column img:hover {
  transform: scale(1.05);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

/*GAllery END*/

/*LOVE STORY START*/
.story-content {
  align-items: center;
  text-align: center;
  justify-content: center;
  margin-top: 10px;
}

.story-content h2 {
  position: relative;
  z-index: 2;
  font-family: "VENOSE";
  font-size: 2.5rem;
  color: #000000;
  padding-top: 25px;
  margin-top: 10px;
  text-transform: capitalize, serif;
}

.story-content P {
  position: relative;
  z-index: 2;
  font-family: "Domine";
  font-size: 1.3rem;
  color: #000000;
  margin-top: 10px;
}

/*LOVE STORY END*/

/* Gifts STart */

.rekening-section {
  background-color: #a4b5a1;
  background-size: 100% 200%; /* Memastikan area cukup besar untuk animasi */
  background-position: top; /* Posisi awal background */
  padding: 2rem;
  color: white;
  position: relative;
  transition: background-position 2s ease-in-out; /* Tambahkan transisi untuk smoothness */
}

.rekening-header h2 {
  font-size: 3.6rem;
  font-family: "VENOSE";
}

.rekening-header p {
  font-family: "Domine";
  font-size: 1.4rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

/* Tombol dengan efek gradasi 3D */
.rekening-btn {
  font-family: "TW";
  background: linear-gradient(145deg, #f1f3f0, #e7eedf);
  color: #a4b5a1;
  border: none;
  padding: 0.75rem 1.5rem;
  width: 38%;
  font-size: 2rem;
  font-weight: normal;
  cursor: pointer;
  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  margin: auto;
  justify-content: center;
  gap: 0.5rem;  
}

.rekening-btn:hover {
  background: linear-gradient(145deg, #f1f3f0, #e7eedf);
  transform: scale(1.05);
}

.rekening-btn i {
  font-size: 1.7rem;
}

.rekening-details {
  max-height: 0;
  overflow: hidden; /* Sembunyikan konten yang melampaui tinggi */
  opacity: 0;
  padding: 0;
  transition: none; /* Nonaktifkan transisi bawaan */
}

.rekening-details.show {
  display: block;
  animation: expandBackground 1.5s ease-in-out forwards;
}

.rekening-details.hide {
  animation: collapseBackground 1.5s ease-in-out forwards;
}

@keyframes expandBackground {
  0% {
    max-height: 0;
    opacity: 0;
    padding: 0;
  }
  100% {
    max-height: 1000px;
    opacity: 1;
    padding: 20px;
  }
}

@keyframes collapseBackground {
  0% {
    max-height: 1000px;
    opacity: 1;
    padding: 20px;
  }
  100% {
    max-height: 0;
    opacity: 0;
    padding: 0;
  }
}

.rekening-card {
  background-image: url(img/card.png);
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 15px; /* Membuat sudut kartu lebih bulat */
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background-size: cover;
  position: relative;
  width: 100%;
  max-width: 350px; /* Menyesuaikan ukuran kartu agar tidak terlalu besar */
  margin: 1rem auto; /* Menjaga jarak antar kartu */

  /* Efek awal */
  opacity: 0;
  transform: scale(0.5); /* Mulai dari ukuran kecil */
  animation: zoomIn 1.5s ease-out forwards; /* Animasi zoom-in */
  /* animation-delay: 1.1s; */
}

/* Keyframes untuk animasi zoom in */
@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: scale(0.1); /* Ukuran awal kecil */
  }
  100% {
    opacity: 1;
    transform: scale(1); /* Kembali ke ukuran normal */
  }
}

.logo-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem; /* Tambahkan ruang di sekitar elemen */
  position: relative;
  height: 60px; /* Tinggi yang lebih konsisten */
  border-radius: 10px;
}

/* Logo SIM (Chip) */
.sim {
  width: 50px; /* Ukuran chip lebih besar dan konsisten */
  height: auto;
  margin-left: 0.5rem; /* Beri jarak ke tepi */
}

/* Logo bank */
.bank-logo {
  width: 70px; /* Sesuaikan ukuran logo bank agar lebih proporsional */
  height: auto;
  margin-right: 0.5rem; /* Beri jarak ke tepi */
}

/* Info rekening */
.rekening-info {
  flex-grow: 1;
  text-align: center; /* Teks dipusatkan di tengah */
  margin-top: 0.5rem; /* Jarak dengan logo-container */
}

/* Nomor rekening */
.rekening-number {
  font-family: "KREDIT";
  text-align: left;
  letter-spacing: 1.5mm;
  font-size: 1.8rem;
  font-weight: 400;
  color: white;
  margin-bottom: 0.5rem; /* Jarak antar elemen */
  margin-left: 1.4rem;
}

/* Pemilik rekening */
.rekening-owner {
  font-family: "KREDIT";
  font-weight: 400;
  text-align: left;
  letter-spacing: 1mm;
  font-size: 1.2rem;
  color: white;
  text-transform: uppercase;
  margin-bottom: 1rem;
  margin-left: 1.4rem;
}

/* Tombol copy */
.copy-btn {
  background-color: rgb(107, 107, 107);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border-radius: 1.45px; /* Bentuk tombol lebih bulat */
  cursor: pointer;
  transition: background-color 0.3s ease;
  position: absolute; /* Tetap di sudut kanan bawah */
  bottom: 10px;
  right: 10px;
}

.copy-btn:hover {
  background-color: white;
  color: black;
}

/* Gifts End */

/*Komentar Start*/
.rsvp {
  padding: 40px 20px;
  background-color: #a4b5a1;
  font-family: "Century", sans-serif;
  color: #333;
}

/* Container Komentar */
.container-komen {
  max-width: 700px;
  margin: 0 auto;
  background: #dae9d8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* Judul Section */
.section-title {
  font-size: 3.2rem;
  font-family: "Mestika", serif;
  color: #000000;
  margin-bottom: 10px;
}

.container-komen p {
  font-size: 0.9rem;
  font-family: "Century", sans-serif;
  color: #000000;
  margin-top: -7px;
  margin-bottom: 10px;
}

/* Form Input */
form label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
  text-align: left;
  color: #333;
}

form input,
form textarea,
form select {
  width: 100%;
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 1.3rem;
  background-color: #ffffff;
}

form textarea {
  resize: none;
}

.btn-submit {
  display: block;
  width: 26%;
  padding: 12px;
  background-color: #748b6f;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.2rem;
}

.btn-submit:hover {
  background-color: #93bd8a;
}

/* Komentar */
.comment {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  padding: 15px 20px;
  margin: 15px auto;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 600px; /* Batas lebar komentar */
}

/* Foto Profil */
.profile-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px; /* Jarak antara foto dan konten */
}

/* Kontainer Komentar */
.comment-content {
  flex: 1; /* Isi area sisa */
}

/* Nama dan Status */
.name-status {
  display: flex;
  align-items: center; /* Nama dan status sejajar horizontal */
}

.name {
  text-align: left;
  font-family: "Domine";
  font-size: 2rem;
  font-weight: normal;
  color: #000000;
  margin-right: 10px; /* Jarak antara nama dan status */
}

.attendance-status svg {
  vertical-align: middle;
}

/* Timestamp */
.timestamp {
  margin-top: 10px; /* Jarak antara timestamp dan komentar */
  text-align: left;
  font-size: 0.9rem;
  color: #555;
  display: flex;
  align-items: center;
}

.timestamp i {
  margin-right: 5px; /* Jarak antara ikon dan teks timestamp */
  color: #555; /* Warna ikon */
  font-size: 5px;
}

/* Isi Komentar */
.comment-body {
  text-align: left;
  margin-top: 4px; /* Jarak antara isi komentar dan nama */
  font-size: 3rem !important;
  color: #000000;
}

/* Scroll Container */
.comment-container {
  max-height: 365px; /* Atur tinggi maksimal container */
  overflow-y: auto; /* Tambahkan scroll hanya pada sumbu Y */
  padding-right: 10px; /* Ruang ekstra untuk scrollbar */
  scrollbar-width: thin; /* Untuk browser yang mendukung, scrollbar lebih ramping */
  scrollbar-color: #ccc transparent; /* Warna scrollbar */
}

/* Scrollbar styling untuk browser berbasis WebKit (Chrome, Edge, Safari) */
.comment-container::-webkit-scrollbar {
  width: 8px; /* Lebar scrollbar */
}

.comment-container::-webkit-scrollbar-thumb {
  background-color: #ccc; /* Warna "jempol" scrollbar */
  border-radius: 26px; /* Membuat sudut melengkung */
}

.comment-container::-webkit-scrollbar-track {
  background: transparent; /* Warna latar belakang scrollbar */
}

/*Komen END*/

/* Closing Start */

.Closing {
  background-image: url("img/penutup.webp");
  background-size: cover;
  background-position: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.photo-container-penutup {
  margin: 2rem auto;
  width: 200px;
  height: 400px;
  border: 7px solid rgba(194, 222, 191, 0.9);
  border-radius: 150px 150px 150px 150px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.photo-container-penutup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.Closing::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.Closing .text-center {
  position: relative;
  z-index: 2;
  color: white;
  margin-top: -2rem;
}

.Closing h2 {
  font-family: "Mestika";
  color: #000;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
}

.Closing h1 {
  font-family: "Boheme Floral";
  font-weight: normal;
  font-size: 7rem;
  padding-top: 3rem;
  color: rgb(0, 0, 0);
  margin: 1rem 0;
  text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
}

.Closing p {
  padding: 26px;
  font-family: "CENTURY" !important;
  font-size: 1.4rem;
  color: rgb(0, 0, 0);
  margin-top: -18px;
  /* text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5); */
}

/* Foto mempelai */
.photo-container-penutup {
  margin: 2rem auto;
  width: 200px;
  height: 400px;
  border: 7px solid rgba(194, 222, 191, 0.9);
  border-radius: 150px 150px 150px 150px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.photo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*Penuturp END*/

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px; /* Jarak antar logo */
  margin-top: 15px;
}

.social-icons img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.2); /* Memberikan efek hover sedikit zoom pada logo */
}

.block {
  display: block; /* untuk membuat elemen menjadi blok, sehingga menambah jarak vertikal yang rapi */
}

small.block {
  font-family: sans-serif;
  color: #000;
  font-size: 15px;
  display: block;
  margin-bottom: 1rem; /* Memberikan jarak antara teks copyright dan logo */
}

/* Extra Large */
.simply-countdown > .simply-section {
  padding: 70px;
}

/* tablet */
@media (max-width: 768px) {
  html {
    font-size: 65%;
  }

  .simply-countdown > .simply-section {
    padding: 60px;
    margin: 5px;
  }

  .sticky-top {
    overflow: hidden;
  }

  .timeline li .timeline-image {
    width: 140px;
    height: 140px;
  }

  .img-fluid-foto {
  }
}

/* mobile phone */
@media (max-width: 576px) {
  html {
    font-size: 60%;
  }

  .simply-countdown > .simply-section {
    padding: 45px;
    margin: 3px;
  }
}

@media (max-width: 400px) {
  html {
    font-size: 60%;
  }

  .simply-countdown > .simply-section {
    padding: 35px;
    margin: 3px;
  }
}
