@font-face {
  font-family: "reguler";
  src: url(../font/reguler.otf);
}

@font-face {
  font-family: "nama";
  src: url(../font/BrightwallPersonalUse-d9KgV.ttf);
}
@font-face {
  font-family: "text";
  src: url(../font/Calliga-Regular.otf);
}

body {
  background-color: #333638;
}

.container {
  font-family: "reguler";
}

.top-header {
  position: absolute;
  bottom: 0px;
  right: 0%;
  left: 0%;
}

/* Header */
.header {
  position: relative;
  height: 100vh;
  overflow: hidden; /* Menghindari elemen yang meluap */
}

.header-content {
  display: flex;
  flex-direction: column; /* Menyusun elemen secara vertikal */
  justify-content: center; /* Menjaga elemen tetap di tengah vertikal */
  align-items: center; /* Menjaga elemen tetap di tengah horizontal */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8); /* Menempatkan di tengah dengan skala awal */
  text-align: center;
  z-index: 2;
  color: #000;
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff,
    1px 1px 0 #fff;
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease;
}

/* Animasi untuk saat elemen muncul */
.header-content.show {
  opacity: 1;
  transform: translate(-50%, 20%) scale(1); /* Efek naik dari bawah sedikit */
}

/* Styling untuk spacing antar elemen */
.header-content p,
.header-content h1,
.header-content h6,
.header-content span {
  margin: 10px 0;
}

/* Styling untuk judul utama */
.header-content h1 {
  font-size: 30px;
  font-family: "nama";
  margin: 20px 0;
}

/* Styling untuk subjudul */
.header-content h6 {
  font-weight: bolder;
  font-size: 20px;
  color: #000;
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff,
    1px 1px 0 #fff;
  font-family: "text";
  margin: 10px 0;
}

/* Styling untuk teks swipe */
.header-content span {
  font-size: 20px;
  color: #342c2a;
  font-family: "reguler";
}

/* Styling untuk video latar belakang */
.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110%;
  object-fit: cover;
  z-index: -1;
}

.rsvp {
  font-family: "reguler";
}

.wish {
  font-family: "reguler";
  background-color: #ffb6c1;
}

.main {
  background-color: white;
  background-position: center;
  padding-top: 5%;
  padding-bottom: 5%;
  text-align: center;

  font-family: "reguler";
}

#clock > div {
  border-radius: 30px;
  border: #fff solid 3px;
  background-color: rgba(0, 0, 0, 0.466);
  backdrop-filter: blur(15px);
  padding: 10px 10px 5px 10px;
  color: #fff;
  display: inline-block;
}
#clock > div > p {
  font-size: 16px;
  font-family: "reguler";
}
#days,
#hours,
#minutes,
#seconds {
  border-radius: 10%;

  font-size: 28px;

  display: inline-block;
  width: 40px;
}
span.turn {
  animation: turn 0.7s ease;
}
@keyframes turn {
  0% {
    transform: rotateX(0deg);
  }
  100% {
    transform: rotateX(360deg);
  }
}

.opening h1 {
  font-family: "nama";
  position: absolute;
  left: 0%;
  right: 0%;
  top: 42%;
  color: #000;
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff,
    1px 1px 0 #fff;
  font-size: 43px;
}

.opening h5 {
  font-weight: bolder;
  position: absolute;
  left: 0%;
  right: 0%;
  top: -5%;
  color: #000;
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff,
    1px 1px 0 #fff;
}

.opening h6 {
  font-size: 18px;
  color: #000;
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff,
    1px 1px 0 #fff;
  position: absolute;
  left: 0%;
  right: 0%;
  bottom: 29%;
}

.opening h4 {
  font-family: "text";
  font-size: 13px;
  color: #000;
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff,
    1px 1px 0 #fff;
  position: absolute;
  left: 0%;
  right: 0%;
  bottom: 35%;
}

.opening p {
  color: #342c2a;
  position: absolute;
  left: 0%;
  right: 0%;
  bottom: 15%;
  font-size: 13px;
}

.btn .btn-opening1 {
  color: #fff;
  font-family: "reguler";
}

.btn {
  background-color: #fff;
  color: #000;
  padding: 1px;
  font-size: 21px;
  cursor: pointer;
  font-family: "reguler";
}

.center-button {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 0%;
  right: 0%;
  bottom: 18%;
}

.opening img {
  display: flex;
  display: block;
  margin-left: auto;
  margin-right: auto;
  position: absolute;
  top: 3%;
}

body#index.opening-show {
  min-height: 100vh;
  max-height: 100vh;
  overflow: hidden;
}

body#index.opening-hide {
  min-height: 100vh;
  max-height: unset;
}

body#index.opening-hide section#opening {
  animation: opening-hide 2s ease-in-out forwards;
}
/* Section Opening */
body#index section#opening {
  padding: 8rem 0 0;
  position: fixed;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 9999;
  background-image: linear-gradient(
      360deg,
      #d89d9d 0%,
      rgba(255, 255, 255, 0) 38%,
      rgba(255, 255, 255, 0) 72%,
      rgba(240, 235, 235, 0) 99%
    ),
    url("../img/bgbg.png");
  background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  -o-background-size: cover;
  background-position: center center;
  background-attachment: scroll;
  background-repeat: no-repeat;
  height: 110vh;
  overflow-x: hidden;
  overflow-y: auto;

  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}

.transparant {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.6);
  background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  -o-background-size: cover;
  background-position: center center;
  background-attachment: scroll;
  height: 200vh;
  width: 200vw;
}

.transparant1 {
  background-color: rgba(0, 0, 0, 0.5);
  position: unset;
  width: 100%;
  height: 100%;
}

.transparant2 {
  background-color: rgba(0, 0, 0, 0.8);
  position: unset;
  width: 100%;
  height: 100%;
}

.countdown {
  background-image: linear-gradient(
      360deg,
      #333638 0%,
      rgba(255, 255, 255, 0) 38%,
      rgba(255, 255, 255, 0) 72%,
      rgba(0, 0, 0, 0.62) 99%
    ),
    url("../img/card3.png");

  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
}

.thanks {
  text-align: center;
  color: #755035;
}

.thanks h2 {
  font-family: "reguler";
}

.thanks h3 {
  font-family: "header";
  font-size: 35px;
}

body#index section#opening .container {
  z-index: 2;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 8rem;
}

body#index section#opening .decoration {
  position: absolute;
  font-size: 5px;
  z-index: 1;
}

@keyframes opening-hide {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(0.5rem);
  }

  100% {
    transform: translateY(-100%);
    opacity: 1;
  }
}

.btn#btn-play {
  position: fixed;
  bottom: 1rem;
  left: 0.5rem;
}

.btn#btn-to-top {
  position: fixed;
  bottom: 5rem;
  left: 2rem;
  display: none;
  animation: pop-out 0.3s linear forwards;
}

.btn.btn-light {
  border: unset;
  width: 2.5rem !important;
  height: 2.5rem !important;
  padding: unset;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 999;
  box-shadow: unset !important;
  background-color: rgba(0, 0, 0, 0.8);
}

.btn.btn-light.active i {
  color: #7a9577;
}

.btn.btn-light:focus {
  box-shadow: unset;
}

.btn.btn-light i {
  color: #fdfdfd;
}

.btn.btn-dark {
  background-color: #fff;
  color: #000;
}
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999999;
  background-color: rgba(0, 0, 0, 0.5);
}
.preloader .loading {
  position: absolute;
  left: 50%;
  top: 60%;
  transform: translate(-50%, -50%);
  font: 14px arial;
}

.text-bordered {
  border-top: 2px solid #c4c4c4;
  border-bottom: 2px solid #c4c4c4;
  padding: 0.8rem 2rem;
}

.font-light {
  font-weight: 300;
}

section#galeri .container {
  padding-top: 80px;
  padding-bottom: 100px;
}

section#galeri .container h1 {
  font-family: "Domine";
  font-size: 37px;
  font-weight: 700;
  margin-bottom: 32px;
}

section#galeri .container p {
  font-size: 18px;
  margin-bottom: 75px;
}

section#galeri .container .img-placeholder {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
}

section#galeri .container .img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

section#galeri .container .row-first [class^="col"] {
  height: 450px;
}

section#galeri .container .row-first [class^="col"]:nth-child(2) {
  display: flex;
  flex-direction: column;
}

section#galeri .container .row-first [class^="col"]:nth-child(2) a {
  flex-grow: 1;
  overflow: hidden;
}

section#galeri .container .row-first [class^="col"]:nth-child(2) a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

section#galeri .container .row-second [class^="col"] {
  height: 550px;
}

section#galeri .container .row-third [class^="col"] {
  height: 450px;
}

@media (max-width: 1200px) {
  section#galeri .row-first [class^="col"] {
    height: 350px !important;
  }

  section#galeri .row-second [class^="col"] {
    height: 400px !important;
  }

  section#galeri .row-third [class^="col"] {
    height: 300px !important;
  }
}

@media (max-width: 577px) {
  section#galeri .container {
    padding-bottom: 10px;
  }

  section#galeri .container .row-first [class^="col"]:nth-child(1) {
    height: 200px !important;
  }

  section#galeri .container .row-first [class^="col"]:nth-child(2) {
    height: 100px !important;
    flex-direction: row !important;
    gap: 5px;
  }

  section#galeri .container .row-second [class^="col"] {
    height: 170px !important;
  }

  section#galeri .container .row-third [class^="col"] {
    height: 140px !important;
  }
}

body#index section#section-2 {
  min-height: 68rem;
}

body#index section#section-2 .card.card-story {
  font-size: 6px;
}

@media screen and (min-width: 768px) {
  body#index section#section-2 .card.card-story {
    font-size: 10px;
  }
}

.card {
  border: 0;
}

.card.card-story {
  position: relative;
  border-radius: 1rem;
  font-size: 10px;
  width: 34em;
  height: 45em;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: visible;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  padding: 0;
  z-index: 1;
}

.card.card-story::before {
  content: "";
  display: block;
  width: 16em;
  height: 23em;
  position: absolute;
  z-index: -1;
  background-size: contain;
  background-repeat: no-repeat;
}

.card.card-story::after {
  content: "";
  display: block;
  position: absolute;
  z-index: 3;
  background-size: contain;
  background-repeat: no-repeat;
}

.card.card-story.card-story-left {
  transform: rotate(4deg);
}

.card.card-story.card-story-left::before {
  left: -12em;
}

.card.card-story.card-story-left::after {
  align-self: center;
  width: 24em;
  height: 6.4em;
  top: -2.5em;
  left: 7em;
  background-image: url("../img/card-story-left.png");
}

.card.card-story.card-story-right {
  transform: rotate(-4deg);
}

.card.card-story.card-story-right::before {
  right: -12em;
}

.card.card-story.card-story-right::after {
  align-self: center;
  width: 21em;
  height: 5.4em;
  transform: rotate(3deg);
  top: -2.5em;
  right: 4em;
  background-image: url("../img/card-story-right.png");
}

.card.card-story .card-body {
  position: relative;
  background-color: #465a65;
  z-index: 2;
  padding: 2rem 2rem;
  flex-grow: 1;
}

.card.card-story .card-body img {
  width: 100%;
}

/*Profile Card 5*/
.profile-card-5 {
  margin-top: 20px;
}
.profile-card-5 .btn {
  border-radius: 2px;
  text-transform: uppercase;
  font-size: 12px;
  padding: 7px 20px;
}
.profile-card-5 .card-img-block {
  width: 91%;
  margin: 0 auto;
  position: relative;
  top: -20px;
}
.profile-card-5 .card-img-block img {
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.63);
}
.profile-card-5 h5 {
  color: #4e5e30;
  font-weight: 600;
}
.profile-card-5 p {
  font-size: 14px;
  font-weight: 300;
}
.profile-card-5 .btn-primary {
  background-color: #4e5e30;
  border-color: #4e5e30;
}

.tempat {
  background-image: linear-gradient(
      180deg,
      #ce7d7d 0%,
      rgba(255, 255, 255, 0) 38%,
      rgba(255, 255, 255, 0) 72%,
      rgba(0, 0, 0, 0) 99%
    ),
    url("../img/bg-2.png");
  background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  -o-background-size: cover;
  background-position: center center;

  background-attachment: scroll;
  background-repeat: no-repeat;
  padding: 8%;
}

.akad {
  border: #fff solid 3px;
  position: relative; /* Dibutuhkan untuk pseudo-element */
  text-align: center;
  border-radius: 30px;
  background-color: rgba(0, 0, 0, 0.5);
  font-family: "text";
  z-index: 1; /* Agar konten tetap di atas pseudo-element */
  padding: 20px;
}

.akad::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 5px solid #000;
  border-radius: 30px;
  filter: blur(10px); /* Menambahkan blur pada border */
  z-index: -1; /* Menempatkan pseudo-element di bawah konten */
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper {
  width: 100%;
  height: 300px;
  margin-left: auto;
  margin-right: auto;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
}

.mySwiper2 {
  height: 80%;
  width: 100%;
}

.mySwiper {
  height: 20%;
  box-sizing: border-box;
  padding: 10px 0;
}

.mySwiper .swiper-slide {
  width: 25%;
  height: 100%;
  opacity: 0.4;
}

.mySwiper .swiper-slide-thumb-active {
  opacity: 1;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

video {
  border-radius: 20px;
  width: 100%; /* Sesuaikan dengan lebar yang diinginkan */
  height: auto;
}

.t10 {
  margin-top: 10%;
}

.b10 {
  margin-bottom: 10%;
}

input.line {
  border: none;
  color: #fff;
  border-bottom: 2px solid #fff;
  background: transparent;
  margin-bottom: 10px;
  display: block;

  width: 100%;
}

.line::-webkit-input-placeholder {
  color: #000;
  background: transparent;
}

.required-field::before {
  content: "*";
  color: red;
  font-family: "header";
}

.reservasi {
  background-image: linear-gradient(
      180deg,
      #ce7d7d 0%,
      rgba(255, 255, 255, 0) 38%,
      rgba(255, 255, 255, 0) 72%,
      rgba(0, 0, 0, 0) 99%
    ),
    url("../img/bg-2.png");
  background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  -o-background-size: cover;
  background-position: center center;

  background-attachment: scroll;
  background-repeat: no-repeat;
}

.my-custom-scrollbar {
  position: relative;
  height: 500px;
  overflow: auto;
}
.table-wrapper-scroll-y {
  display: block;
}

.last {
  background-image: linear-gradient(
      180deg,
      #333638 10%,
      rgba(255, 255, 255, 0) 38%,
      rgba(255, 255, 255, 0) 72%,
      rgba(0, 0, 0, 0.62) 99%
    ),
    url("../img/27.jpeg");

  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
}

.profile {
  background-color: rgba(0, 0, 0, 0.3);
  position: relative;
  top: 140px;
  bottom: auto;
}

.icon-animasi {
  animation: float 2s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

.move {
  animation: berayun 4s ease-in-out infinite alternate;
  transform-origin: center;
}

@keyframes berayun {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(15deg);
  }
  100% {
    transform: rotate(-15deg);
  }
}

/* Profile Container */
.profile-container {
  padding: 5% 0;
  background-color: rgba(51, 54, 56, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Profile Card */
.profile {
  text-align: center;
  background-color: rgba(0, 0, 0, 0.8);
  margin: 1rem;
  padding: 2rem;
  border-radius: 10px;
  transition: transform 0.3s ease;
  color: #fff;
}

/* Profile Image */
.profile-image {
  width: 60%;
  border-radius: 50%;
  margin-bottom: 1rem;
}

/* Hover Effect on Profile Card */
.profile:hover {
  transform: scale(1.05);
}

/* Instagram Icon Styling */
.fab.fa-instagram-square {
  font-size: 24px;
  color: #fff;
  text-decoration: none;
  margin-top: 1rem;
  display: inline-block;
}

.fab.fa-instagram-square:hover {
  color: #e1306c;
}
.carousel-inner {
  height: 100vh; /* Mengatur tinggi item carousel */
}

.carousel-item {
  height: 100%; /* Memastikan item carousel mengisi seluruh tinggi */
  background-size: cover; /* Menyesuaikan gambar agar mengisi area */
  background-position: center; /* Menjaga gambar tetap di tengah */
  position: relative; /* Agar overlay dapat diatur */
}

.content-container {
  position: absolute; /* Mengatur posisi konten di atas carousel */
  top: 50%; /* Mengatur konten agar berada di tengah vertikal */
  left: 50%; /* Mengatur konten agar berada di tengah horizontal */
  transform: translate(-50%, -50%); /* Memindahkan konten ke tengah */
  z-index: 10; /* Menjaga konten di atas overlay */
  width: 100%; /* Memastikan lebar konten 100% */
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(
    51,
    54,
    56,
    0.5
  ); /* Transparansi untuk membuat teks lebih terbaca */
}

.carousel-item {
  transition: transform 0.6s ease; /* Mengatur durasi dan easing */
}

.carousel-item-next,
.carousel-item-prev,
.carousel-item.active {
  display: block; /* Menampilkan elemen */
  transition: transform 0.6s ease; /* Mengatur durasi transisi */
}

/* Aturan untuk transisi ke kanan */
.carousel-item-next {
  transform: translateX(100%); /* Pindah ke kanan */
}

.carousel-item-prev {
  transform: translateX(-100%); /* Pindah ke kiri */
}

.card-img-block {
  position: relative;
  height: 400px;
  display: flex;
  justify-content: center; /* Pusatkan secara horizontal */
  align-items: center; /* Pusatkan secara vertikal */
  overflow: hidden;
  background-color: #f0f0f0; /* Warna latar belakang opsional */
}

.card-img-top {
  max-width: 100%; /* Pastikan gambar tidak melebihi lebar container */
  max-height: 100%; /* Pastikan gambar tidak melebihi tinggi container */
  object-fit: cover; /* Memastikan gambar menutupi area dengan proporsi baik */
  transition: transform 1s ease-in-out, opacity 0.5s;
}

.card-img-top.hide {
  transform: translateY(-100%);
  opacity: 0;
}

.card-img-top.show {
  transform: translateY(0);
  opacity: 1;
}
