/* =========================================================
   DONI & MARSYA
   Luxury Editorial Wedding Invitation
   Version 2.0
   ========================================================= */

/*==================================================
01. GOOGLE FONT
==================================================*/
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

html, body{

    margin:0;

    padding:0;

}

/*==================================================
02. ROOT VARIABLES
==================================================*/
:root{

    --primary:#b68c5a;
    --primary-dark:#8e6a43;
    --primary-light:#d8b98d;

    --secondary:#2f3542;

    --white:#ffffff;
    --ivory:#fcfaf7;
    --cream:#f5f1ea;

    --text:#4d4d4d;
    --text-light:#777777;

    --border:#ebe4da;

    --radius-sm:12px;
    --radius:20px;
    --radius-lg:30px;

    --shadow-sm:0 8px 20px rgba(0,0,0,.05);
    --shadow-md:0 18px 45px rgba(0,0,0,.08);
    --shadow-lg:0 30px 70px rgba(0,0,0,.12);

    --transition:.35s ease;

    --container:1200px;

}


/*==================================================
03. RESET
==================================================*/

*,
*::before,
*::after{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;

    color:var(--text);

    background:var(--ivory);

    line-height:1.8;

    overflow-x:hidden;

    -webkit-font-smoothing:antialiased;

}

img{

    max-width:100%;

    display:block;

}

a{

    color:inherit;

    text-decoration:none;

    transition:var(--transition);

}

ul{

    list-style:none;

}

button{

    border:none;

    background:none;

    cursor:pointer;

}

input,
textarea,
select{

    font:inherit;

    outline:none;

}

section{

    position:relative;

    padding:120px 0;

}


/*==================================================
04. TYPOGRAPHY
==================================================*/

h1,
h2,
h3,
h4,
h5{

    font-family:'Cormorant Garamond',serif;

    color:#2d2d2d;

    line-height:1.2;

}

h1{

    font-size:72px;

}

h2{

    font-size:54px;

}

h3{

    font-size:36px;

}

p{

    color:var(--text-light);

    font-size:16px;

}


/*==================================================
05. LAYOUT
==================================================*/

.container{

    width:min(1200px,92%);
    margin:auto;

}

.section{

    position:relative;

}

.section-title{

    max-width:760px;

    margin:0 auto 70px;

    text-align:center;

}

.section-title small{

    display:inline-block;

    color:var(--primary);

    text-transform:uppercase;

    letter-spacing:4px;

    font-size:13px;

    font-weight:600;

}

.section-title h2{

    margin-top:15px;

    margin-bottom:18px;

}

.section-title p{

    margin:auto;

    max-width:650px;

}

.divider{

    width:90px;

    height:3px;

    background:var(--primary);

    border-radius:20px;

    margin:24px auto;

}


/*==================================================
06. GRID
==================================================*/

.grid-2{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:60px;

}

.grid-3{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:40px;

}

.flex{

    display:flex;

}

.flex-center{

    display:flex;

    align-items:center;

    justify-content:center;

}


/*==================================================
07. CARD
==================================================*/

.card{

    background:#fff;

    border-radius:24px;

    overflow:hidden;

    box-shadow:var(--shadow-md);

    transition:var(--transition);

}

.card:hover{

    transform:translateY(-8px);

}


/*==================================================
08. BUTTON
==================================================*/

.btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    padding:16px 36px;

    border-radius:999px;

    background:var(--primary);

    color:#fff;

    font-weight:600;

    transition:var(--transition);

}

.btn:hover{

    background:var(--primary-dark);

    transform:translateY(-3px);

}

.btn-outline{

    background:transparent;

    border:2px solid var(--primary);

    color:var(--primary);

}

.btn-outline:hover{

    background:var(--primary);

    color:#fff;

}


/*==================================================
09. FORM
==================================================*/

.form-control{

    width:100%;

    padding:16px 20px;

    border:1px solid var(--border);

    border-radius:16px;

    background:#fff;

    transition:.3s;

}

.form-control:focus{

    border-color:var(--primary);

    box-shadow:0 0 0 5px rgba(182,140,90,.12);

}

/*==================================================
10. HEADER
==================================================*/

.header{

    position:fixed;

    top:0;

    left:0;
    
    right:0;

    width:100%;

    z-index:999;

}

.header.scrolled{

    background:rgba(255,255,255,.65);

    backdrop-filter:blur(18px);

    -webkit-backdrop-filter:blur(18px);

    border-bottom:1px solid rgba(0,0,0,.06);

    box-shadow:0 8px 30px rgba(0,0,0,.08);

}

.header.scrolled::before{

    content:"";

    position:absolute;

    inset:0;

    background:rgba(255,255,255,.4);

    backdrop-filter:blur(25px);

    -webkit-backdrop-filter:blur(25px);

    z-index:-1;

}

.header .container{

    display:flex;

    align-items:center;

    justify-content:space-between;

}

.logo{

    font-family:var(--font-heading);

    font-size:30px;

    color:var(--heading);

    font-weight:700;

}

#menu{

    display:flex;

    align-items:center;

    gap:40px;

    list-style:none;

    margin:0;

    padding:0;

}

#menu li{

    list-style:none;

}

#menu a{

    text-decoration:none;

    color:var(--heading);

    font-weight:500;

    transition:.3s;

}

#menu a:hover{

    color:var(--primary);

}

#menuToggle{

    display:none;

}

@media (max-width:768px){

    #menuToggle{
        display:flex;
        align-items:center;
        justify-content:center;
        font-size:28px;
        cursor:pointer;
    }
    
    .hero-content{

        padding:45px 25px;
    
    }
    
    .hero-title{
    
        font-size:60px;
    
    }
    
    .hero-title span{
    
        font-size:34px;
    
    }
    
    .hero-quote{
    
        font-size:17px;
    
        line-height:1.8;
    
    }
    
    .hero-divider{
    
        width:120px;
    
    }

}

.nav{

    display:flex;

    align-items:center;

    gap:38px;

}

.nav a{

    font-size:15px;

    font-weight:500;

    position:relative;

}

.nav a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-6px;

    width:0;

    height:2px;

    background:var(--primary);

    transition:.35s;

}

.nav a:hover::after{

    width:100%;

}

.menu-toggle{

    display:none;

    font-size:28px;

    cursor:pointer;

}

/*==================================================
11. HERO
==================================================*/

#hero{
    min-height:100vh;

    padding:90px 20px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    overflow:hidden;
    position:relative;
    color:#fff;

    background-image:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.20),
            rgba(0,0,0,.35),
            rgba(0,0,0,.55)
        ),
        
        url("../img/hero.jpg");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}

#hero::before{
    display:none;
}

#hero video,
#hero img{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    object-fit:cover;

}

.hero-content{

    width:100%;
    max-width:820px;

    margin:auto;

    padding:70px 45px;

    border-radius:35px;

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);

    border:1px solid rgba(255,255,255,.15);

    box-shadow:
        0 20px 60px rgba(0,0,0,.18);

}

.hero-subtitle{

    display:inline-block;

    font-size:14px;

    letter-spacing:8px;

    text-transform:uppercase;

    color:rgba(255,255,255,.92);

}

.hero-title{

    font-size:98px;

    line-height:1.05;

    margin:35px 0;

    color:#fff;

    text-shadow:
        0 10px 30px rgba(0,0,0,.35);

}

.hero-title span{

    display:block;

    margin:14px 0;

    font-size:48px;

    color:#e9d8b4;

}

.hero-divider{

    width:180px;

    height:2px;

    margin:35px auto;

    background:
    linear-gradient(

    to right,

    transparent,

    var(--primary),

    transparent

    );

}

.hero-quote{

    max-width:620px;

    margin:40px auto 0;

    font-size:20px;

    line-height:2;

    font-style:italic;

    color:rgba(255,255,255,.94);

}

.hero-verse{

    display:block;

    margin-top:25px;

    letter-spacing:5px;

    font-size:14px;

    color:#ecd8ab;

}

/*==================================================
12. COUNTDOWN
==================================================*/

.countdown{

    margin-top:55px;

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

.count-item{

    width:115px;

    height:115px;

    background:rgba(255,255,255,.15);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.2);

    border-radius:24px;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

}

.count-item span{

    font-size:42px;

    font-weight:700;

    color:#fff;

}

.count-item small{

    margin-top:8px;

    text-transform:uppercase;

    letter-spacing:2px;

    font-size:12px;

}

.hero-button{

    margin-top:55px;

    display:inline-flex;

}

.scroll-down{

    margin-top:45px;

    display:inline-flex;

    width:54px;

    height:54px;

    border-radius:50%;

    justify-content:center;

    align-items:center;

    color:#fff;

    border:1px solid rgba(255,255,255,.3);

    transition:.35s;

    animation:bounce 2s infinite;

}

.scroll-down:hover{

    background:rgba(255,255,255,.15);

}

@keyframes floatDown{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(12px);

    }

    100%{

        transform:translateY(0);

    }

}

@keyframes bounce{

0%,100%{

transform:translateY(0);

}

50%{

transform:translateY(10px);

}

}

/*==================================================
13. BIBLE
==================================================*/

#bible{

    background:var(--white);

    position:relative;

}

.bible-card{

    max-width:900px;

    margin:auto;

    padding:70px 60px;

    background:linear-gradient(180deg,#ffffff,#fcfaf7);

    border-radius:32px;

    box-shadow:var(--shadow-lg);

    text-align:center;

    position:relative;

    overflow:hidden;

}

.bible-card::before{

    content:"";

    position:absolute;

    top:-120px;

    right:-120px;

    width:260px;

    height:260px;

    border-radius:50%;

    background:rgba(182,140,90,.06);

}

.bible-card::after{

    content:"";

    position:absolute;

    bottom:-120px;

    left:-120px;

    width:260px;

    height:260px;

    border-radius:50%;

    background:rgba(182,140,90,.05);

}

.bible-icon{

    width:90px;

    height:90px;

    margin:0 auto 35px;

    border-radius:50%;

    background:var(--primary);

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:34px;

    box-shadow:0 20px 40px rgba(182,140,90,.25);

}

.bible-card blockquote{

    font-family:'Cormorant Garamond',serif;

    font-size:34px;

    line-height:1.5;

    color:#333;

    font-style:italic;

    margin-bottom:35px;

    position:relative;

}

.bible-card blockquote::before{

    content:"“";

    position:absolute;

    left:-25px;

    top:-25px;

    font-size:80px;

    color:rgba(182,140,90,.2);

}

.bible-card p{

    max-width:650px;

    margin:0 auto;

    font-size:17px;

}

.bible-reference{

    display:inline-block;

    margin-top:35px;

    padding:12px 28px;

    border-radius:999px;

    background:var(--cream);

    color:var(--primary);

    font-weight:600;

    letter-spacing:2px;

}

/*==================================================
14. COUPLE
==================================================*/

#couple{

    background:var(--ivory);

    overflow:hidden;

}

.couple-monogram{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:30px;

    margin-bottom:70px;

}

.couple-monogram span{

    width:120px;

    height:1px;

    background:var(--border);

}

.couple-circle{

    width:150px;

    height:150px;

    border-radius:50%;

    background:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    flex-direction:column;

    box-shadow:var(--shadow-md);

    border:1px solid var(--border);

}

.couple-circle h2{

    font-size:44px;

    color:var(--primary);

    line-height:1;

}

.couple-circle small{

    margin:6px 0;

    color:var(--primary);

    letter-spacing:3px;

}

.couple-list{

    display:grid;
    grid-template-columns:repeat(2,minmax(320px,1fr));

    gap:60px;

    align-items:start;

}

@media (max-width:992px){

    .couple-list{

        grid-template-columns:1fr;

        gap:35px;

    }

    .couple-center{

        position:relative;

        left:auto;
        top:auto;

        transform:none;

        display:flex;

        justify-content:center;

        margin:10px auto;

        order:2;

    }
    
    .couple-mini-monogram{

        width:70px;

        height:70px;

    }

    .couple-mini-monogram span{

        font-size:22px;

    }

}

/*=========================
  CENTER MONOGRAM
=========================*/

.couple-center{

    display:flex;

    justify-content:center;

    align-items:center;

}

.couple-mini-monogram{

    width:90px;

    height:90px;

    background:#fff;

    border-radius:50%;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    border:1px solid rgba(182,140,90,.2);

    box-shadow:0 12px 30px rgba(0,0,0,.08);

    transition:.35s;

}

.couple-mini-monogram:hover{

    transform:scale(1.06);

}

.couple-mini-monogram span{

    font-family:var(--heading-font);

    font-size:28px;

    color:var(--primary);

    line-height:1;

}

.couple-mini-monogram small{

    color:var(--primary);

    letter-spacing:2px;

    margin:3px 0;

}

.c-card{

    background:#fff;

    border-radius:30px;

    overflow:hidden;

    box-shadow:var(--shadow-md);

    transition:var(--transition);

}

.c-card:hover{

    transform:translateY(-12px);

    box-shadow:var(--shadow-lg);

}

.c-card-image{

    overflow:hidden;

    position:relative;

}

.c-card-image img{

    width:100%;

    height:580px;

    object-fit:cover;

    transition:1s;

}

.c-card:hover .c-card-image img{

    transform:scale(1.08);

}

.c-card-body{

    padding:45px;

    text-align:center;

}

.c-card-body h3{

    font-size:48px;

    margin-bottom:15px;

}

.couple-role{

    color:var(--primary);

    font-weight:600;

    margin-bottom:22px;

    letter-spacing:2px;

    text-transform:uppercase;

    font-size:13px;

}

.c-card-body p{

    margin-bottom:30px;

}

.c-social{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    padding:12px 22px;

    margin:auto;

    border-radius:50px;

    background:var(--primary);

    color:#fff;

    text-decoration:none;

    font-size:15px;

    font-weight:500;

    transition:.35s;

}

.c-social i{

    font-size:20px;

}

.c-social:hover{

    background:var(--primary-dark);

    transform:translateY(-4px);

}

/*==================================================
15. EVENT
==================================================*/

#event{

    background:var(--white);
    position:relative;

}

.event-wrapper{

    max-width:1100px;
    margin:auto;

}

.timeline{

    position:relative;
    padding-left:90px;

}

.timeline::before{

    content:"";
    position:absolute;
    left:30px;
    top:0;
    bottom:0;
    width:2px;
    background:var(--border);

}

.timeline-item{

    position:relative;
    margin-bottom:70px;

}

.timeline-item:last-child{

    margin-bottom:0;

}

.timeline-dot{

    position:absolute;
    left:-62px;
    top:35px;

    width:18px;
    height:18px;

    border-radius:50%;
    background:var(--primary);

    border:5px solid var(--ivory);

    box-shadow:0 0 0 4px rgba(182,140,90,.15);

}

.event-card{

    background:#fff;

    border-radius:30px;

    padding:42px;

    box-shadow:var(--shadow-md);

    transition:var(--transition);

    border:1px solid rgba(0,0,0,.04);

}

.event-card:hover{

    transform:translateY(-10px);

    box-shadow:var(--shadow-lg);

}

.event-card h3{

    display:flex;
    align-items:center;
    gap:14px;

    margin-bottom:35px;

}

.event-card h3 i{

    color:var(--primary);

    font-size:28px;

}

.event-meta{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:18px;

    margin-bottom:35px;

}

.event-meta div{

    background:var(--cream);

    border-radius:18px;

    padding:18px 15px;

    text-align:center;

}

.event-meta strong{

    display:block;

    font-size:13px;

    text-transform:uppercase;

    color:var(--primary);

    margin-bottom:8px;

}

.event-meta span{

    font-weight:600;

    color:#333;

}

.event-location{

    background:#fafafa;

    padding:26px;

    border-radius:18px;

    font-style:normal;

    margin-bottom:28px;

    border-left:5px solid var(--primary);

}

.map-btn{

    display:inline-flex;

    align-items:center;

    gap:10px;

}

/*==================================================
16. GALLERY
==================================================*/

#gallery{

    background:var(--ivory);

}

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:24px;

}

.c-gallery-item{

    position:relative;

    overflow:hidden;

    border-radius:26px;

    display:block;

    box-shadow:var(--shadow-sm);

}

.c-gallery-item img{

    width:100%;

    height:420px;

    object-fit:cover;

    transition:1s;

}

.c-gallery-item::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        to top,
        rgba(0,0,0,.45),
        rgba(0,0,0,0)
    );

    opacity:0;

    transition:.4s;

    z-index:2;

}

.c-gallery-item::after{

    content:"+";

    position:absolute;

    left:50%;

    top:50%;

    transform:translate(-50%,-50%) scale(.7);

    width:70px;

    height:70px;

    border-radius:50%;

    background:rgba(255,255,255,.9);

    color:var(--primary);

    font-size:40px;

    display:flex;

    align-items:center;

    justify-content:center;

    opacity:0;

    transition:.4s;

    z-index:3;

}

.c-gallery-item:hover img{

    transform:scale(1.12);

}

.c-gallery-item:hover::before{

    opacity:1;

}

.c-gallery-item:hover::after{

    opacity:1;

    transform:translate(-50%,-50%) scale(1);

}

/*==================================================
17. SECTION ANIMATION
==================================================*/

.fade-up{

    opacity:0;

    transform:translateY(40px);

    transition:all .8s ease;

}

.fade-up.show{

    opacity:1;

    transform:none;

}

.fade{

    opacity:0;

    transition:all .8s ease;

}

.fade.show{

    opacity:1;

}

/*==================================================
18. VENUE
==================================================*/

#venue{

    background:var(--white);
    position:relative;

}

/*.venue-grid{*/

/*    display:grid;*/
/*    grid-template-columns:repeat(2,1fr);*/
/*    gap:45px;*/

/*}*/

.venue-grid{

    max-width:1100px;

    margin:0 auto;

}

.venue-card{

    background:#fff;

    border-radius:32px;

    overflow:hidden;

    box-shadow:var(--shadow-md);

    transition:var(--transition);

    border:1px solid rgba(0,0,0,.04);

}

.venue-card:hover{

    transform:translateY(-10px);

    box-shadow:var(--shadow-lg);

}

.venue-image{

    position:relative;

    overflow:hidden;

}

/*.venue-image img{*/

/*    width:100%;*/

/*    height:320px;*/

/*    object-fit:cover;*/

/*    transition:1s;*/

/*}*/

.venue-image img{

    width:100%;

    height:450px;

    object-fit:cover;
    
    transition:1s;

}

.venue-card:hover .venue-image img{

    transform:scale(1.08);

}

/*.venue-body{*/

/*    padding:40px;*/

/*}*/

.venue-body{

    padding:50px;

}

.venue-body h3{

    margin-bottom:18px;

}

.venue-address{

    font-style:normal;

    line-height:1.9;

    color:var(--text-light);

    margin-bottom:28px;

}

/*.venue-action{*/

/*    display:flex;*/
/*    gap:16px;*/
/*    flex-wrap:wrap;*/

/*}*/

.venue-action{

    display:flex;

    justify-content:center;

    gap:16px;

    flex-wrap:wrap;

}

/*==================================================
19. GIFT
==================================================*/

#gift{

    background:var(--cream);

}

.gift-wrapper{

    max-width:900px;
    margin:auto;

}

.gift-card{

    background:#fff;

    border-radius:30px;

    padding:45px;

    text-align:center;

    box-shadow:var(--shadow-md);

}

.bank-logo{

    height:70px;

    margin:auto auto 25px;

    object-fit:contain;

}

.bank-name{

    font-size:32px;

    margin-bottom:8px;

}

.bank-number{

    font-size:30px;

    letter-spacing:3px;

    font-weight:700;

    color:var(--primary);

    margin:20px 0;

}

.bank-owner{

    color:var(--text-light);

    margin-bottom:30px;

}

.copy-btn{

    margin-top:20px;

}

.qris{

    width:280px;

    margin:40px auto;

    padding:18px;

    border-radius:22px;

    background:#fff;

    box-shadow:var(--shadow-sm);

}

.qris img{

    width:100%;

    border-radius:14px;

}

/*==================================================
20. RSVP
==================================================*/

#wishes{

    background:var(--ivory);

}

.rsvp-box{

    max-width:900px;

    margin:auto;

    background:#fff;

    border-radius:30px;

    padding:55px;

    box-shadow:var(--shadow-lg);

}

.form-group{

    margin-bottom:25px;

}

textarea.form-control{

    resize:vertical;

    min-height:170px;

}

.btn-submit{

    width:100%;

    justify-content:center;

}

.result-message{

    margin-top:25px;

    padding:18px;

    border-radius:16px;

    display:none;

}

.result-message.success{

    display:block;

    background:#eaf8ef;

    color:#2c7a43;

}

.result-message.error{

    display:block;

    background:#fdeeee;

    color:#b42318;

}

.wishes-list{

    margin-top:70px;

}

.wish-card{

    background:#fff;

    border-radius:24px;

    padding:30px;

    margin-bottom:25px;

    box-shadow:var(--shadow-sm);

}

.wish-name{

    font-weight:600;

    color:#222;

    margin-bottom:10px;

}

.wish-date{

    font-size:13px;

    color:#999;

    margin-bottom:15px;

}

/*==================================================
21. FOOTER
==================================================*/

.footer{

    background:#222;

    color:rgba(255,255,255,.85);

    text-align:center;

    padding:90px 0 40px;

}

.footer h2{

    color:#fff;

    font-size:58px;

    margin-bottom:15px;

}

.footer p{

    color:rgba(255,255,255,.7);

}

.footer-social{

    display:flex;

    justify-content:center;

    gap:18px;

    margin:35px 0;

}

.footer-social a{

    width:52px;

    height:52px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    transition:.35s;

}

.footer-social a:hover{

    background:var(--primary);

    transform:translateY(-4px);

}

.copyright{

    margin-top:40px;

    font-size:14px;

    color:rgba(255,255,255,.55);

}

/*==================================================
22. BACK TO TOP
==================================================*/

.back-to-top{

    position:fixed;

    right:30px;

    bottom:30px;

    width:55px;

    height:55px;

    border-radius:50%;

    background:var(--primary);

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    box-shadow:var(--shadow-md);

    z-index:999;

    opacity:0;

    visibility:hidden;

    transition:.35s;

}

.back-to-top.active{

    opacity:1;

    visibility:visible;

}

/*==================================================
23. MUSIC BUTTON
==================================================*/

.music-button{

    position:fixed;

    left:30px;

    bottom:30px;

    width:60px;

    height:60px;

    border-radius:50%;

    background:#fff;

    color:var(--primary);

    display:flex;

    align-items:center;

    justify-content:center;

    box-shadow:var(--shadow-md);

    z-index:999;

    transition:.35s;

}

.music-button:hover{

    transform:rotate(180deg);

}

.music-button.playing i{

    animation:spinMusic 4s linear infinite;

}

@keyframes spinMusic{

    from{

        transform:rotate(0);

    }

    to{

        transform:rotate(360deg);

    }

}

/*==================================================
24. CUSTOM SCROLLBAR
==================================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:var(--cream);

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--primary-dark);

}

/*==================================================
25. TEXT SELECTION
==================================================*/

::selection{

    background:var(--primary);

    color:#fff;

}

::-moz-selection{

    background:var(--primary);

    color:#fff;

}

/*==================================================
26. SCROLL PROGRESS
==================================================*/

#progressContainer{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:4px;

    z-index:9999;

    background:transparent;

}

#progressBar{

    width:0;

    height:100%;

    background:linear-gradient(
        90deg,
        var(--primary),
        var(--primary-light)
    );

}

/*==================================================
27. LOADER
==================================================*/

#loader{

    position:fixed;

    inset:0;

    background:#fff;

    z-index:99999;

    display:flex;

    align-items:center;

    justify-content:center;

    transition:.5s;

}

#loader.hide{

    opacity:0;

    visibility:hidden;

}

.loader-circle{

    width:70px;

    height:70px;

    border-radius:50%;

    border:5px solid var(--cream);

    border-top-color:var(--primary);

    animation:loaderSpin 1s linear infinite;

}

.loader-logo{

    font-family:var(--font-script);

    font-size:76px;

    color:var(--primary);

    margin-bottom:15px;

    line-height:1;

    animation:fadeUp .8s ease;

}

.loader-text{

    font-family:var(--font-heading);

    font-size:34px;

    color:var(--heading);

    letter-spacing:2px;

    margin-bottom:10px;

}

.loader-subtitle{

    color:var(--text-light);

    letter-spacing:5px;

    text-transform:uppercase;

    font-size:13px;

}

.loader-line{

    width:220px;

    height:2px;

    background:#eee;

    margin:40px auto 0;

    overflow:hidden;

    border-radius:10px;

}

.loader-line span{

    display:block;

    width:40%;

    height:100%;

    background:linear-gradient(
        90deg,
        transparent,
        var(--primary),
        transparent
    );

    animation:loaderLine 1.5s linear infinite;

}

@keyframes loaderLine{

    from{

        transform:translateX(-220px);

    }

    to{

        transform:translateX(220px);

    }

}

@keyframes loaderSpin{

    to{

        transform:rotate(360deg);

    }

}

/*==================================================
28. COVER
==================================================*/

#cover{

    position:fixed;

    inset:0;

    z-index:9998;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    background:rgba(0,0,0,.45);

    backdrop-filter:blur(8px);

}

.cover-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(

        rgba(20,20,20,.25),

        rgba(20,20,20,.35)

    );

}

.cover-content{

    position:relative;

    z-index:2;

}

.cover-title{

    text-transform:uppercase;

    letter-spacing:6px;

    color:#fff;

    font-size:14px;

    margin-bottom:18px;

}

#cover h1{

    font-family:var(--font-script);

    font-size:82px;

    color:#fff;

    line-height:1.1;

}

#cover h1 span{

    display:block;

    font-size:48px;

    margin:10px 0;

}

.cover-divider{

    width:120px;

    height:2px;

    background:rgba(255,255,255,.4);

    margin:35px auto;

}

.cover-date{

    color:#fff;

    letter-spacing:3px;

    margin-bottom:45px;

}

.guest-box{

    display:inline-block;

    padding:22px 40px;

    background:rgba(255,255,255,.12);

    backdrop-filter:blur(14px);

    border:1px solid rgba(255,255,255,.25);

    border-radius:22px;

    margin-bottom:35px;

}

.guest-box small{

    display:block;

    color:#eee;

    margin-bottom:8px;

}

.guest-box h3{

    color:#fff;

    font-size:28px;

    margin:0;

}

#openInvitation{

    display:inline-flex;

    align-items:center;

    gap:12px;

    padding:18px 42px;

    border:none;

    border-radius:50px;

    background:var(--primary);

    color:#fff;

    cursor:pointer;

    transition:.35s;

    font-size:16px;

    box-shadow:0 15px 35px rgba(0,0,0,.18);

}

#openInvitation:hover{

    transform:translateY(-5px);

    background:var(--primary-dark);

}

/*==================================================
29. NAV ACTIVE
==================================================*/
#navbar{

    width:100%;

    height:75px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:0 30px;

}

#navbar.scrolled{

    background:rgba(255,255,255,.65);

    backdrop-filter:blur(20px);

    -webkit-backdrop-filter:blur(20px);

    border-bottom:1px solid rgba(255,255,255,.4);

    box-shadow:0 10px 35px rgba(0,0,0,.06);

}

.nav a.active{

    color:var(--primary);

}

.nav a.active::after{

    width:100%;

}

#musicButton{

    transition:.4s;

}

#musicButton.playing{

    background:var(--primary);

    color:#fff;

}

/*==================================================
31. ORNAMENT
==================================================*/

.ornament{

    position:absolute;

    opacity:.08;

    pointer-events:none;

    animation:float 12s ease-in-out infinite;

}

@keyframes float{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-25px);

    }

    100%{

        transform:translateY(0);

    }

}

/*==================================================
32. GLOBAL ANIMATION
==================================================*/

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(50px);

    }

    to{

        opacity:1;

        transform:none;

    }

}

@keyframes zoomIn{

    from{

        opacity:0;

        transform:scale(.9);

    }

    to{

        opacity:1;

        transform:scale(1);

    }

}

.zoom-in{

    animation:zoomIn .8s ease both;

}

.fade-up{

    animation:fadeUp .8s ease both;

}