/*--------------------------------------------------------------
#0.6    invitation-section box
--------------------------------------------------------------*/
#inv-popup.header {
    background-position: center;
}
.invitation-section .invitation-box {
  background: #fff;
  max-width: 580px;
  padding: 110px 100px;
  box-shadow: 0px 3px 24px 0px rgba(0, 0, 0, 0.06);
  text-align: center;
  margin: 100px auto;
  position: relative;
}
@media (max-width: 991px) {
  /* Latar invitation untuk HP */
  #inv-popup .container {
    padding-right: 15px;
    padding-left: 15px;
  }
  #inv-popup.header { 
    background-position: center;
  }
  .bridegroom .info h6 {
    margin-bottom: 5px;
    font-family: 'Birthstone';
    color: #545454;
    font-size: 38px;
    line-height: 1em;
  }

  .invitation-section .invitation-box {
    max-width: 500px;
    margin: 50px auto;
  }

  .p-40 {
    padding: 20px;
  }

}
@media (max-width: 767px) {
  #countdown li {
    width: calc(50% - 30px);
  }
  .invitation-section .invitation-box {
    max-width: 300px;
    padding: 50px 40px;
    margin: 35px auto;
  }
}

.invitation-section .invitation-box:before {
  content: "";
  width: calc(100% - 100px);
  height: calc(100% - 100px);
  position: absolute;
  left: 50px;
  top: 50px;
  border: 5px solid rgb(226 192 144 / 50%)
}
@media (max-width: 767px) {
  .invitation-section .invitation-box:before {
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    position: absolute;
    left: 20px;
    top: 20px;
    border: 5px solid rgb(226 192 144 / 50%)
  }

  .p-40 {
    padding: 40px 20px;
    margin: 0 15px;
  }
}
.invitation-section .invitation-box .inner {
  position: relative;
}
.invitation-section .invitation-box .left-vec {
  background: url("../../../images/invitation-left-img.png") center center/cover no-repeat local;
  width: 220px;
  height: 414px;
  position: absolute;
  left: -150px;
  top: -100px;
  z-index: -1;
}
@media (max-width: 991px) {
  .invitation-section .invitation-box .left-vec {
    width: 150px;
    height: 281px;
    position: absolute;
    left: -80px;
    top: -80px;
  }
}
.invitation-section .invitation-box .right-vec {
  background: url("../../../images/invitation-right-image.png") center center/cover no-repeat local;
  width: 400px;
  height: 508px;
  position: absolute;
  right: -120px;
  bottom: -100px;
  z-index: -1;
}
@media (max-width: 991px) {
  .invitation-section .invitation-box .right-vec {
    width: 300px;
    height: 381px;
    right: -80px;
    bottom: -50px;
  }
}
.invitation-section .invitation-box h2 {
  font-family: 'Alex Brush', cursive;
  font-size: 50px;
  font-size: 3.3333333333rem;
  margin: 0 0 0.6em;
  color: #545454;
}
@media (max-width: 991px) {
  .invitation-section .invitation-box h2 {
    font-size: 40px;
    font-size: 2.6666666667rem;
  }
}
@media (max-width: 767px) {
  .invitation-section .invitation-box h2 {
    font-size: 28px;
    font-size: 1.8666666667rem;
  }
}
.invitation-section .invitation-box h2 + span {
  font-size: 16px;
  font-size: 1.0666666667rem;
  font-weight: 300;
  color: #797979;
}
@media (max-width: 767px) {
  .invitation-section .invitation-box h2 + span {
    font-size: 14px;
    font-size: 0.9333333333rem;
  }
}
.invitation-section .invitation-box h3 {
  font-size: 32px;
  font-size: 2.1333333333rem;
  font-weight: 600;
  margin: 0 0 1em;
}
@media (max-width: 991px) {
  .invitation-section .invitation-box h3 {
    font-size: 24px;
    font-size: 1.6rem;
  }
}
@media (max-width: 767px) {
  .invitation-section .invitation-box h3 {
    font-size: 32px;
    font-size: 2.2rem;
  }
}
.invitation-section .invitation-box p {
  font-size: 15px;
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 1em;
}
@media (max-width: 991px) {
  .invitation-section .invitation-box p {
    font-size: 13px;
    font-size: 0.8666666667rem;
  }
}
@media (max-width: 767px) {
  .invitation-section .invitation-box p {
    font-size: 12px;
    font-size: 0.8rem;
  }
}


/*---------------------------
    Invitation Popup
----------------------------*/
.invitation-section .invitation-box {
    max-width: 80%;
}

.invitation-section .invitation-box h2 {
    text-align: center;
}

.invitation-section .invitation-box p, .invitation-section .invitation-box ol, .invitation-section .invitation-box ul {
    font-size: 1rem;
    font-weight: 300;
    text-transform: inherit;
    text-align: justify;
    line-height: 1.6em;
}

.invitation-section.section-padding.popup {
    width: 100%;
    height: 100%;
    background-color: #f1f0ef;
    position: fixed;
    z-index: 1003;
    /*overflow: scroll;        */
    overflow-x: hidden;
    padding-top: 0;
    padding-bottom: 0;
}
.invitation-section a.link{
    color: #545454;
    letter-spacing: 1px;
    display: inherit;
    margin-top: 34px;
}
a.btn.buttono {
    font-family: 'Poppins', sans-serif;
    /*background: #545454;
    border: 1px solid #545454;*/
    color: #fff;
    padding: 15px 30px;
    margin: 0;
    font-weight: 400;
    position: relative;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 0px;
}
a.btn.buttono:hover {
    background-color: transparent;
    color: #000;
}

#inv-popup.header{
    padding: 30px;
}
.inv-title {
    margin-top: 10vh;
}
.inv-title p, .inv-title2 p {
    line-height: normal;
    text-align: center;
    color: #efefef;
    margin: 0 0 10px;
}
.header .caption h1 {
    font-size: 64px;
}
.header .caption p {
    color: #e2e2e2;
    letter-spacing: 2px;
}
.inv-title2 h3.kepada {
    color: #fff;
    text-align: center;
    font-size: 36px;
    font-family: 'Poppins';
}
#inv-popup.header .arrow {
    position: relative;
    top: 10vh;
    width: 100%;
    z-index: 8;
}
.invitation-section a.link {
    color: #e2e2e2;
}
.invitation-section a.btn.buttono:hover {
  background: #e2e2e2 ;
  /*border: 1px solid #545454;*/
}

#inv-popup:before {
  content: "";
  background-color: rgb(0 0 0 / 20%);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 767px) { 
    .inv-title {
        margin-top: 10%;
    }
    .inv-title h1 {
        font-size: 40px;
    }
    .inv-title2 {
        /* height: 45vh; */
        margin-top: 20%;
    }
    .inv-title2 h3.kepada {
        font-size: 1.75rem;
    }
    #inv-popup.header .arrow {
        top: 20px;
    }
    .header .caption h1 {
        font-size: 32px;
    }
    .invitation-section a.link{ 
        margin-top: calc(100vh - 500px);
    }

}