*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
:root{
    --primary: #9E8469;
    --secondary: #66899C;
/* 
    --font-normal: "Alegreya", serif;
    --font-cursive: "Marck Script", cursive; */

    --white: #FFFFFF;
    --black: #000000;

    --text-white: #F0EADF;
}

*[anim-scroll]{
    cursor: pointer;
}

html, body{
    background-color: var(--primary);
    font-family: var(--font-normal);
    overflow-x: hidden;
}

.btn-primary{
    min-width: 200px;
    width: 100%;
    padding: 8px 12px;
    background-color: var(--primary);
    color: var(--text-white);
    border: none;
    outline: none;
    cursor: pointer;
}
.btn-secondary{
    min-width: 200px;
    width: 100%;
    padding: 8px 12px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    outline: none;
    cursor: pointer;
}

.mt-8{
    margin-top: 8px;
}

.def-padding{
    padding: 64px 16px;
}

.py-8{
    padding: 8px 0;
}

.gap-16{
    gap: 16px;
}

.w-100{
    width: 100%;
}
.flex{
    display: flex;
}

.flex-col{
    flex-direction: column;
}

.d-none{
    display: none;
}

.flex-center{
    display: flex;
    justify-content: center;
    align-items: center;
}

.inner-700{
    max-width: 700px;
    width: 100%;
}
.inner-800{
    max-width: 800px;
    width: 100%;
}
.inner-900{
    max-width: 900px;
    width: 100%;
}
.inner-1100{
    max-width: 1100px;
    width: 100%;
}
.inner-1200{
    max-width: 1200px;
    width: 100%;
}
.inner-1300{
    max-width: 1200px;
    width: 100%;
}

div.header{
    background-color: var(--primary);
    color: var(--text-white);
}
    div.header > div{
        justify-content: space-evenly;
    }
    div.menu_item{
        font-size: 22px;
    }
        div.header div.menu_item h3{
            font-family: var(--font-cursive);
            font-size: 48px;
        }

div.hero{
    /* background-image: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url("../images/bg.jpg"); */
    height: calc(100vh - 75px);
    background-size: cover;
    background-position: center;
} 
    div.hero_text_cont{
        margin: 0 auto;
        width: max-content;
        text-align: center;
        color: var(--text-white);
    }    
        div.hero_text_cont h1{
            font-size: 64px;
            font-weight: lighter;
        }

        div.hero_text_cont h2{
            font-size: 64px;
            font-family: var(--font-cursive);
        }
    div.hero_text_cont_inner{
        position: relative;
        display: flex;
    }
        div.hero_text_cont_inner h2{
            width: 100%;
            text-align: center;
        }
        div.hero_text_cont_inner img{
            width: 250px;
            top: -115px;
            left: -120px;
            transform: rotate(250deg);
            margin-top: -100px;
        }
        .leave_no_rotate{
            margin-left: -145px;
        }
        .leave_rotate{
            right: 0;
            left: none !important;
            transform: rotate(110deg) scaleX(-1) !important;
            margin-right: -145px;
        }
div.invite{
    background-color: var(--primary);
}
    div.invite_text_cont{
        width: 100%;
        padding: 16px 32px;
        border-radius: 10px;
        color: var(--text-white);
    }
        div.invite_text_cont h1{
            font-size: 64px;
            justify-content: space-around;
            font-family: var(--font-cursive);
            text-align: center;
            margin-top: -24px;
        }
        div.invite_text_cont h3{
            text-align: center;
            font-weight: 400;
            font-size: 24px;    
            margin-top: -24px;
            margin-left: -160px;
        }
        div.invite_text_cont > div{
            margin-top: 32px;
            text-align: center;
            font-style: normal;
            font-size: 20px;
        } 
            div.invite_text_cont > div p{
                margin-top:22px;
            }
div.timer{
    background-color: var(--text-white);
    flex-direction: column;
    gap: 32px;
}
    div.timer_inner{
        width: 100%;
        justify-content: space-evenly;
    }
    div.timer_item{
        display: flex;
        flex-direction: column;
        text-align: center;
    }
        div.timer_item span{
            font-family: var(--font-cursive);
            font-size: 32px;
        }
        div.timer_item i span{
            font-style: normal;
            font-size: 80px;
        }
    div.timer_date{
        font-size: 48px;
    }
div.story{
    background-color: var(--secondary);
    min-height: 735px;
    align-items: flex-start;
}  
    div.story_left, div.story_right{
        text-align: center;
        color: var(--text-white);
    }
        div.story_left{
            width: 100%;
            position: relative;
            align-self: flex-start
        }
            div.story_img_holder:has(.story_img_1){
                position: relative;
                float: left;
                margin-top: 10px;
                margin-left: 10px;
            }
            div.story_img_holder:has(.story_img_2){
                position: relative;
                left: -100px;
                top: 200px;
            }
            img.story_img_1{
                width: 100%;
                width: 255px;
                height: 400px;
                border-top-left-radius: 1000px;
                border-top-right-radius: 1000px;
                object-fit: cover;
                object-position: center;
            }
            img.story_img_2{
                width: 100%;
                height: 405px;
                width: 255px;
                object-fit: cover;
                object-position: center;
            }
    div.story_right{
        margin: 0 auto;
        max-width: 500px;
        width: 100%;
    }
        div.story_right h2{
            font-size: 64px;
            font-family: var(--font-cursive);
        }
            div.story_right p{
                line-height: 1.4;
                font-size: 22px;
                margin-top: 16px;
            }
div.program{
    background-color: var(--text-white);
    flex-direction: column;
    position: relative;
}
    div.program > h2{
        text-align: center;
        font-size: 64px;
        font-family: var(--font-cursive);
        margin-bottom: 32px;
    }
    div.program_list{
        display: flex;
        flex-direction: column;
    }
        div.program_item{
            position: relative;
            width: 100%;
            height: 150px;
            border-left: 4px solid var(--black);
            padding: 0px 32px;
            font-size: 32px;
            font-weight: lighter;
        }
            div.program_item div.program_text > h3{
                margin-top: -16px;
                margin-bottom: 8px;
                font-weight: 100;
            }
            div.program_circle{
                position: absolute;
                top: 0;
                left: 0;
                width: 32px;
                height: 32px;
                border-radius: 1000px;
                background: var(--black);
                transform: translateX(-18px);
            }
            div.program_item_no_border{
                border-left: none !important;
            }
        div.program_left{
            display: flex;
            flex-direction: column;
        }
            div.program_left h3{
                font-family: var(--font-cursive);
                font-size: 48px;
                margin-bottom: 4px;
            }
            div.program_left p{
                font-size: 22px;
            }
        div.program_right{
            display: flex;
            justify-content: center;
        }
div.program_leave_top_right, div.program_leave_bottom_left{
    position: absolute;
}
    div.program_leave_top_right{
        top:0;
        right: 0;
    }
    div.program_leave_bottom_left{
        bottom:0;
        left: 0;
        transform: rotate(-180deg);
    }
div.info_rsvp{
    background-color: var(--primary);
}
div.info_inner{
    padding: 64px 32px;
    width: 100%;
    background-color: var(--text-white);
}
    div.info_inner div{
        width: 100%;
    }
        div.info_inner h2{
            font-size: 64px;
            font-family: var(--font-cursive);
        }
        div.info_inner p{
            font-size: 18px;
        }
    div.info_inner .btns{
        display: flex;
        gap: 16px;  
        align-items: center;
    }
        div.info_inner .btns button{
            font-size: 22px;
            height: 55px;
            font-family: var(--font-cursive);
        }
    div.rsvp_yes{
        background-color: var(--text-white);
        padding: 64px 32px;
    }
    div.form_item{
        width: 100%;
        display: flex;
        flex-direction: column;
    }
        div.form_item input, div.form_item select, div.form_item textarea{
            width: 100%;
            padding: 8px 12px;
            background-color: var(--text-white);
            border: 1px solid var(--black);
            margin-top: 4px;
        }
        div.rsvp_yes > h2{
            margin-bottom: 16px;
        }
            div.step_buttons{
                margin-top: 16px;
            }
        div.rsvp_yes button{
            font-size: 22px;
            font-family: var(--font-cursive);
        }
div.info{
    background-color: var(--text-white);
    position: relative;
    overflow:hidden;
}
    div.info_left{
        text-align: center;
    }
    div.info_right_list{
        max-width: 800px;
        gap: 32px;
        display: flex;
        flex-direction: column;
    }
        div.info_item h3{
            font-size: 32px;
            font-family: var(--font-cursive);
            margin-bottom: 8px;
        }
    div.faq_leave_top_left, div.faq_leave_bottom_right{
        position: absolute;
    }
        div.faq_leave_top_left{
            top: -4px;
            left: 0;
            transform: rotate(-90deg);
        }
        div.faq_leave_bottom_right{
            bottom:-4px;
            right: 0;
            transform: rotate(-270deg);
        }
div.ceremonie{
    background-color: var(--secondary);
    flex-direction: column;
}
    div.ceremonie h2{
        font-size: 64px;
        width: 100%;
        text-align: center;
        margin-bottom: 32px;
        color: var(--text-white);
        font-family: var(--font-cursive);
    }
    div.ceremonie_inner{
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 16px;
    }
        div.ceremonie_item{
            max-width: 340px;
            width: 100%;
            text-align: center;
            color: var(--text-white);
        }
            div.ceremonie_item img{
                width: 100%;
                height: 300px;
                object-fit: cover;
            }
            div.ceremonie_item h3{
                font-size: 32px;
                font-family: var(--font-cursive);
                margin-bottom: 8px;
            }
            div.ceremonie_item p{
                font-size: 18px;
            }






div.res_menu{
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100vh);
    padding: 32px 16px;
    background-color: var(--primary);
}
div.res_menu_container{
    width:100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}
    div.close_menu i{
        font-size: 24px;
        color: var(--text-white);
        cursor: pointer;
    }
    div.res_menu_inner{
        gap: 32px;
        color: var(--text-white);
        flex-direction: column;
    }
        div.res_menu_inner .menu_item{
            font-size: 28px;
        }
    div.res_menu_title{
        text-align: center;
        font-size: 8vw;
        font-family: var(--font-cursive);
        color: var(--text-white);
    }

    .menu_layer_responsive i{
        font-size: 24px;
        cursor: pointer;
    }


    div.menu_layer_responsive{
        display: none;
    }

    div.footer{
        padding: 16px;
        color: var(--text-white)
    }
        div.footer a{
            color: var(--text-white);
            text-decoration: underline;
        }


div.program_leave_top_right img,
div.program_leave_bottom_left img, 
div.faq_leave_top_left img, 
div.faq_leave_bottom_right img{
    width: 200px;
}

@media only screen and (max-width: 1130px) {
    div.program_leave_bottom_left img {
        display: none;
    }
}
@media only screen and (max-width: 1082px) {
    div.story_img_holder:has(.story_img_2) {
        position: relative;
        left: 50px;
        top: -200px;
    }
}
@media only screen and (max-width: 1020px) {
    div.story_inner {
        flex-direction: column;
    }
    div.story_left{
        display: flex;
        justify-content: center;
    }
    div.story_img_holder:has(.story_img_2){
        display: none;
    }
    
}
@media only screen and (max-width: 950px) {
    div.hero_text_cont_inner{
        flex-direction: column-reverse;
        align-items: center;
    }
    .leave_rotate{
        display: none;
    }
    div.hero_text_cont_inner img{
        margin: 0;
    }
}


@media only screen and (max-width: 860px) {
    div.menu_layer{
        display: none;
    }
    div.menu_layer_responsive{
        display: flex;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 16px;
    }
}

@media only screen and (max-width: 800px) {
    div.info_inner{
        flex-direction: column;
        gap: 32px;
    }
    div.info_inner .btns{
        margin-top: 32px;
    }
    div.info_inner div{
        text-align: center;
    }
}
@media only screen and (max-width: 665px) {
    div.ceremonie_inner{
        justify-content: center;
    }
}
@media only screen and (max-width: 650px) {
    div.hero_text_cont h1, div.hero_text_cont h2{
        font-size: 16vw;
    }
    
    div.timer_item span{
        font-size: 6vw;
    }
    div.timer_item i span{
        font-size: 12vw;
    }
    div.timer_date{
        font-size: 32px;
        margin-top: 16px;
    }
}
@media only screen and (max-width: 550px) {
    div.program_inner {
        flex-direction: column-reverse;
        margin-top: 32px;
    }
    div.program_left{
        text-align: center;
    }
    div.program_item{
        font-size: 22px;
    }
    div.info_inner .btns{
        flex-direction: column;
    }
    div.ceremonie h2{
        font-size: 12vw;
    }
    div.ceremonie_item{
        max-width: 200px;
    }
    div.ceremonie_item img{
        height: 200px;
    }
    div.step_buttons{
        flex-wrap: wrap;
    }
}

@media only screen and (max-width: 500px) {
    div.program_leave_top_right img, div.faq_leave_top_left img, div.faq_leave_bottom_right img{
        display: none;
    }
}
@media only screen and (max-width: 430px) {
    div.header div.menu_item h3{
        font-size: 32px;
        padding: 16px 0;
    }
}
