@font-face {
    font-family: 'Brittany';
    src: url('../../../general/fonts/BrittanySignature.ttf');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
.font-script{
    font-family: 'Brittany';
}
body{
    background-color: #211e1f;
}
.cover-section{
    width: 100%;
    height: 100%;
    max-width: 400px;
    position: fixed;
    z-index: 99;
    overflow: hidden;
    padding-top: 50px;
    transition: all 0.8s;
    color: #fff;
    background-image: url(../image/undangan-website-background.jpg);
    background-position: center;
    background-repeat: no-repeat;
}
.cover-section.closed{
    height: 0px;
    top: -50px;
}
.cover-section img{
    transition: all 1s;
}
.cover-section.closed img{
    width: 0px;
    height: 0px;
}
.cover-section h2{
    font-size: 2.5rem;
    margin-top: 20px;
}
.cover-section h3{
    font-size: 20px;
}
.cover-section h4{
    font-size: 16px;
}
.nama-tamu{
    font-size: 16px;
    font-style: italic;
    font-weight: 600;
    font-family: 'Poiret One';
}
.cover-section .and{
    font-size: 4.5rem;
}
.cover-section button{
    padding: 10px;
    width: 180px;
    border: none;
    position: absolute;
    left: 50%;
    margin-left: -90px;
    bottom: 50px;
    border-radius: 50px;
    background-color: #2c2b28;
    color: #8f6e31;
    border: 1px solid;
    
}
.img-1{
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    opacity: 0.9 !important;
}
.header-section{
    background-color: #212020;
    color: #fff;
}
.cover-img{
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0.9;
    left: 0;
    top: 0;
    object-fit: cover;
}
.cover-ornament{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    object-fit: cover;
}
.cover-ornament-top{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
}
.header-section h4{
    font-family: "Raleway";
    position: inherit;
    z-index: 2;
    margin-top: 40vh;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.77);
}
.header-section h2{
    font-family: "Brittany";
    position: inherit;
    font-size:3rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.77);
}
.date{
    font-family: "Raleway";
    font-size: 1rem;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    margin-top: 20px;
}
.count-down{
    text-align: center;
    position: inherit;
    color: #fff;
}
.connector{
    width: 100%;
    margin-top: -90px;
    position: relative;
    z-index: 1;
}
.connector-bottom{
    width: 100%;
    margin-bottom: -55px;
    position: relative;
    z-index: 1;
}
.location-section .connector-bottom{
    margin-bottom: -120px;
}
.count-down .box{
    display: inline-block;
    padding: 10px;
    width: 60px;
    margin: 5px;
    border: 1px dotted #cd9d40;
    background-color: #212020e0;
    color: #cd9d40;
    font-size: 12px;
}
.count-down .box span{
    display: block;
    font-size: 16px;
}
.couple-section{
    text-align: center;
    padding: 70px 0px;
    min-height: 100%;
    background-image: url(../image/bg-3.webp);
    background-repeat: no-repeat;
    position: relative;
    color: #000;
    overflow: hidden;
    background-position: center;
}
.couple-divider{
    margin: 10px;
    font-size: 5rem;
    font-family: "Monsieur";
}

.ornament-1{
    position: absolute;
    width: 250px;
    right: -130px;
    top: -45px;
}
.ornament-2{
    position: absolute;
    width: 200px;
    left: -65px;
    bottom: -75px;
}
.couple-name{
    font-family: "Brittany";
}

h1,h2,h3,h4,h5{
    font-family: "Raleway";
}
.divider{
    width: 175px;
    margin-bottom: -50px;
}
.top-ornament{
    width: 100%;
    margin: 0;
}
.bottom-ornament{
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}
.couple-img{
    width: 180px;
    height: 210px;
    margin: 30px auto;
    position: relative;
}
.couple-img .coulple{
    border: 4px solid #e2be79;
    width: 100%;
    height: 100%;
    border-bottom: 0;
    object-fit: cover;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%
}
.couple-img .couple-ornament{
    position: absolute;
    bottom: -35px;
    left: 0;
    z-index: 2;
    width: 100%;
    object-fit: cover;
    height: 70px;
}
.schedule-section{
    text-align: center;
    min-height: 100%;
    background-image: url('../image/undangan-website-background.jpg');
    overflow: hidden;
    position: relative;
    background-position: center;
}
.box.drop-shadow{
    position: relative;
    color: #fff;
    border: 2px solid #bd932a;
    border-top-left-radius: 165px;
    border-top-right-radius: 165px
}
.left-corner{
    position: absolute;
    left: 0;
    bottom: 0;
    width:100px;
}
.right-corner{
    position: absolute;
    right: 0;
    bottom: 0;
    width:100px;
}
.top-left-corner{
    position: absolute;
    left: 0;
    top: 0;
    width:100px;
}
.top-right-corner{
    position: absolute;
    right: 0;
    top: 0;
    width:100px;
}
.left-flower{
    position: absolute;
    width: 200px;
    left: -30px;
    top: -100px;
    opacity: 0.9;
    z-index: 1;
}
.left-flower-2{
    position: absolute;
    width: 200px;
    left: -60px;
    top: 550px;
    animation: floatUp 5s ease-in-out infinite;
}
.right-flower{
    position: absolute;
    width: 150px;
    right: -30px;
    bottom: -20px;
    z-index: 2;
    animation: floatUp 5s ease-in-out infinite;
}
.schedule-section .icon{
    width: 30px;
    margin-bottom: 10px;
    animation: floatSmall 5s ease-in-out infinite;
}
.date-box table{
    width: 100%;
}
.date-box table td{
    text-align: center;
    vertical-align: middle;
}
.date-box span{
    display: block;
}
.date-box .date{
    font-size: 2rem;
}
.date-box .year{
    font-size: 1rem;
}
.date-box .middle{
    border-left:2px dotted #c8d2c6 ;
    border-right:2px dotted #c8d2c6 ;
}
.date-box .left,.date-box .right{
    width: 110px;
    font-size: 1.2rem;
}
.date-box .time{
    font-weight: bold;
    font-size: 16px;
}
.main-text{
    color: #e2be79;
}
.light-text{
    color: #fff;
}
.grey-text{
    color: #6a7270;
}

.location-section{
    text-align: center;
    padding-top: 50px;
    min-height: 100%;
    color: #fff;
    background-image: url('../image/undangan-website-background.jpg');
    background-repeat: no-repeat;
    position: relative;
}
.map iframe{
    width: 100%;
    height: 400px;
    border-radius: 10px;
}
.btn-map{
    background-color: #916a1f;
    margin-top: 15px;
    margin-bottom: 20px;
    color: #fff;
}
.gallery-section{
    text-align: center;
    position: relative;
    background-image: url('../image/bg-3.webp');
    background-position: center;
    padding-bottom: 100px !important;
    overflow: hidden;
}
.gallery-section iframe{
    border-radius: 15px;
}
.gallery-section .top-flower,.love-story-section .top-flower{
    position: absolute;
    top: -70px;
    right: -50px;
    width: 200px;
    z-index: 1;
}
.quotes{
    background-image: url('../image/undangan-website-background.jpg');
    color: #fff;
    position: relative;
}
.love-story-section{
    background-color: #272625;
    position: relative;
    text-align: center;
    color: #fff;
    min-height: 100%;
    background-image: url('../image/undangan-website-background.jpg');
    background-repeat: no-repeat;
    padding-bottom: 25px;
}
.love-story-section h2{
    font-family: "Brittany";
}
.story{
    padding: 5px 15px;
    border-radius: 20px;
    height: 70vh;
    overflow-y: auto !important;
    color: #fff;
}

.story::-webkit-scrollbar {
    display: none;
}
.story {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */

}

.font-main{
    font-family: "Brittany";
}
.friend-wishes-section{
    background-image: url('../image/undangan-website-background.jpg');
    position: relative;
    text-align: center;
    min-height: 100%;
    color: #fff;
}
.wishes{
    background-color: #211e1f40;
    border-radius: 0;
    border: 1px solid #cd9d40;
    position: relative;
}
.friend-wishes-section h2{
    font-family: "Brittany";
}
.message{
    max-height: 60vh;
    overflow-y: auto;
}
/* Hide scrollbar for Chrome, Safari and Opera */
.message::-webkit-scrollbar {
    display: none;
  }
  
  /* Hide scrollbar for IE, Edge and Firefox */
.message {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */

}
.message-box{
    width: 90%;
    margin: 20px auto;
    background-color: #b28937e6;
    padding: 20px;
    font-weight: 900;
    color: #fff;
    font-family: arial;
    position: relative;
    text-align: left;
    font-family: "Poiret One";
  }
  
  .sb1:before {
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    border-left: 10px solid #b28937e6;
    border-right: 10px solid transparent;
    border-top: 10px solid #b28937e6;
    border-bottom: 10px solid transparent;
    right: -19px;
    top: 6px;
  }
  
  .sb2:before {
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    border-left: 10px solid transparent;
    border-right: 10px solid #b28937e6;
    border-top: 10px solid #b28937e6;
    border-bottom: 10px solid transparent;
    left: -19px;
    top: 6px;
  }
  
  .sb3:before {
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    border-left: 10px solid #b28937e6;
    border-right: 10px solid transparent;
    border-top: 10px solid #b28937e6;
    border-bottom: 10px solid transparent;
    left: 19px;
    bottom: -19px;
  }
  
  .sb4:before {
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    border-left: 10px solid transparent;
    border-right: 10px solid #b28937e6;
    border-top: 10px solid #b28937e6;
    border-bottom: 10px solid transparent;
    right: 19px;
    bottom: -19px;
  }
.message-box .name{
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #fff;
}
.message .time {
    text-align: right;
    font-size: 12px;
    margin-top: 20px;
}
.wishes input,.wishes textarea,.wishes select{
    background-color: transparent;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid #fff;
    color: #fff;
}
.wishes input:focus,.wishes textarea:focus,.wishes select:focus{
    background-color: transparent;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid #5f7396;
    color: #fff;
    outline: none;
    box-shadow: none;
}
.wishes input::-webkit-input-placeholder,.wishes textarea::-webkit-input-placeholder { /* Edge */
    color: #fff;
}

.wishes input::-ms-input-placeholder,.wishes textarea::-ms-input-placeholder { /* Internet Explorer 10-11 */
color: #fff;
}

.wishes input::placeholder,.wishes textarea ::placeholder{
color: #fff;
}
.btn-wishes,.btn-wishes:hover{
    background-color: #b28937e6;
    color: #fff;
    width: 100%;
    border-radius: 20px;
    margin-bottom: 40px;
}
.wedding-gift-section{
    position: relative;
    background-image: url('../image/undangan-website-background.jpg');
    background-repeat: no-repeat;
    color: #fff;
    background-position-y: bottom;
}
.wedding-gift-section .card{
    padding: 20px;
    text-align: left;
    color: #fff;
    border: none;
    margin-bottom: 20px;
    background-color: #211e1f8a;
    border: 1px solid #bd942b
}
.wedding-gift-section .card .logo{
    text-align: right;
}
.wedding-gift-section .card .logo img{
    width: 100px;
}
.wedding-gift-section .card .content{
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.wedding-gift-section .card .label{
    color: #bd952b;
}
.wedding-gift-section .card .icon{
    width: 80px;
    margin-top: 25px;
}
.closing{
    position: relative;
    background-image: url('../image/bg-3.webp');
    background-repeat: no-repeat;
    overflow: hidden;
}
.closing h5{
    font-size: 14px;
}
.closing h1{
    font-size: 2.5rem;
}
.footer{
    padding: 20px;
    background-image: url('../image/undangan-website-background.jpg');
    color: #fff;
}
.footer img{
    width: 100px;
}
.footer .copyright-text{
    font-size: 12px;
    margin-bottom: 80px;
}
.footer a,.footer i{
    text-decoration: none;
    color: #bd952b;
    font-weight: bold;
}
.menu{
    position: fixed;
    bottom: 0px;
    left: 0;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding: 10px;
    z-index: 9;
}
.menu-container{
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    overflow-x: hidden;
    padding: 0px 10px;
}
.menu-box{
    background-color: #212020e0;
    padding: 10px;
    border-radius: 5px;
}
.menu a{
    display: block;
    padding: 10px;
    width: 40px;
    background-color: #996e1ae8;
    border-radius: 5px;
    margin: auto;
}
.btn-sound{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: fixed;
    z-index: 9;
    left: 20px;
    bottom: 100px;
    border: none;
    background-color: #1d1d1dcf;
    color: #fff;
}
.btn-copy{
    background-color: #bd952b;
    border: none;
    color: #fff;
    float: right;
    margin-top: 20px;
    padding: 5px 10px;
    font-size: 11px;
}
.img-box{
    padding: 5px;
    display: block;
}
.img-gallery .img-box img{
    border-radius: 10px;
    width: 100%;
    aspect-ratio : 1 / 1;
    object-fit: cover;
}


/* ==============
  Timeline
===================*/
.main-timeline {
    overflow: hidden;
    position: relative;
  }
  
  .main-timeline:before {
    content: "";
    width: 3px;
    height: 100%;
    background: #7f5a14db;
    position: absolute;
    top: 0;
    left: 50%;
  }
  
  .main-timeline .timeline {
    padding-right: 30px;
    position: relative;
  }
  
  .main-timeline .timeline:before,
  .main-timeline .timeline:after {
    content: "";
    display: block;
    width: 100%;
    clear: both;
  }
  
  .main-timeline .timeline:first-child:before,
  .main-timeline .timeline:last-child:before {
    content: "";
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 2px solid #7f5a14db;
    background: #2c3144;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 0;
    right: -3px;
  }
  
  .main-timeline .timeline:last-child:before {
    top: auto;
    bottom: 0;
  }
  
  .main-timeline .timeline-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #2c3144;
    border: 2px solid #7f5a14db;
    -webkit-box-sizing: content-box;
            box-sizing: content-box;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: -4px;
  }
  
  .main-timeline .timeline-icon:before {
    content: "\f004";
    font-family: "Font Awesome 5 Free" !important;
    display: block;
    width: 8px;
    height: 8px;
    color: #cda44b;
    margin: auto;
    position: absolute;
    top: -10px;
    left: -6px;
    bottom: 0;
    right: 0;
  }
  
  .main-timeline .year {
    display: inline-block;
    padding: 8px 20px;
    margin: 0;
    font-size: 14px;
    color: #ffffff;
    background: #cda44b;
    text-align: center;
    position: absolute;
    top: 50%;
    right: 35%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
  }
  
  .main-timeline .year:before {
    content: "";
    border-right: 18px solid #cda44b;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    position: absolute;
    top: 0;
    left: -18px;
  }
  
  .main-timeline .timeline-content {
    width: 46.5%;
    padding: 20px;
    margin: 0 20px 0 0;
    background: #7f5a14db;
    position: relative;
  }
  
  .main-timeline .timeline-content:after {
    content: "";
    border-left: 20px solid #7f5a14db;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    position: absolute;
    top: 50%;
    right: -20px;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
  }
  
  .main-timeline .title {
    float: left;
    font-size: 14px;
    font-weight: bold;
    color: #dfe4ea;
    margin: 0 20px 20px 0;
  }
  
  .main-timeline .post {
    display: inline-block;
    font-size: 13px;
    color: #d1d1e2;
  }
  
  .main-timeline .description {
    font-size: 14px;
    color: #d1d1e2;
    line-height: 24px;
    margin: 0;
    clear: both;
  }
  
  .main-timeline .timeline:nth-child(2n) {
    padding: 0 0 0 30px;
  }
  
  .main-timeline .timeline:nth-child(2n) .year {
    right: auto;
    left: 35%;
  }
  
  .main-timeline .timeline:nth-child(2n) .year:before {
    border: 18px solid transparent;
    border-right: none;
    border-left: 18px solid #cda44b;
    left: auto;
    right: -18px;
  }
  
  .main-timeline .timeline:nth-child(2n) .timeline-content {
    float: right;
    margin: 0 0 0 20px;
  }
  
  .main-timeline .timeline:nth-child(2n) .timeline-content:after {
    border-left: none;
    border-right: 20px solid #7f5a14db;
    right: auto;
    left: -20px;
  }
  
    .main-timeline:before {
      left: 10px;
    }
    .main-timeline .timeline {
      padding: 0 0 0 30px;
      margin-bottom: 20px;
    }
    .main-timeline .timeline:last-child {
      margin-bottom: 0;
    }
    .main-timeline .timeline:first-child:before,
    .main-timeline .timeline:last-child:before {
      display: none;
    }
    .main-timeline .timeline-icon {
      margin: 0;
      position: absolute;
      top: 7px;
      left: 0;
    }
    .main-timeline .year,
    .main-timeline .timeline:nth-child(2n) .year {
      display: block;
      font-weight: bold;
      margin: 0 0 32px 15px;
      z-index: 1;
      position: relative;
      top: auto;
      left: auto;
      right: auto;
      -webkit-transform: none;
              transform: none;
    }
    .main-timeline .timeline:nth-child(2n) .year:before {
      border-left: none;
      border-right: 18px solid #cda44b;
      right: auto;
      left: -18px;
    }
    .main-timeline .timeline-content {
      padding: 20px;
      text-align: left;
    }
    .main-timeline .timeline-content,
    .main-timeline .timeline:nth-child(2n) .timeline-content {
      width: auto;
      float: none;
      margin: 0 0 0 15px;
    }
    .main-timeline .timeline-content:after,
    .main-timeline .timeline:nth-child(2n) .timeline-content:after {
      border: none;
      border-bottom: 20px solid #7f5a14db;
      border-left: 20px solid transparent;
      border-right: 20px solid transparent;
      top: -20px;
      left: 50%;
      right: auto;
      -webkit-transform: translateX(-50%);
              transform: translateX(-50%);
    }
 
    .main-timeline .timeline-content img{
        width: 100%;
        margin-bottom: 10px;
    }