@font-face {
  font-family: 'Valky';
  font-style: normal;
  font-weight: normal;
  src: local('../fonts/'), url('ValkyRegular.ttf') format('ttf');
}

.vollkorn-sc-regular {
  font-family: "Vollkorn SC", serif;
  font-weight: 400;
  font-style: normal;
}

.vollkorn-sc-semibold {
  font-family: "Vollkorn SC", serif;
  font-weight: 600;
  font-style: normal;
}

.vollkorn-sc-bold {
  font-family: "Vollkorn SC", serif;
  font-weight: 700;
  font-style: normal;
}

.vollkorn-sc-black {
  font-family: "Vollkorn SC", serif;
  font-weight: 900;
  font-style: normal;
}


.montserrat {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.volkhov-regular {
  font-family: "Volkhov", serif;
  font-weight: 400;
  font-style: normal;
}

.volkhov-bold {
  font-family: "Volkhov", serif;
  font-weight: 700;
  font-style: normal;
}

.volkhov-regular-italic {
  font-family: "Volkhov", serif;
  font-weight: 400;
  font-style: italic;
}

.volkhov-bold-italic {
  font-family: "Volkhov", serif;
  font-weight: 700;
  font-style: italic;
}
.cantata-one-regular {
  font-family: "Cantata One", serif;
  font-weight: 400;
  font-style: normal;
}

.vidaloka-regular {
  font-family: "Vidaloka", serif;
  font-weight: 400;
  font-style: normal;
}


.text-sf {
  font-family: 'SF Pro Display', sans-serif;
}

.text-valky{
  font-family: 'Valky';
}
.text-brown-light{
  color: #AA8C67 !important;
}

.text-main {
  color: #796751;
}

.text-second {
  color: #B79B78;
}
.text-40{
  font-size: 40px;
}
.text-20{
  font-size: 20px;
}
.text-14{
  font-size: 14px;
}
.text-12{
  font-size: 12px;
}
.text-11{
  font-size: 11px;
}

.video{
  padding-top: 70px !important;
}

#player {
 
  height: 100%;
  width: 100%;
  aspect-ratio: 1920/1080;


  border-radius: 20px;
}

a:hover {
  text-decoration: none !important;
}

#music-btn {
  width: 32px;
  height: 32px;
  position: fixed;
  bottom: -150px;
  right: 15px;
  background-size: cover;
  z-index: 1000;
  border-radius: ;
  

}

#music-btn.playing {
  background: url(../image/pause.png) center center no-repeat;
  background-size: cover;
}
#music-btn {
  background: url(../image/play.png) center center no-repeat;
  background-size: cover;
}
/* .music-play {
  background: url(../image/play.png) center center no-repeat;
}

.music-pause {
  background: url(../image/pause.png) center center no-repeat;
} */

.btn-main {
    display: inline-block;
    padding: 5px 10px;
    text-align: center;
    font-family: "Montserrat", serif; 
    font-weight: 600;
    text-shadow: none;
    border-radius: 5px;
    border: 1px solid #B69C7C;
    font-size: 12px;
    color: #352C28;
    background: #B69C7C;
}

.btn-main:hover{
  color: #352C28;

}

.btn-second {
  display: inline-block;
  padding: 5px 10px;
  text-align: center;
  font-family: "Montserrat", serif; 
  font-weight: 600;
  text-shadow: none;
  border-radius: 5px;
  border: 1px solid #352C28;
  font-size: 12px;
  color: #886F62;
  background: #352C28;
}

.btn-second:hover{
color: #886F62;

}

/* Animasi fade untuk menyembunyikan modal */
.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease-out;
  display: none;
}

/* Animasi fade untuk menampilkan envelope */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

html {
  font-size: 100%;
  font-family: "Montserrat", serif; 
  scroll-behavior: auto;
  background: #181818 !important;
}



body {
  font-size: 18px;
  line-height: 25px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: "Volkhov", serif; 
  color: #C4C4C4 !important;
  font-weight: 400;
  /* background-color: #343434 !important; */
  background: #181818 !important;
  overflow-x: hidden;
}

#content{
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.modal-content{
  z-index: 2041; 
  border: 0px solid; max-width: 520px; margin: 0px auto; min-height: 100vh !important;
  overflow-y: auto !important;
}

.con-front{
  background: #352C28 !important;
  color: #917149 !important;

}

.cover-front {
  width: 100%;
  display: block;
  height: auto;
  background: #000;
  position: absolute;
}

.content-front{
  position: fixed; width: 100%; z-index: 5002; vertical-align: top;
  max-width: 520px;
  left: 50%;
  transform: translateX(-50%);
  overflow-y: auto;
  
  min-height: 100vh;
  top: 0;
}

.img-front{
  object-fit: cover;
  max-height: 200px;
}

.header-front{
  margin-top: -40px;
  width: 80%;
}

.name-front{
  font-size: 40px;
  font-family: 'Valky';
}
.initial-front img {
  max-width: 60px;
}
.initial-front{
  display: flex;
  align-items: center;
  justify-content: center;
}
.initial-front span{
  font-size: 60px;
  margin-top: 20px;
  font-family: 'Valky';
}
.initial-front .right{
  margin-left: -20px;
}



.envelope {
  position: relative;
  width: 300px;
  height: 200px;
  margin: 0 auto;
}

.envelope-back {
  width: 100%;
  height: 100%;
  background-color: #f5f5f5;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.envelope-flap {
  width: 100%;
  height: 50%;
  background-color: #d3d3d3;
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: top center;
  border-radius: 8px 8px 0 0;
  z-index: 2;
  transition: transform 0.5s ease-in-out;
}

/* Animasi amplop terbuka */
/* .envelope.open .envelope-flap {
  transform: rotateX(180deg);
} */

/* Transisi pada grup amplop */
#envelove-flap-start-group,
#envelove-back-group,
#envelove-front-group {
  transition: bottom .6s ease-in-out;
}

/* Transisi tinggi untuk back group */
#envelove-back-group img {
  transition: height 1s ease-in-out;
}

/* Efek flip amplop */
@keyframes flipEnvelope {
  0% {
      transform: rotateX(0);
  }
  100% {
      transform: rotateX(-180deg);
  }
}

@keyframes flipEnvelope2 {
  0% {
      transform: rotateX(-180deg);
  }
  100% {
      transform: rotateX(0);
  }
}



/* Flap depan */
#envelove-flap-start {
  transition: transform 1s ease-in-out, opacity 0.3s ease-in-out;
  transform-origin: top; /* Titik pivot animasi flip */
}

#envelove-flap {
  transition: transform 1s ease-in-out, opacity 0.3s ease-in-out;
  transform-origin: bottom; /* Titik pivot animasi flip */
}

/* Penambahan kelas 'open' pada flap */
#envelove-flap-start.open  {
  animation: flipEnvelope 1s forwards;
}

#envelove-flap.open  {
  animation: flipEnvelope2 1s forwards;
}
.envelope-depan.open  {
  animation: flipEnvelope 1s forwards;
}

#content-inner{
  transition: bottom 1s ease-in;
}
.section-light{
  margin-top: 60px;
  margin-bottom: 100px;
  position: relative;
  background: #FCE8D9;
  color: #917149;
  width: 100%;
  min-height: 400px;
  padding: 8px;
  border-radius: 20px;
 
}

.section-dark{
  margin-top: 40px;
  margin-bottom: 100px;
  position: relative;
  background: #352C28;
  color: #AA8C67;
  width: 100%;
  min-height: 300px;
  padding: 8px;
  border-radius: 20px;
 
}

.section-brown{
  margin-top: 40px;
  margin-bottom: 100px;
  position: relative;
  background: #886F62;
  color: #352C28;
  width: 100%;
  min-height: 300px;
  padding: 8px;
  border-radius: 20px;
 
}

.section-galeri{
  margin-top: 40px;
  margin-bottom: 100px;
  position: relative;
}

.section-footer{
  margin-top: 30px;
  margin-bottom: 150px;
  position: relative;
  background: #352C28;
  color: #AA8C67;
  width: 100%;
  min-height: 100px;
  padding: 8px;
  border-radius: 20px;
 
}

.con-light{
  width: 100%;
  height: 100%;
  border: solid 1px #C8B49A;
  border-radius: 15px;
  min-height: 584px;
  padding: 20px;

}

.con-dark{
  width: 100%;
  height: 100%;
  border: solid 1px #917149;
  border-radius: 15px;
  min-height: 480px;
  padding: 20px;

}

.con-footer{
  width: 100%;
  height: 100%;
  border: solid 1px #917149;
  border-radius: 15px;
  min-height: 100px;
  padding: 20px;

}

.con-brown{
  width: 100%;
  height: 100%;
  border: solid 1px #352C28;
  border-radius: 15px;
  min-height: 300px;
  padding: 20px;

}

.header-sec{
  position: absolute;
  
  
  top: -30px;
  width: 90%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.footer-sec{
  position: absolute;
  
  
  bottom: -30px;
  width: 90%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.header-sec img{
  width: 95%;

}

.typename{
  padding: 100px 0 50px;
}


.data-mempelai{
  padding: 20px 10px 10px;
}

.data-mempelai img.memp{
  border-radius: 20px;
  width: 100%;
  max-width: 145px;
  object-fit: cover;
  aspect-ratio: 2/3;
}

.foto{
  width: 145px;
  margin: 0 auto 10px;

}

.foto-side{
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);

}

.foto-side{
  max-width: 58px;
}

.scrol{
  position: absolute;
  right: 10px;
  top: 50%;
  
}
@keyframes bound {
  0%{
      transform: translateY(0px);
  }
  50%{
      transform: translateY(20px);
  }
 
  100%{
      transform: translateY(0px);
  }
}
.scrol img{

  animation: bound 2s infinite ease-in-out;
}

.corner{
  position: absolute;
  left: 0px;
  bottom: 0px;
}
.data-mepandes {

  margin-bottom: 20px;
}

.data-mepandes img{
  border-radius: 100px;
  width: 100%;
  margin-bottom: 10px;
}


.img-galeri{
  border: 5px solid #886F62;
  border-radius: 20px;

  object-fit: cover;
}


#guestform{
  margin-bottom: 100px;
}
.guestbook-select {
    
  font-weight: bold;
  font-size: 14px;
  color: #886F62;
  background: #352C28;
  border: none;
  padding: 5px 10px;
  margin-bottom: 10px;
  border-radius: 10px;
  width: 100%;
  max-width: 500px;
 
  font-family: "Volkhov", serif;
}

.input select {
  -moz-appearance: none;
  /* Firefox */
  -webkit-appearance: none;
  /* Safari and Chrome */
  appearance: none;
}

select.guestbook-select {
  width: 100%;
  background-image: url(../image/svg/select.svg);
  background-position: calc(100% - 10px) calc(1em - 4px), calc(100% - 2px) calc(1em + 2px), calc(100% - .5em) .5em;
  background-size: 15px;
  background-repeat: no-repeat;
}

.guestbook-textarea {
  font-family: "Volkhov", serif;
  color: #352C28;
  background: #957C6E;
  border: none;
  padding: 10px;
  border-radius: 10px;
  width: 100%;
  max-width: 500px;
  font-size: 14px;

  
}

.guestbook-textarea:focus {
  outline: none !important;
  border: none;
  box-shadow: 0 0 10px #F0EAE8;
}

.guestbook-select:focus {
  outline: none !important;
  border: none;
  box-shadow: 0 0 10px #F0EAE8;
}
textarea::placeholder {
  color: #352C28;
}

.wish-con {
  width: 100%;
  height: 400px;
  overflow-y: scroll;
  padding: 30px 10px;
  margin-top: 0px;
 
}
.wish-item {
 
  gap: 10px;
  text-align: center;

  color: #B79B78;
  margin-bottom: 40px;
  
}

.nama span {
  font-size: 10px;
}
.nama p{
  font-weight: 500;
  font-style: italic;
  margin-bottom: 0;
  font-size: 16px;
  color: #917149;
  font-family: "Vidaloka", serif;
  
}

.pesan{
  font-size: 12px;
  color: #B79B78;
  font-family: "Volkhov", serif;
  font-weight: 400;
  font-style: italic;
}

.notify{
  position: fixed;
  top: -100vh;
  width: 100%;
  transition: all .6s ease-in-out;
  z-index: 9999999 !important;
}

.notify.active{
 
  top: 0;
 
}