/*fonts*/
@import url('https://fonts.googleapis.com/css2?family=Vollkorn&display=swap');
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@500;700&display=swap');

/* default style */
body{
    margin: 0;
    line-height: 1.5;
    font-size: 16px;
    font-family: 'EB Garamond', serif;
    font-weight: 400;
    background-color: #f3f2f1;
}
*:not(i){
}
*{
    margin:0;
    padding:0;
    box-sizing: border-box;
}
a{
    text-decoration: none;
}
:before, :after{
box-sizing: border-box;
}
img{
    max-width: 100%;
    vertical-align: middle;
}
.container{
    max-width: 1140px;
    margin: auto;
}
header,
section,
footer{
    display: block;
    width: 100%;
}
.row{
    display: flex;
    flex-wrap: wrap;
}
.justify-content-between{
    justify-content: space-between;
}
.justify-content-center{
justify-content: center;
}
.align-items-center{
    align-items: center;
}
.section-title{
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
    text-align: center;
    margin-bottom: 60px;
}
.section-title h2{
font-size: 45px;
color: #000;
font-weight: 700;
font-family: 'EB Garamond', serif;
letter-spacing: 2px;
margin: 0;
text-transform: capitalize;
}
.btn-1{
   padding: 10px 35px; 
   color: #fff;
   font-size: 16px;
   border-radius: 15%;
   cursor: pointer;
   border: 2px solid transparent;
text-decoration: none;
display: inline-block;
transition: all 0.5s ease;
font-weight: 500;
}
.btn-1:focus{
    outline: none;
}
.btn-1:hover{
    background-color: transparent;
}

/* preloader */
.preloader{
    position: fixed;
    left:0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: #111;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.preloader .loader{
    height: 60px;
    width: 60px;
  
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.preloader .loader:before{
    content: '';
    position: absolute;
    left:0;
    top: 0;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-radius: 50%;
    animation: loaderSpin 2s linear infinite;
}
@keyframes loaderSpin{
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}
.preloader .loader i{
font-size: 20px;
animation: loader 2s linear infinite;
}
@keyframes loader{
    0%,100%{
        transform: scale(1);
    }
    50%{
        transform: scale(0.7);
    }
}

/* header */
.header{
position: fixed;
width: 100%;
left: 0%;
top: 0;
z-index: 99;
border-bottom: 1px solid rgba(255,255,255,0.1);
transition: all 0.5s ease;
}
.header.fixed{
    background-color: #fff;
    box-shadow: 0 0 8px #ccc;
}
.header .logo{
padding: 0 15px;
}
.header .logo a{
font-size: 30px;
color: #fff;
font-weight: bold;
font-family: 'Vollkorn', serif;
letter-spacing: 2px;
text-transform:uppercase;
transition: all 0.5s ease;
}
.header.fixed .logo a{
color: #000;
}
.header .hamburger-btn{
    display: inline-block;
    height: 34px;
    width: 40px;
    border: 1px solid #fff;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    display: none;
}
.header.fixed .hamburger-btn{
border-color: #000;
background-color: #000;
}
.header .hamburger-btn span{
display: block;
height: 1px;
width: 16px;
background-color: #fff;
position: relative;
transition: all 0.5s ease;
}
.header .hamburger-btn span:before,
.header .hamburger-btn span:after{
    content: '';
    position: absolute;
    height: 1px;
    width: 100%;
    left: 0;
    background-color: #fff;

}
.header .hamburger-btn span:before{
    top: -6px;
}
.header .hamburger-btn span:after{
    top: 6px;
}
.header .nav{
padding:0 15px;
}
.header .nav ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
.header .nav ul li{
    display: inline-block;
    margin-left: 30px;
}
.header .nav ul li a{
    display: block;
    padding: 25px 0;
    color: #fff;
font-size: 15px;
text-transform: none;
text-decoration: none;
transition: color 0.5s ease;
}
.header.fixed .nav ul li a{
color: #555;
}
/* home section */
.home-section{
    min-height: 100vh;
    background-color: gray;
    position: relative;
}
.home-section .slide{
background-position: center;
background-size: cover;
position: absolute;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
opacity: 0;
visibility: hidden;
transition: all 1s ease-in-out;
}
.home-section .slide.active{
    opacity:1;
    visibility: visible;
}
.home-section .slide:before{
content:'';
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.7);
z-index: -1;
}
.home-section .row{
    min-height: 100vh;
}
.home-section .home-content{
flex: 0 0 100%;
max-width: 100%;
padding: 0 15px;
text-align: center;
}
.home-section .home-content p{
    font-size: 24px;
    color: #fff;
    margin: 0 0 15px;

}
.home-section .slide.active .home-content p{
    opacity: 0;
animation: fadeInTop 1s ease forwards;
}
@keyframes fadeInTop{
    0%{
        transform: translateY(-50px);
    }
    100%{
        opacity:1;
        transform: translate(0px);
    }
}
.home-section .home-content h1{
    font-size: 80px;
    color: #fff;
    margin: 0;
    font-weight: normal;
    font-family: 'EB Garamond', serif;
}
.home-section .slide.active .home-content h1{
    opacity: 0;
animation: fadeInTop 1s ease forwards;
animation-delay: 0.5s;
}
.home-section .home-content span{
    font-size: 20px;
    display: inline-block;
    border: 1px solid #fff;
    border-radius: 30px;
    color: #fff;
    padding: 7px 30px;
    margin: 15px 0 0;
}
.home-section .slide.active .home-content span{
    opacity: 0;
animation: fadeInTop 1s ease forwards;
animation-delay: 1s;
}
/* couple-section */
.couple-section{
    padding: 80px 0 0;
}
.couple-section .couple{
    flex: 0 0 50%;
    max-width: 50%;
    padding: 60px;
    text-align: center;
    position: relative;
}
.couple-section .couple:nth-child(2):before{
    content: '';
    position: absolute;
    left: 0%;
    top: 0;
    width: 1px;
    height: 100%;
background-color: #ccc;
}
.couple-section .couple i.fa-heart{
    position: absolute;
    left:-15px;
    width: 31px;
    background-color: #f3f2f1;
    padding: 5px;
    text-align: center;
    font-size: 18px;
    top: 30%;
}
.couple-section .couple img{
    max-width: 280px;
    width: 100%;
    border-radius: 50%;
    border: 10px solid transparent;
}
.couple-section .couple h3{
font-size: 40px;
margin: 15px 0;
font-family: 'EB Garamond', serif;
font-weight: normal;
letter-spacing: 2px;
}
.couple-section .couple p{
font-size: 16px;
line-height: 26px;
color: #555;
margin: 0;
}
.couple-section .social-links{
    padding-top: 30px;

}
.couple-section .social-links a {
    display:inline-block;
    margin: 0 3px;
}
.couple-section .social-links a i{
    height: 32px;
    width: 32px;
    line-height: 32px;
    border:1px solid transparent;
    text-align: center;
    display: block;
border-radius: 50%;
transition: all 0.5s ease;
}
.couple-section .social-links a:hover i{
     color: #f3f2f1;
}
/* story section */
.story-section{
padding: 80px 0 80px;
}
.story-section .story-content{
    flex: 0 0 100%;
    max-width: 100%;
    position: relative;
}
.story-section .story-content:before{
    content: '';
    position: absolute;
    left: 50%;
    width: 1px;
    height: 100%;
    top: 0;
    background-color: #ccc;
}
.story-section .story-item i{
   position: absolute;
   left: 50%;
   top: 5px;
   margin-left: -15px;
   width: 31px;
   text-align: center;
   background-color: #f3f2f1;
   padding: 5px;
   font-size: 18px;
}
.story-section .story-item{
    display: flex;
    flex-wrap: wrap;
   flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 50px;
    position: relative;
}
.story-section .story-item:list-child{
margin-bottom: 0;
}
.story-section .story-item:nth-child(even){
    flex-direction: row-reverse;
}
.story-section .story-item:nth-child(odd) .story-text{
    padding:0 60px 0 15px; 
    text-align: right;
}
.story-section .story-item:nth-child(odd) .story-img{
padding: 0 15px 0 60px;
}
.story-section .story-item:nth-child(even) .story-text{
    padding:0 15px 0 60px; 
    text-align: right;
}
.story-section .story-item:nth-child(even) .story-img{
padding: 0 60px 0 15px;
}
.story-section .story-text,
.story-section .story-img{
    flex: 0 0 50%;
    max-width: 50%;
}
.story-section .story-img img{
    width: 100%;
}
.story-section .story-text h3{
    font-size: 24px;
    margin: 0 0 8px;
    color: #000;
    font-weight: 500;
    text-transform: capitalize;
}
.story-section .story-text span.date{
    font-size: 15px;
    font-weight: 700;
    color: #555;
    margin: 0 0 15px;
    display: block;
    text-transform: capitalize;
}
.story-section .story-text p{
    font-size: 16px;
    line-height: 26px;
    margin: 0;
    color: #555;
}
/* event section  */
.event-section{
  padding: 80px 0 130px;

}
.event-section .section-title h2{
    color: #fff;
}
.event-section .event-item{
    flex: 0 0 33.33%;
    max-width: 33.33%;
    padding: 15px ;
    display: flex;
    flex-wrap: wrap;
}
.event-section .event-item:nth-child(2){
transform: translateY(0px);
}
.event-section .event-item-inner{
    background-color: #fff;
    padding:60px 45px 100px;
    text-align: center;
    box-shadow: 0 0 10px #888;
    flex: 0 0 100%;
    max-width: 100%;
    position: relative;
    z-index: 1;
}
.event-section .event-item-inner:before{
    content: '';
    position: absolute;
    left: 15px;
    top: 15px;
    right: 15px;
    bottom: 15px;
    /* border: 5px solid transparent; */
    border: 5px solid #8EB69B; 
    z-index: -1;
}
.event-section .event-item-inner h3{
    color: #000;
font-weight: 500;
font-size: 24px;
margin: 0 0 15px;
text-transform: capitalize;
border-bottom: 1px solid #ccc;
padding: 5px;
display: inline-block;
}
.event-section .event-item-inner span{
display: block;
font-weight: 500;
font-size: 16px;
}
.event-section .event-item-inner span.time{
    margin-bottom: 15px;
}
.event-section .event-item-inner p{
font-size: 16px;
line-height: 26px;
color: #555;
margin: 0;
}
.event-section .event-item-inner img{
    position: absolute;
    width: 40px;
    left: 50%;
    bottom: 18px;
    z-index: -2;
    margin-left: -20px;
}
#counter-div{
    display: inline-block;
    box-shadow: #fff;
    border: 3px solid #fff;
    border-radius: 50%;
    border-color: #fff;
}

#clockdiv{
    font-family: sans-serif;
    color: #fff;
    display: inline-block;
    font-weight: 100;
    text-align: center;
    font-size: 30px;
}
#clockdiv > div{
    border: 3px solid #fff;
    padding: 10px;
    border-radius: 5px 20px 5px;;
    background: #;
    display: inline-block;
    
}
#clockdiv div > span{
    border: 1px solid #fff;
    padding: 15px;
    border-radius: 50%;
    background: #;
    display: inline-block;
}
#smalltext{
    padding-top: 5px;
    font-size: 16px;
}
#calendar-btn a{
    padding-top: 5px;
    font-size: 16px;
    color: #fff;
}
#calendar-btn a:hover{
    padding-top: 5px;
    font-size: 16px;
    color: #000;
    text-decoration: none;
}
#calendar-btn{
    font-weight: bolder;
    font-size: 12px; 
  }
/* people section */
.people-section{
    padding: 80px 0 0;
}
.people-section .people-filter{
   
    padding:0 15px;
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
    margin-bottom: 30px;
}
.people-section .filter-btn{
background-color: #dedede;
color: #555;
padding: 7px 15px;
display: inline-block;
margin:0 3px ;
font-size: 16px;
margin-bottom: 10px;
text-decoration: none;
border-radius: 35%;
}
.people-section .filter-btn.active{
   color: #fff; 
}
.people-section .people-item{
flex-direction: row;
max-width: 25%;
padding: 15px;
margin-top: 25px;
display: none;
}
.people-section .people-item-inner{
    background-color: #fff;
    padding: 15px;
    text-align: center;
}
.people-section .people-item-inner img{
    width: 100%;
    box-shadow: 0 0 10px #ccc;
    margin-top: -40px;
    transition: all 0.5s ease;
}
.people-section .people-item-inner:hover img{
transform: scale(0.95);
}
.people-section .people-item-inner h4{
font-size: 16px;
color: #000;
font-weight: 500;
margin: 20px 0 5px;
text-transform: capitalize;
}
.people-section .people-item-inner p{
    color: #555;
    font-size: 16px;
    margin: 0 0 10px;
    text-transform: capitalize;
}
.people-section .people-item-inner .social-links{
    text-align: center;
    padding: 10px 0;
}
.people-section .people-item-inner .social-links a{
   display: inline-block;
   margin: 0 3px;
   text-decoration: none;
}
.people-section .people-item-inner .social-links a i{
    height: 32px;
    width: 32px;
    border: 1px solid transparent;
    display: block;
    text-align: center;
    line-height: 32px;
    border-radius: 50%;
    transition: all 0.5s ease ;
 }
 .people-section .people-item-inner .social-links a:hover i{
     color: #fff;
 }

/* gallery section */
 .gallery-section{
padding: 80px 0 80px;
 }
 .gallery-section .gallery-item{
     flex: 0 0 33.33%;
     max-width: 33.33%;
     padding: 15px;
     /* background-color: #08798d; */
 }
 .gallery-section .gallery-item-inner{
     overflow: hidden;
     cursor: pointer;
 }
 .gallery-section .gallery-item-inner img{
     width: 100%;
     transform: scale(1.1);
     transition: all 0.5s ease;
 }
 .gallery-section .gallery-item-inner:hover img{
    transform: scale(1);
 }

 /* gallery popup */
 .gallery-popup{
cursor: zoom-out;
position: fixed;
left: 0;
top:0;
width: 100%;
height: 100%;
z-index: 1099;
background-color: rgba(0,0,0,0.8);
display: flex;
align-items: center;
justify-content: center;
display: none;
 }
 .gallery-popup.open{
display: flex;
 }
 .gallery-popup img.gp-img{
    width: auto;
    height: auto;
    max-width: 100%;
    padding: 40px 0;
 }
 .gallery-popup .gp-container{
     position: relative;
     cursor: auto;
 }
 .gallery-popup .gp-counter{
    display: block;
    height: 40px;
    color: #fff;
    font-size: 16px;
    position: absolute;
    left: 0%;
    top: 0;
    line-height: 40px;
    font-weight: bold;
 }
 .gallery-popup .gp-close{
     display: block;
     width: 40px;
     height: 40px;
     color: #fff;
     font-size: 30px;
     position: absolute;
     right: 0%;
     top: 0;
     text-align: center;
     line-height: 38px;
     overflow: hidden;
     cursor: zoom-out;
}
.gallery-popup .gp-controls{
position: absolute;
left: 0;
bottom: 0;
height: 40px;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.gallery-popup .gp-controls .prev,
.gallery-popup .gp-controls .next{
    display: inline-block;
    margin: 0 10px;
}
.gallery-popup .gp-controls .prev i,
.gallery-popup .gp-controls .next i{
    color: #fff;
    font-size: 20px;
    display: block;
    height: 30px;
    width: 30px;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.5s ease;
}
.gallery-popup .gp-controls .prev:hover i,
.gallery-popup .gp-controls .next:hover i{
    background-color: rgba(0,0,0,0.8);
}

/* RSVP section */

.rsvp-section{
padding: 80px 0 80px;
}
.rsvp-section .section-title h2,
.rsvp-section.section-title p{
color: #fff;
}
.rsvp-section .section-title p{
   margin: 10px 0 0; 
   font-size: 16px;
   line-height: 26px;
}
.rsvp-section .rsvp-form{
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
}
.rsvp-section .form{
   max-width: 600px; 
   background-color: #fff; 
   margin: auto;
   padding: 60px 25px;
   box-shadow: 0 0 10px #888;
   border-radius: 7%;
}
.rsvp-section .form .input-group{
   flex: 0 0 100%;
   max-width: 100%;
   padding: 0 15px;
}
.rsvp-section .form .input-group.w50{
    flex: 0 0 50%;
    max-width: 50%;
}
.rsvp-section .form .input-control{
    display: block;
    width: 100%;
    height: 45px;
    margin-bottom: 30px;
    font-size: 16px;
    color: #000;
    padding: 6px 12px;
    border:  1px solid #ccc;
}
.rsvp-section .form textarea.input-control{
    height: 120px;
    padding-top: 12px;
    /* resize: none; */
}
.rsvp-section .form .input-control:focus{
    outline: none;
}

/* footer */
.footer{
padding: 120px 0 120px;
}
.footer .footer-content{
flex:  0 0 100%;
max-width: 100%;
padding:  0 15px;
}
.footer .footer-content .couple-name{
    width: 400px;
    height: 400px;
    border: none ;
    border-radius: 50%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.footer .footer-content .couple-name img{
    position: absolute;
    left: 0;
    top: 10px;
    width: 100%;
 height: 100%;
    z-index: -1;
   /*  transform: rotate(100deg); */
}
.footer .footer-content .couple-name h2{
    font-size: 40px;
    font-family: 'EB Garamond', serif;
    color: #000;
    margin: 0;
    font-weight: normal;
    text-align: center;
    text-transform: capitalize;
}
.footer .footer-content .couple-name h2 span{
    font-family: 'EB Garamond', serif;
    font-weight: normal;
    display: block;
    text-align: center;
}
.footer .footer-content p{
    font-size: 40px;
    font-family: 'EB Garamond', serif;
    color: #000;
    margin: 0;
    font-weight: normal;
    text-align: center;
    text-transform: capitalize;
}

/* copyright text */
.copyright-text{
    text-align: center;
    font-size: 14px;
    padding: 0 15px;
    color: #555;
    padding: 20px 0;
    border-top: 1px solid #ccc;
}
.copyright-text a{
color: #08798d;
font-size: larger;
}
.copyright-text a:hover{
    color: #000;  
}

/* audio */

.fa-music{
 position: fixed;
 right: 15px;   
 bottom: 15px;
 width: 40px;
 height: 40px;
 border: 1px solid transparent;
 z-index: 1;
 cursor: pointer;
 line-height: 38px;
 text-align: center;
 border-radius: 50px;
 box-shadow: 0 0 2px #444;
 text-shadow: 0 0 1px;
}
.fa-music.pause:after{
content: '';
position: absolute;
left: 50%;
width: 2px;
height: 100%;
transform: rotate(-36deg);
}

/* dark theme mode */
body.dark .rsvp-section .form,
body.dark .event-section .event-item-inner,
body.dark .couple-section .story-item i,
body.dark .story-section .story-item i,
body.dark .couple-section .couple i.fa-heart,
body.dark{
    background-color: #111;
}
body.dark .rsvp-section .form .input-control,
body.dark .people-section .people-item-inner,
body.dark .people-section .filter-btn,
body.dark .header.fixed .hamburger-btn,
body.dark header.fixed{
    background-color: #222;
}
body.dark .footer .footer-content p,
body.dark .footer .footer-content .couple .couple-name h2,
body.dark .rsvp-section .form .input-control,
body.dark .people-section .people-item-inner h4,
body.dark .people-section .filter-btn.active,
body.dark .event-section .event-item-inner h3,
body.dark .section-title h2,
body.dark .header .nav ul li a,
body.dark .header.fixed .nav ul li a,
body.dark .header.fixed .logo a{
    color: #fff;
}
body.dark p.copyright-text,
body.dark .people-section .people-item-inner p,
body.dark .people-section .filter-btn,
body.dark .event-section .event-item-inner p,
body.dark .story-section .story-text span.date,
body.dark .story-section .story-text p, 
body.dark .couple-section .couple p{
color: #bbb;
}
body.dark .header.fixed .hamburger-btn{
    border-color: #fff;
}
body.dark .rsvp-section .form,
body.dark .event-section .event-item-inner,
body.dark .people-section .people-item-inner img,
body.dark .header.fixed{
box-shadow: 0 0 10px #000; 
}
body.dark .story-section .story-content:before,
body.dark .couple-section .couple:nth-child(2):before{
    background-color: #333;
}
body.dark p.copyright-text,
body.dark .rsvp-section .form .input-control,
body.dark .event-section .event-item-inner h3,
body.dark .header.fixed .nav{
border-color: #333;
}
body.dark .header.fixed{
border-color: transparent;
}

@media(max-width:767px){
 body.dark .header .nav{
     background-color: #222;
 }
}