@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,700;1,300;1,400&family=Dancing+Script:wght@400;600;700&family=Playball&display=swap");

body {
  background-color: #ffffff;
}

.font-dancing {
  font-family: "Dancing Script", cursive;
}

.font-playball {
  font-family: "Playfair Display", serif;
}

p {
  font-family: "Futura", sans-serif;
}

.tg {
  color: #ffffff;
}

.overlay {
  background: rgba(0, 0, 0, 0.692); /* Warna hitam transparan */
  z-index: 1; /* Posisi di bawah teks */
}

.container {
  z-index: 2; /* Pastikan konten di atas layer transparan */
}

.bg-berem {
  background-color: #ffffff;
}

.text-berem {
  color: #828191;
}

.bg-wakwak {
  background-color: #000000;
}

.text-wakwak {
  color: #ffe2e2;
}

.bg-fee {
  background-color: #f6f6f6;
}

.bg-kulit {
  background-color: #86613c;
}

.fs-100 {
  font-size: 100px;
}

.fs-80 {
  font-size: 80px;
}

.fs-60 {
  font-size: 60px;
}

.fs-45 {
  font-size: 45px;
}

.fs-40 {
  font-size: 40px;
}

.fs-25 {
  font-size: 25px;
}

.fs-20 {
  font-size: 20px;
}

.scale {
  overflow: hidden;
  transition: 0.5s;
}
.scale:hover {
  transform: scale(1.05);
}

.norek {
  cursor: pointer;
  border: none;
  outline: none;
}

@media (max-width: 640px) {
  h1 {
    font-size: 3rem !important;
  }
  #front-image {
    display: none;
  }
  #front-text {
    padding-top: 40%;
    height: 100vh;
    background-image: url(../img/img2c.jpeg);
    background-size: cover;
  }
  .ayat p {
    font-size: 0.9rem !important;
  }

  .countdown h2 {
    font-size: 2rem !important;
  }

  .bg-countdown h1 {
    font-size: 1.8rem !important;
  }

  .bg-countdown h3 {
    font-size: 1rem !important;
  }

  .bg-gift {
    margin: 0;
    padding-left: 30px !important;
    padding-right: 30px !important;
  }

  .bg-thanks h2 {
    font-size: 3rem !important;
  }
}

#front-image img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

bg {
  color: #83610a6e;
}

/* Slideshow Container */
.slideshow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Slide Backgrounds */
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  animation: zoom 6s infinite alternate;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

/* Animasi Zoom In dan Zoom Out */
@keyframes zoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

/* Aktifkan Slide */
.slide.active {
  opacity: 1;
}

.img-ayat {
  border-radius: 20px;
}

.divider {
  width: 500px;
  height: auto;
  display: block;
  margin: 0 auto; /* Tengah secara horizontal */
}

/* Slideshow Container untuk Section Baru */
.slideshow-container-2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%; /* Menggunakan minimal tinggi 100% */
  height: auto; /* Menyesuaikan dengan konten */
  overflow: hidden;
}

/* Slide Background untuk Section Baru */
.slide-2 {
  position: absolute;
  width: 100%;
  min-height: 100%; /* Minimal tinggi 100% untuk memastikan responsif */
  height: auto; /* Menyesuaikan dengan konten */
  background-size: cover;
  background-position: center;
  animation: zoom 6s infinite alternate;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

/* Animasi Zoom */
@keyframes zoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

/* Aktifkan Slide untuk Section Baru */
.slide-2.active {
  opacity: 1;
}

.bg-countdown {
  background: rgba(0, 0, 0, 0.507);
  border-radius: 20px;
  display: flex;
  align-items: stretch; /* Memastikan tinggi div mengikuti konten tertinggi */
  overflow: hidden; /* Menghindari elemen yang keluar dari batas */
  height: 100%;
}

.img-countdown1 {
  width: 100%; /* Memenuhi lebar kolom kanan */
  height: 100%; /* Memenuhi tinggi kolom kanan */
  object-fit: cover; /* Memastikan gambar menyesuaikan ukuran tanpa merusak rasio */
  border-radius: 20px;
}

.row.bg-countdown {
  margin: 0; /* Hilangkan margin default */
  flex-grow: 1;
  padding: 0;
}

.col-countdown1 {
  padding: 0; /* Hilangkan padding pada kolom kanan */
  display: flex;
  align-items: stretch; /* Tinggi gambar menyesuaikan */
}

.bg-gift {
  margin: 0;
  padding-left: 150px;
  padding-right: 150px;
  background: rgba(255, 255, 255, 0.507);
  width: 100%;
}

.bg-thanks {
  background: #1a1a1d;
  margin-top: -10px;
}

.bg-thanks h1 {
  margin: 0;
}

.comment {
  margin-bottom: 20px; /* Jarak antar komentar */
}

.comment-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2; /* <-- ini tambahan untuk standar modern */
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4rem;
  max-height: calc(1.4rem * 2);
  transition: max-height 0.3s ease;
}

.comment-text.expanded {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  max-height: 100vh; /* agar terbuka semua saat expand */
}

.read-more {
  font-size: 0.85rem;
  padding: 0;
  border: none;
  background: none;
  color: blue;
  cursor: pointer;
}

hr {
  border: 1px solid #ccc; /* Garis pembatas */
  margin: 10px 0; /* Jarak atas dan bawah garis */
}
.attendance-box {
  display: inline-block;
  padding: 5px;
  border-radius: 10px;
  color: white;
  font-size: 1rem; /* Ukuran huruf di dalam kotak */
  margin-right: 20px;
  width: 120px; /* Lebar kotak */
  text-align: center; /* Pusatkan teks di dalam kotak */
}
.present-box {
  background-color: rgb(49, 145, 65); /* Warna hijau untuk hadir */
}
.absent-box {
  background-color: red; /* Warna merah untuk tidak hadir */
}

.comment-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 2; /* Untuk browser berbasis WebKit */
  line-clamp: 2; /* Properti standar */
}

@media (min-width: 768px) {
  .comment-text {
    -webkit-line-clamp: unset; /* Hapus batasan di desktop */
    line-clamp: unset;
    display: block; /* Tampilkan semua teks di desktop */
  }
}

.line {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 210px;
}

.vertical-line {
  width: 1px;
  height: 205px;
  background-color: rgb(255, 255, 255);
}

.bg-date {
  background: rgba(0, 0, 0, 0.5); /* Overlay transparan */
  border-radius: 8px; /* Sudut melengkung */
  padding: 20px; /* Ruang di dalam div */
  display: inline-block; /* Lebar menyesuaikan konten */
  text-align: center; /* Teks berada di tengah */
  overflow: hidden; /* Menghindari konten keluar dari batas */
}

/* Opsional: Tambahkan efek bayangan untuk mempercantik */
.bg-date:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

button {
  cursor: pointer; /* Efek kursor saat diarahkan ke tombol */
}

.card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}
.bank-name {
  font-size: 24px;
  font-weight: bold;
  /* color: #8a775c; */
}
.account-number {
  font-size: 18px;
  font-weight: bold;
  /* color: #5a5145; */
  margin: 10px 0;
}
.account-name {
  font-size: 16px;
  /* color: #6d6458; */
  margin-bottom: 10px;
}
.copy-btn {
  background-color: #1a1a1d;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  display: block;
  margin: 10px auto 0;
  font-size: 14px;
}
.copy-btn:hover {
  background-color: #585858;
}
