@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

.btn-bulat-sm{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0 !important;
}

.btn-bulat-sm i{
  line-height: 0px !important;
}

.btn-bulat{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0 !important;
}

.btn-bulat i{
  line-height: 0px !important;
}

.btn-dark{
  color: #854a1e !important;
  border: 2px dashed #da9f72 !important;
  border-radius: 90px;
  background-color: #fae6d7;
  box-shadow: 0 0 0 4px #f3d7c2, 2px 2px 4px 2px rgba(0, 0, 0, .5);
  transition: .1s ease-in-out, .4s color;
  font-size: 20px;
  line-height: 8px;
}

.btn-dark:hover,.btn-dark:focus{
  color: #854a1e !important;
  background-color: #fae6d7 !important;
  box-shadow: 0 0 0 4px #ebcab1, 2px 2px 4px 2px rgba(0, 0, 0, .5);
}

.button-open:hover img{
  transform: scale(1.05);
  transition: transform 0.2s ease-in-out;
}

.button-open img{
  transition: transform 0.2s ease-in-out;
}

.card-content{
  border: 3px dashed #da9f72 !important;
  background-color: #fcf1f1;
}

.card-content-desc{
  border: 3px dashed #da9f72 !important;
  background-color: #fcf1f1;
}

.modal-body-content{
  height: calc(100dvh - 56px);
  overflow-y: scroll;
}

.modal-content{
  width: 100%;
  max-width: 600px;
  min-height: 100dvh;
  height: 100dvh;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background-image: url('bg-modal.png');
  background-size: cover;
  background-position: center;
}

.opening-modal-content{
  background-image: url('bg-opening.png');
  background-size: cover;
  background-position: center;
}

.opening-modal-body{
  min-height: 100dvh;
  color: #3c3c3c;
  background: rgba(255, 248, 237, 0.22);
}

.opening-copy{
  max-width: 320px;
  padding: 16px 18px;
  border: 2px dashed rgba(160, 157, 76, 0.75);
  border-radius: 18px;
  background: rgba(255, 248, 237, 0.7);
  backdrop-filter: blur(3px);
}

.tamu{
  width: 100%;
  max-width: 280px;
  min-height: 190px;
  margin: 0 auto;
  padding: 56px 34px 30px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('info.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.tamu span{
  display: block;
  line-height: 1.45;
}

.tamu strong{
  display: inline-block;
  margin: 4px 0;
}

.modal-dialog{
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  margin: 0;
  display: flex;
  justify-content: center;
}

.modal{
  padding: 0 !important;
}

.modal-header-c{
  border: 3px dashed #a09d4c;
  background-color: #f1ffef;
  border-radius: 8px;
  text-align: center;
}

.modal-header-c button{
  position: absolute;
  top: 10px;
  right: 10px;
}

.canvas{
  width: 100%;
  max-width: 600px;
  height: 100dvh;
  position: relative;
  overflow: hidden;
}

.canvas::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
  pointer-events: none;
}

.canvas-bg-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.canvas > *:not(.canvas-bg-video){
  position: relative;
  z-index: 2;
}

.asset-layer{
  position: relative;
  width: 100%;
  height: 90dvh;
}

.asset-item{
  position: absolute;
  display: block;
  transition: transform 0.25s ease;
}

.asset-item img{
  width: 100%;
  display: block;
  filter: drop-shadow(0 3px 6px rgba(255, 255, 255, 0.5)) drop-shadow(0 2px 6px rgba(255, 255, 255, 0.5));
  transform-origin: center;
  animation: assetPulse 1.8s ease-in-out infinite;
}

.asset-love img{ animation-delay: -0.2s; }
.asset-date img{ animation-delay: -1s; }
.asset-info img{ animation-delay: -2s; }
.asset-rsvp img{ animation-delay: -2.8s; }
.asset-maps img{ animation-delay: -2.8s; }
.asset-gift img{ animation-delay: -1.6s; }
.asset-gallery img{ animation-delay: -3.4s; }
.asset-about img{ animation-delay: -0.8s; }

.asset-item:hover{
  transform: translateY(-4px) scale(1.02);
}

.asset-love{
  top: 15%;
  left: 7%;
  width: 138px;
}

.asset-date{
  top: 16%;
  right: 5%;
  width: 120px;
}

.asset-info{
  top: 9%;
  left: 39%;
  width: 132px;
}

.asset-maps{
  top: 10%;
  left: 38%;
  width: 144px;
}

.asset-rsvp{
  top: 35%;
  left: 38%;
  width: 144px;
}

.asset-gift{
  top: 49%;
  left: 8%;
  width: 128px;
}

.asset-gallery{
  top: 44%;
  right: 4%;
  width: 154px;
}

.asset-about{
    bottom: 4%;
    left: 60%;
    transform: translateX(-50%);
    width: 198px;
}

.asset-about:hover{
  transform: translateX(-50%) translateY(-4px) scale(1.02);
}

@keyframes assetPulse{
  0%,
  100%{
    transform: scale(0.96);
  }

  50%{
    transform: scale(1.05);
  }
}

@media (max-width: 576px){
  .asset-love{
  width: 99px;
}

.asset-date{
  width: 94px;
}

.asset-info{
  width: 94px;
  left: 34%;
}

.asset-maps{
  width: 96px;
  left: 34%;
}

.asset-rsvp{
  width: 96px;
  left: 34%;
}

.asset-gift{
  width: 94px;
}

.asset-gallery{
  width: 91px;
}

.asset-about{
  left: 54%;
  width: 112px;
}
}

.ratio-9x16{
  aspect-ratio: 9 / 12;
}

.card-mempelai {
  display: flex;
  align-items: start;
  border: 3px dashed #da9f72 !important;
  border-radius: 10px;
  background-color: #fcf1f1;
}

.card-mempelai .card {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: end;
}
.card-mempelai h3 {
  rotate: 90deg;
  width: 70px;
  height: 200;
  margin-top: 40px;
  color: #000 !important;
}

.bg-dark-50{
  background-color: rgba(0, 0, 0, 0.5) !important;
}