html {
  scroll-behavior: smooth !important;
  scrollbar-width: none !important;
}

body {
  font-family: "Josefin Sans", sans-serif !important;
  padding: 0 !important;
  /* overflow-y: hidden;
    background-color:#f8f7f3;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-height: 100dvh; */
}

.grid-container {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 500px) 1fr;
  height: 100%;
  width: 100%;
}

.grid-left {
  background: url("../assets/images/photo-bnw1.jpeg");
  /* Background untuk sisi kiri dan kanan */
  background-size: cover;
  background-position: center;
  filter: blur(2px);
  /* Blur agar tidak mengganggu konten utama */
}

.grid-right {
  background: url("../assets/images/photo-bnw2.jpeg");
  /* Background untuk sisi kiri dan kanan */
  background-size: cover;
  background-position: center;
  filter: blur(2px);
  /* Blur agar tidak mengganggu konten utama */
}

.grid-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  padding-left: 50px;
  padding-right: 50px;
  margin: 0 auto;
  background-color: #000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  text-align: center;
  -webkit-overflow-scrolling: touch;
}

.font-esthetic {
  /* font-family: 'Sacramento', cursive !important; */
  font-family: "Elsie Swash Caps", serif;
  font-weight: 400;
  font-style: normal;
  color: #e3be67 !important;
}

.font-arabic {
  font-family: "Noto Naskh Arabic", serif !important;
  color: #e3be67 !important;
}

.font-sono {
  font-family: "Sono", monospace;
  color: #999;
  margin-bottom: 5px;
}

.fcolor {
  color: #e3be67 !important;
}

.img-crop {
  width: 10rem;
  height: 10rem;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
}

.img-crop > img {
  display: inline;
  margin: 0 auto;
  height: auto;
  width: 100%;
}

.btn-music {
  position: fixed;
  bottom: 9vh !important;
  right: 2vh !important;
  z-index: 1055 !important;
}

section {
  background-color: #000;
}

/* .start-page {
    position: fixed;
    inset: 0 !important;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 1056 !important;
} */
.start-page {
  position: fixed; /* Menempel ke seluruh layar */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000; /* Warna latar */
  color: #fff; /* Warna teks */
  z-index: 9999; /* Menempatkan di atas elemen lain */
  overflow-y: auto; /* Scroll jika konten terlalu panjang */
  display: flex;
  justify-content: center; /* Pusatkan secara horizontal */
  align-items: center; /* Pusatkan secara vertikal */
  text-align: center;
}

.card-body {
  overflow-wrap: break-word !important;
}

.mouse-animation {
  padding: 0.25rem 0.625rem;
  height: 2rem;
  border: 0.1rem solid #e3be67;
  border-radius: 1.4rem;
  opacity: 0.75;
  box-sizing: content-box;
}

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

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

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

.mouse-animation > .scroll-animation {
  width: 0.25rem;
  height: 0.625rem;
  border-radius: 25%;
  background-color: #e3be67;
  animation-name: scroll;
  animation-duration: 2.5s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes spin-icon {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.spin-button {
  animation: spin-icon 5s linear infinite;
}

@keyframes love {
  50% {
    transform: translateY(1rem);
  }
}

.animate-love {
  animation: love 5s ease-in-out infinite;
}

.dark-section {
  background-color: #000 !important;
  margin-top: -0.5rem;
  margin-bottom: -0.5rem;
}

footer {
  background-color: #000 !important;
  margin-top: -0.5rem;
  padding-bottom: 5rem;
}

h1 {
  color: #e3be67;
}

p {
  color: #e3be67;
}

i {
  color: #e3be67;
}

.btn-open {
  z-index: 2;
  width: 200px;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  text-align: center;
}

/* Media query untuk layar dengan lebar kurang dari 600px (biasanya perangkat mobile) */
@media (max-width: 600px) {
  .main {
    align-content: center;
  }

  .icon-top {
    position: absolute;
    z-index: 1;
    right: 0%;
    width: 80%;
    top: 0px;
  }

  .icon-bottom {
    position: absolute;
    z-index: 1;
    left: 0px;
    bottom: 0px;
    width: 80%;
  }
}

/* Media query untuk layar dengan lebar lebih dari 600px dan kurang dari 1200px (biasanya tablet atau layar desktop kecil) */
@media (min-width: 601px) and (max-width: 1200px) {
  .main {
    align-content: center;
  }

  .icon-top {
    position: absolute;
    z-index: 1;
    right: 0%;
    width: 80%;
    top: 0px;
  }

  .icon-bottom {
    position: absolute;
    z-index: 1;
    left: 0px;
    bottom: 0px;
    width: 80%;
  }
}

/* Media query untuk layar dengan lebar lebih dari 1200px (biasanya layar desktop) */
@media (min-width: 1201px) {
  .main {
    width: 50%;
    height: 100%;
    align-content: center;
    border: 1px solid #f2f2f2;
  }

  .icon-top {
    position: absolute;
    z-index: 1;
    right: 25%;
    width: 30%;
    top: 0;
  }

  .icon-bottom {
    position: absolute;
    z-index: 1;
    left: 25%;
    bottom: 0px;
    width: 30%;
  }
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
}

.gallery-item img {
  width: 100%;
  height: auto;
  cursor: pointer;
  transition: transform 0.2s;
}

/* Tablet & Desktop */
@media (min-width: 768px) {
  #photos .text-center {
    width: 100%;
  }

  .gallery-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    max-width: 820px;
    margin: 0 auto;
  }

  .gallery-item {
    width: 150px;
    height: auto;
    overflow: visible;
  }

  .gallery-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

.gallery-item img:hover {
  transform: scale(1.05);
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.lightbox-content {
  position: relative;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
}

.lightbox-content img {
  width: auto;
  max-width: 80%;
  height: auto;
  max-height: 80%;
  transition: transform 0.2s;
}

.close,
.prev,
.next {
  position: absolute;
  color: white;
  font-size: 40px;
  cursor: pointer;
  top: 20px;
}

.close {
  right: 30px;
  z-index: 1001;
}

.prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* Zoom effect */
.lightbox-content img:active {
  transform: scale(1.2);
}

.wedding-gift-section {
  max-width: 800px;
  margin: auto;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center; /* Center text within the section */
}

h1.font-esthetic {
  font-size: 2rem;
  color: #2c3e50; /* Darker text color */
  margin-bottom: 10px;
}

.gift-description {
  color: #34495e; /* Slightly lighter text color */
  margin-bottom: 20px;
}

.gift-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.gift-option {
  margin-bottom: 10px;
  background-image: url("../assets/images/bg-gift.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 10px;
  padding: 15px;
  transition:
    transform 0.2s,
    box-shadow 0.2s; /* Smooth hover effect */
  text-align: center;
}

.gift-option:hover {
  transform: translateY(-5px); /* Lift effect */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); /* Slight shadow effect */
}

.gift-option img {
  width: 100px; /* Set a fixed size for icons */
  height: auto; /* Maintain aspect ratio */
  margin-bottom: 10px; /* Space between the image and the text */
}

.salin {
  background-color: #e3be67; /* Blue button color */
  color: #333;
  border: none;
  border-radius: 5px;
  padding: 5px 10px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 13px;
}

.salin:hover {
  background-color: #d49c1b; /* Darker blue on hover */
}

.bg-image {
  background-image: url("../assets/images/bg_end.jpeg");
  background-repeat: no-repeat;
  background-position: 35%;
  background-size: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.bg-image2 {
  background-image: url("../assets/images/bg_end.jpeg"); /* Ganti dengan URL gambar yang sesuai */
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover; /* Mengatur ukuran gambar agar menutupi seluruh area */
  overflow: hidden; /* Menyembunyikan overflow jika ada */
}

/* Mengatur konten dalam footer */
.text-center-footer {
  text-align: center;
  position: relative; /* Agar konten bisa terlihat di atas overlay */
  z-index: 2; /* Pastikan teks berada di atas overlay */
}

/* Media query untuk mengubah gaya di mode mobile */
@media (max-width: 768px) {
  /* Sesuaikan ukuran ini dengan breakpoint yang diinginkan */
  .bg-image {
    background-size: auto; /* atau nilai lain yang kamu inginkan */
  }
  .bg-image2 {
    background-size: auto; /* atau nilai lain yang kamu inginkan */
  }
}
