@font-face {
  font-family: header;
  src: url(../font/Allura-Regular.ttf);
}

@font-face {
  font-family: nama;
  src: url(../font/ElMessiri-Regular.ttf);
}

@font-face {
  font-family: reguler;
  src: url(../font/PlayfairDisplay-Regular.ttf);
}
.container {
  font-family: "reguler";
}

.top-header {
  position: absolute;
  bottom: -10%;
  right: 0%;
  left: 0%;
}

.header {
  background-image: url("../img/bg1.png");
  background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  -o-background-size: cover;
  background-position: center center;
  background-color: rgba(0, 0, 0, 0.5);
  background-attachment: scroll;
  background-repeat: no-repeat;
  height: 100vh;
}

.header h1 {
  font-size: 50px;
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  color: #2b4158;
  text-align: center;
  font-family: "header";
}

.header h2 {
  position: absolute;
  left: 50%;
  bottom: 10%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  color: #2b4158;
  font-family: "reguler";
}

.header p {
  font-size: 25px;
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #2b4158;

  font-family: "reguler";
}

.header h6 {
  font-size: 20px;
  position: absolute;
  left: 50%;
  bottom: 20%;
  transform: translate(-50%, -50%);
  color: #2b4158;
  text-align: center;
  font-family: "reguler";
}

.header img {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  width: 80%;
}

.center-img {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 0%;
  right: 0%;
  top: 8%;
}

.center-jam {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 0%;
  right: 0%;
  bottom: 5%;
}

.footer {
  background-image: url("../img/2.jpg");
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
}

.icon {
  color: #755035;
}

.rsvp {
  font-family: "poppins";
}

.wish {
  font-family: "poppins";
  background-color: #ffb6c1;
}

.main {
  background-color: white;
  background-position: center;
  padding-top: 5%;
  padding-bottom: 5%;
  text-align: center;
  color: rgb(0, 0, 0);
  font-family: "poppins";
}

#clock > div {
  backdrop-filter: blur(10px);
  border-radius: 10%;
  background-color: rgba(8, 46, 214, 0.336);
  padding: 20px 20px 10px 20px;
  color: #000;
  display: inline-block;
}
#clock > div > p {
  font-size: 16px;
  font-family: "header";
}
#days,
#hours,
#minutes,
#seconds {
  border-radius: 10%;

  font-size: 30px;

  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";
  font-size: 100px;
  position: absolute;
  left: 0%;
  right: 0%;
  top: 12%;
  color: #2b4158;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000,
    1px 1px 0 #000;
}

.opening h5 {
  font-family: "reguler";
  position: absolute;
  top: 1%;
  color: #000;
}

.opening h6 {
  font-size: 20px;
  color: #000;
  position: absolute;
  left: 0%;
  right: 0%;
  bottom: 31%;
}

.opening img {
  position: absolute;
  left: 30%;
  bottom: 1%;
  transform: translate(-50%, -1%);
  width: 80%;
}

.btn-opening1 {
  color: #2b4158;
  font-size: 23px;
  position: absolute;
  left: 50%;
  bottom: 18%;
  transform: translate(-50%, -50%);
  font-family: "reguler";
  background-color: #fff;
}
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;
}

body#index section#opening {
  padding: 8rem 0 0;
  position: fixed;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 9999;
  background-image: url("../img/bg.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;
  min-height: 92vh;
  overflow-x: hidden;
  overflow-y: auto;
  transition: all 0.3s ease-in;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}

.transparant {
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  width: 100%;
  height: 100%;
}
.transparant2 {
  background-color: rgba(0, 0, 0, 0.8);
  position: unset;
  width: 100%;
  height: 100%;
}

.thanks {
  text-align: center;
  color: #755035;
}

.thanks h2 {
  font-family: "poppins";
}

.thanks h3 {
  font-family: "calliga";
  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: #4d5b78;
  color: #fff;
}
.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;
  }
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: rgba(240, 240, 240, 0);

  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.swiper-slide img {
  display: ruby;
  width: 80%;
  height: 80%;
  object-fit: cover;
}

.swiper {
  width: 100%;
  height: 300px;
  margin-left: auto;
  margin-right: auto;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
}

.mySwiper2 {
  height: 50%;
  width: 80%;
}

.mySwiper {
  height: 20%;
  box-sizing: border-box;
  padding: 10px 0;
}

.mySwiper .swiper-slide {
  width: 20%;
  height: 100%;
  opacity: 0.4;
}

.mySwiper .swiper-slide-thumb-active {
  opacity: 1;
}

@media only screen and (min-width: 100px) and (max-width: 500px) {
}

*,
*:before,
*:after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.popup {
  background-color: transparent;
  width: 450px;
  padding: 30px 40px;
  position: fixed;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  display: none;
  text-align: center;
}
.popup button {
  display: block;
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translate(-50%, 50%);
  background-color: transparent;
  font-size: 30px;
  color: #ffffff;
  background: #03549a;
  border-radius: 100%;
  width: 40px;
  height: 40px;
  border: none;
  outline: none;
  cursor: pointer;
}

div#box {
  margin: 5% auto;
  background: #fff;
  width: 50%;
  height: 50%;
  -webkit-box-shadow: 0 0 15px #000;
  -moz-box-shadow: 0 0 15px #000;
  box-shadow: 0 0 15px #000;
}

#copyText {
  background: none;
  border: none;
  padding: 5px; /* Atur sesuai kebutuhan */
  font-size: 16px; /* Atur sesuai kebutuhan */
}

input.line {
  border: none;
  color: #000;
  border-bottom: 2px solid #000;
  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";
}
