*, *:before, *:after {
    box-sizing: border-box;
}

html {
    scroll-snap-type: y mandatory;
    max-width: 1920px;
    min-width: 350px;
    margin: 0px;
    overflow-x: clip;
}

body {
    margin: 0px;
    height: 100%;
}

.scroll_section {
    scroll-snap-align: start;
    scroll-snap-stop: always;
}
.save-the-date {
    width: 95vw;
    max-width: 700px;
    border-radius: 2rem;
    -webkit-box-shadow: 7px 7px 5px 0px rgba(0,0,0,0.11);
    -moz-box-shadow: 7px 7px 5px 0px rgba(0,0,0,0.11);
    box-shadow: 7px 7px 5px 0px rgba(0,0,0,0.11);
}
.logo1{
    width: 300px;
    user-select: none;
    pointer-events: none;
}

.logo2 {
    width: 8rem;
    user-select: none;
    pointer-events: none;
    margin: auto;
    margin-bottom: 2rem;
  }
}

.branch_footer {
    display: block;
    width: 3rem;
    user-select: none;
    pointer-events: none;
    filter: opacity(50%);
    margin: 2rem auto;
}

.branch_menu {
    user-select: none;
    pointer-events: none;
    opacity: 0.08;
    width: 65px;
}

.seal {
    width: 10rem;
    float: right;
    margin: 1rem -2rem;
    pointer-events: none;
    user-select: none;
}

.photo1 {
    width: 100%;
    margin-bottom: 2rem;
}

.parallax {
    /* The image used */
    background-image: url('/resources/Images/photo1.png');

    /* Full height */
    height: 100vh; 

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.full_s_bg {
    height: 100vh;
    min-width: 300px;
    background-image: url("/resources/images/pattern_bw.svg");
    background-size: 40%;
    display: flex;
}

.full_s {
    height: 100vh;
    padding: 2rem;
    align-content: center;
    display: flex;
}

.language-selector {
    display: flex;
    margin: 3rem auto;
    width: fit-content;
}

.language {
    margin: 10px;
    color: #c1c1c1;
    cursor: pointer;
    border-bottom: solid black 1px;
    width: 0%;
    transition: .8s;
}

.language:hover {
    color: black;
    width: 74%;
}

.language-divider {
    margin: 10px;
    color: #a8a8a8;
}

.wrap {
    width: 100vw;
}

.menu-bar {
    display: flex;
    margin: 1rem 3rem;
    color: black;
    user-select: none;
}

.title-section{
    width: fit-content;
    margin: auto;
    font-family: 'Nanum Myeongjo', serif;
}

.title {
    color: black;
    font-family: 'Nanum Myeongjo', serif;
    font-size: 45px;
    font-weight: 800;
}

.title_and {
    color: black;
    font-family: 'Nanum Myeongjo', serif;
    font-size: 45px;
}

.hsection {
    margin-top: 5rem;
}

.option-section {
    display: flex;
    width: 100%;
    margin-top: .2rem;
    color: #c1c1c1;
    font-size: 16px;
    font-family: 'Tiro Devanagari Hindi', serif;
}

.option-wrap {
    margin-right: 2rem;
}

.option-button {
    cursor: pointer;
    margin-left: 1rem;
    border-bottom: solid black 1px;
    width: 0%;
    transition: .3s ease-in-out;
}

.option-button:hover {
    color: black;
    width: 74%;
}

.option-text {
    width: max-content;
}

.content {
    margin: auto;
    max-width: 1200px;
    padding: 3rem;
    background: white;
    transition: .2s ease-in-out;
}

.section_content{
    max-width: 1200px;
    width: 800px;
    margin: auto;
    padding: 3rem;
    transition: .2s ease-in-out;
}

.bold {
    font-weight: bold;
}

.text-reg {
    font-family: 'Tiro Devanagari Hindi', serif;
    font-size: 18px;
    margin: auto 2rem;
}

.highlight1 {
    color: #acacac;
    height: 100%;
    margin: auto;
    align-content: center;
    display: grid;
    font-family: 'Tiro Devanagari Hindi', serif;
    text-align: center;
    user-select: none;
}

.h1l2 {
    font-size: 15px;
}

.main-card {
    background: white;
    height: 92vh;
    max-width: 900px;
    width: 750px;
    border: double 12px black;
    margin: auto;
    display: block;
}

.quote_title {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 36px;
    margin: auto 2rem 1rem;
}

.quote_end {
    font-family: 'Tiro Devanagari Hindi', serif;
    font-size: 18px;
    margin: 1rem 2rem auto;
}

.gradient_anim {
    background: linear-gradient(-45deg, #fff, #f8f9f4, #bf73841f, #f5f5dc78);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    height: 100vh;
}
  
.section_title {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 25px;
    margin-bottom: 2rem;
    display: inline;
}

.section_page {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 12px;
    color: gray;
    display: inline;
    margin-left: 1rem;
}

.eventbox {
    border-bottom: solid 1px #b5b5b5;
    margin-bottom: 2rem;
}

.event_date {
    font-family: 'Nanum Myeongjo', serif;
    color: #b3b3b3;
    margin-bottom: 1rem;
}

.event_title {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 30px;
    display: inline;
}

.event_details {
    font-family: 'Tiro Devanagari Hindi', serif;
    color: #535353;
    margin: 1rem auto;
}

.event_time {
    color: #b5b5b5;
    font-family: 'Nanum Myeongjo', serif;
    font-size: 13px;
    display: inline;
    margin-left: 1rem;
}

.icon {
    width: 20px;
    display: inline;
    margin-right: .6rem;
}

.rsvp_button {
    font-family: 'Tiro Devanagari Hindi', serif;
    font-size: 18px;
    margin: 8rem auto auto;
    width: fit-content;
    background: rgba(0, 0, 0, 0);
    color: black;
    border: solid 2px black;
    padding: .6rem 5rem;
    transition: .2s ease-in-out;
    user-select: none;
    cursor: pointer;
}

.rsvp_button:hover {
    color: white;
    background-color: black;
}

.photo_bg {
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}
.trans_bg{
    align-items: center;
}

.trans_bg::after {  
    content: "";
    opacity: 0.03;
    background-image: url(/resources/images/pattern_bw.svg);
    background-size: 40%;
    position: fixed;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    z-index: -1;
}

.farewell_text {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 20px;
    margin-bottom: 2rem;
    text-align: center;
}

.farewell_title {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 20px;
    font-weight: 800;
    margin-top: 6rem;
    text-align: center;
}

  @keyframes gradient {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }

@media only screen and (max-width: 790px){    
    .no_overflow {
        overflow: clip;
    }

    .h1l2 {
        font-size: 14px;
        margin: 1rem;
    }
    
    .parallax {
        background-attachment: scroll;
    }

    .text-reg {
        margin: auto;
    }

    .content {
        padding: 1rem;
    }

    .section_content {
        padding: 0px;   
    }

    .full_s_bg {
        padding: 2rem;
    }

    .main-card {
        height: 85vh;
    }

    .quote_title {
        margin: auto auto 1rem;
    }

    .quote_end {
        margin: 1rem auto;
    }

    .event_time {
        display: block;
        margin: auto;
    }

    .event_details {
        margin: .56rem auto;
    }

    .photo_bg {
    background-attachment: scroll;
    }
}