@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap');


.bg-primary{
    background-color: #1e1e1e;
}
.bg-second{
    background-color: #222222;
}
.bg-third{
    background-color: #222b2d;
}


.text-100{
    color: #d1d1d1;
}
.text-200{
    color: #222222;
}

.bg-hightlight{
    background: linear-gradient(to top, #000000, transparent);
}
.to-bottom {
    background: linear-gradient(to top, #1e1e1e, transparent);
}

.text-xss{
    font-size: 0.6rem;
}

.h-custom{
    height: 550px;
}
.hcus{
    height: 1px;
}

.text-cus{
    font-size: 3.5rem;

}
@font-face {
    font-family: 'Abaya';
    src: url('./assets/fonts/abaya.woff2') format('woff2');
}
@font-face {
    font-family: 'Alice';
    src: url('./assets/fonts/alice.woff2') format('woff2');
}
@font-face {
    font-family: 'Aurelia';
    src: url('./assets/fonts/Aurelia.woff2') format('woff2');
}
@font-face {
    font-family: 'Average';
    src: url('./assets/fonts/average.woff2') format('woff2');
}
@font-face {
    font-family: 'Cinzel';
    src: url('./assets/fonts/cinzel.woff2') format('woff2');
}
@font-face {
    font-family: 'Cormor';
    src: url('./assets/fonts/cormor.woff2') format('woff2');
}
.Roboto{
    font-family: 'Roboto', sans-serif;
}

.Alice {
    font-family: 'Alice', sans-serif;
}
.Aurelia {
    font-family: 'Aurelia', sans-serif;
}
.Average {
    font-family: 'Average', sans-serif;
}
.Cinzel {
    font-family: 'Cinzel', sans-serif;
}
.Cormor {
    font-family: 'Cormor', sans-serif;
}
.Abaya {
    font-family: 'Abaya', sans-serif;
}

.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.video-background iframe {
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.map-container iframe {
    width: 100%;
    height: 100%;
  }
  .map-container {
    width: 100%;
    height: 0;
    border-radius: 2px;
    padding-bottom: 56.25%;
    position: relative;
  }
  .map-container iframe {
    position: absolute;
    top: 0;
    border-radius: 2px;
    left: 0;
  }


  .background-slideshow {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }

  .background-slide {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }

  .background-slide.active {
    opacity: 1;
  }

  .onHover{
    transition: transform 0.5s ease-in-out;
  }
  .onHover:hover{
    transform: scale(1.03);
  }

  .shadow-custom{
    box-shadow: 0 6px 12px rgba(255, 255, 255, 0.282);
  }

  .bg-toright {
    background: linear-gradient(160deg, rgba(34, 43, 45, 0) 0%, #222b2d 50%);
  }
  .bg-toBottom {
    background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
  }


.z-cus{
  z-index: 9999;
}

#carousel-4 .transition-transform {
  animation: carousel4Animation 35s cubic-bezier(0.5, 1, 0.5, 1) infinite;
}



@keyframes carousel4Animation {
  0%, 12.5% { transform: translateX(0%); }
  30%, 37.5% { transform: translateX(-30%); }
  45%, 62.5% { transform: translateX(-60%); }
  70%, 87.5% { transform: translateX(-90%); }
  100% { transform: translateX(-100%); }
}

.gallery-container {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
}



.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

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

@media (max-width: 480px) {
  .h-pengantin{
    height:100vh;
  }

   .gallery-item {
    flex: 1 1 calc(33.333% - 30px);
    box-sizing: border-box;
  }
}


    @media screen and (min-width: 481px) and (max-width: 1023px) {
      .h-pengantin{
        height:100vh;
      }

      .gallery-item {
        flex: 1 1 calc(33.333% - 90px);
        box-sizing: border-box;
      }
    }

    @media screen and (min-width:1024px) {
      .h-pengantin{
        height: 200vh;
      }

      .event-img{
        height: 200vh;
      }
      #cover {
        position: relative;
        height: 250vh;
      }

      #cover img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Ensures the image covers the entire area without getting cut off */
        object-position: top;
      }
      .gallery-item {
        flex: 1 1 calc(13.333% - 10px);
        box-sizing: border-box;
      }
    }

.bg-loader {
  height: 100vh;
  width: 100vw;
  background: #222b2d;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  opacity: 1;
  transition: opacity 1000ms;
}

@-webkit-keyframes leftAnim {
  0% {
    -webkit-transform: translateX(97px);
    -moz-transform: translateX(97px);
    transform: translateX(97px);
  }
  100% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    transform: translateX(0);
  }
}
@-moz-keyframes leftAnim {
  0% {
    -webkit-transform: translateX(97px);
    -moz-transform: translateX(97px);
    transform: translateX(97px);
  }
  100% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    transform: translateX(0);
  }
}
@-ms-keyframes leftAnim {
  0% {
    -webkit-transform: translateX(97px);
    -moz-transform: translateX(97px);
    transform: translateX(97px);
  }
  100% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    transform: translateX(0);
  }
}
@keyframes leftAnim {
  0% {
    -webkit-transform: translateX(97px);
    -moz-transform: translateX(97px);
    transform: translateX(97px);
  }
  100% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    transform: translateX(0);
  }
}
@-webkit-keyframes rightAnim {
  0% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(-93px);
    -moz-transform: translateX(-93px);
    transform: translateX(-93px);
  }
}
@-moz-keyframes rightAnim {
  0% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(-93px);
    -moz-transform: translateX(-93px);
    transform: translateX(-93px);
  }
}
@-ms-keyframes rightAnim {
  0% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(-93px);
    -moz-transform: translateX(-93px);
    transform: translateX(-93px);
  }
}
@keyframes rightAnim {
  0% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(-93px);
    -moz-transform: translateX(-93px);
    transform: translateX(-93px);
  }
}
.loader {
  width: 300px;
  height: 150px;
  margin: 0 auto;
  position: relative;
}
.loader::after {
  content: "";
  display: inline-block;
  position: absolute;
  left: 50%;
  margin-left: -1px;
  width: 2px;
  z-index: 1;
  height: 150px;
  border-left: 2px dotted #000;
}
.loader__box {
  position: absolute;
  top: 0;
  width: 150px;
  height: 150px;
  overflow: hidden;
  z-index: 2;
}
.loader--left {
  left: 0;
}
.loader--left .loader__circle {
  /* background-color: #fff; */
  right: 10px;
  -webkit-animation: leftAnim 1.3s ease-in-out alternate infinite;
  -moz-animation: leftAnim 1.3s ease-in-out alternate infinite;
  animation: leftAnim 1.3s ease-in-out alternate infinite;
}
.loader--left .loader__circle i{
  font-size: 60px;
  color: white;
}
.loader--right {
  right: 0;
}
.loader--right .loader__circle {
  left: 10px;
  -webkit-animation: rightAnim 1.3s ease-in-out alternate infinite;
  -moz-animation: rightAnim 1.3s ease-in-out alternate infinite;
  animation: rightAnim 1.3s ease-in-out alternate infinite;
}
.loader--right .loader__circle i{
  font-size: 75px;
  color: palevioletred;
}
.loader__circle {
  width: 75px;
  height: 75px;
  /* border: solid 2px black; */
  display: block;
  /* background-color: #000; */
  /* -webkit-border-radius: 50%; */
  /* -moz-border-radius: 50%; */
  /* border-radius: 50%; */
  position: absolute;
  top: 50%;
  margin-top: -37.5px;
}
