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

:root {
    --main-text:white;
    --secondary-text: rgba(255, 255, 255, 0.63);
    --main-inverted: black;
}

html {
    scroll-snap-type: y mandatory;
    max-width: 1920px;
    min-width: 350px;
    margin: 0px;
    overflow-x: clip;
    color: var(--main-text);
    background-color: #C18A6B;
}

body {
    margin: 0px;
    height: 100%;
    font-size: 2.7vh;
}

hr {
    border: none;
    height: 1px;
    /* Set the hr color */
    color: var(--secondary-text);  /* old IE */
    background-color: var(--secondary-text);  /* Modern Browsers */
}

.scroll_section {
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.block_smooth_scroll {
    scroll-snap-align: none;
    scroll-snap-stop: none;
}

.title_box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 320px;
}

.logo {
    width: 11rem;
    user-select: none;
    pointer-events: none;
    filter: invert(1);
    object-fit: cover;
    margin: 0px auto auto;
}

.logo-reg-farewell {
    margin: 10vh auto;
    display: block;
}

.spacer {
    height: 72vh;
}

.title_text_wrap {
    margin: auto;
}

.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/photos/cover.jpg");
    background-size: 40%;
    display: flex;
}

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

.wrap {
    width: 100vw;
    scroll-behavior: smooth;
}

.title-section{
    width: fit-content;
    margin: auto;
    font-family: 'Taviraj', serif;
    height: 80vh;
}

.title {
    color: white;
    font-family: 'Taviraj', serif;
    font-size: 21px;
    margin: -10px auto;
    text-align: left;
}

.title_and {
    color: #b7b7b7;
    font-family: 'Taviraj', serif;
    font-size: 90px;
    margin: -30px 30px;
}

.date_place {
    color: white;
}

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

.content {
    margin: auto;
    max-width: 1200px;
    transition: .2s ease-in-out;
}

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

.section_content_centered {
    margin: auto;
}

.bold {
    font-weight: bold;
}

.text-reg {
    font-family: 'Cormorant', serif;
    margin: auto;
}

.highlight1 {
    height: 100%;
    margin: auto;
    align-content: center;
    display: grid;
    font-family: 'Taviraj', serif;
    text-align: center;
    user-select: none;
}

.main-card {
    height: 100vh;
    max-width: 900px;
    width: 750px;
    display: block;
    margin: auto;
}

.couple_names_2 {
    font-family: 'Taviraj', serif;
    font-size: 4.2vh;
    margin: auto auto 2vh;
}

.quote_end {
    font-family: 'Cormorant', serif;
    margin: 10px auto;
}

.gradient_anim {
    background: linear-gradient(-45deg, #fff, #f8f9f4, #bf73841f, #f5f5dc78);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    height: 100vh;
}

.countdown_space_wrapper {
    margin: 8vh auto auto;
}

.section_title {
    font-family: 'Taviraj', serif;
    font-size: 4.2vh;
    margin-bottom: 2rem;
    display: inline;
}

.eventbox {
    margin-bottom: 3vh;
}

.eventbox:last-of-type {
    margin-bottom: 0vh;
}

.event_date {
    font-family: 'Taviraj', serif;
    font-size: 2.7vh;
    color: #000000a1;
    margin-bottom: -12px;
}

.event_title {
    font-family: 'Taviraj', serif;
    font-size: 4.2vh;
    line-height: 4.2vh;
    margin: 2vh auto;
    display: block;
    color: black;
}

.event_details {
    font-family: 'Cormorant', serif;
    font-size: 2.6vh;
    color: #000000a1;
    margin: 1vh auto;
    transition: .5s
}

.event_location {
    font-family: 'Cormorant', serif;
    font-size: 3vh;
    color: #000000a1;
    margin: 1vh auto;
}

.event_time {
    font-family: 'Taviraj', serif;
    font-size: 2.2vh;
    color: #000000a1;
    margin-top: -2vh;
}

.link_section {
    text-decoration: none;
    cursor: pointer;
    transition: .2s;
}

.link_section:hover .event_details {
    color: crimson;
}

.icon {
    width: 2.5vh;
    display: inline;
    margin-right: .6rem;
}

.rsvp_button {
    font-family: 'Cormorant', serif;
    font-size: 2.7vh;
    text-align: center;
    font-weight: bold;
    margin: 8vh auto auto;
    width: fit-content;
    background: rgba(0, 0, 0, 0);
    color: #000000a1;
    border: solid 2px #000000a1;
    padding: .6rem 5rem;
    transition: .2s ease-in-out;
    user-select: none;
    cursor: pointer;
    display: block;
    text-decoration: none;
}

.rsvp_button:hover {
    color: black;
    background-color: var(--main-text);
}

.inverted_button {
    color: #ffffffa1;
    border: solid 2px #ffffffa1;
}

.location_icon {
    margin-right: 7px;
    font-size: 12px;
}

.reserve_button {
    font-family: 'Cormorant', serif;
    font-size: 2.6vh;
    text-decoration: none;
    color: white;
    border: solid 1px white;
    padding: 5px 10px;
    margin-top: 25px;
    display: block;
    width: fit-content;
    transition: .2s;
}


.reserve_button:visited {
    color: white;
    border: solid 1px white;
}

.reserve_button:hover {
    color: crimson;
    border: 1px solid crimson;
}

.photo_bg {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.main_photo {
    background-position: right;
}

.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: 'Cormorant', serif;
    color: white;
    margin-bottom: 2rem;
    text-align: center;
}

.farewell_signature {
    font-family: 'Taviraj', serif;
    color: white;
    margin-top: 6vh;
    text-align: center;
}

/* MENU */
.sticky_menu {
    position: sticky;
    top: 0;
    background: #00000047;
    color: #aaa;
    max-height: 60px;
    overflow-x: scroll;
    overflow-y: clip;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 0px 25px;
}

.scrollable-menu {
    width: max-content;
    cursor: pointer;
}

.scrollable-menu-option {
    text-decoration: none;
    display: inline-block;
    color: #0000007a;
    padding: 15px 25px;
    font-family: 'Taviraj', serif;
    font-size: 2.2vh;
    user-select: none;
    transition: .2s;
    cursor: pointer;
}

.scrollable-menu-option-selected {
    color: white;
}

.pinterest_board_title_wrapper {
    width: 100%;
    margin: auto;
    padding: 10px;
}

.pinterest_title {
    font-family: 'Taviraj', serif;
    font-size: 3.2vh;
    color: var(--main-text);
}

.small_button {
    padding: 5px;
    width: fit-content;
    margin: 1vh 0px 2vh;
    user-select: none;
    cursor: pointer;
    transition: .5s;
}

.small_button:hover {
    color: crimson;
}

.hotel_image {
    width: 100%;
    height: 35vh;
    object-fit: cover;
    object-position: center;
}

.wrong_password {
    font-family: 'Cormorant', serif;
    font-size: 2vh;
    color: crimson;
}

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

/* Smaller size screens */
/* @media (max-height: 668px){
    .scroll_section {
        scroll-snap-align: none;
        scroll-snap-stop: none;
    }

    .full_s {
        min-height: 100vh;
        height: auto;
    }
} */

/* Tablet Portrait and Landscape */
@media (min-width: 768px) and (max-width: 1023px) {
    .sticky_menu {
        overflow-y: clip;
        overflow-x: clip;
    }

    .logo-reg-farewell {
        margin: 10vh auto;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .title {
        font-size: 45px;
    }

    .title_box {
        width: auto;
    }

    .title-section {
        margin: initial;
    }

    .logo {
        margin: auto;
        width: 250px;
    }

    .photo_bg {
        background-position: center;
        background-attachment: fixed;
    }

    .photo_bg_top {
        background-position: top;
    }

    .parallax {
        background-attachment: scroll;
    }

    .no_overflow {
        overflow: clip;
    } 

    .section_content {
        padding: 0px;   
    }

    .sticky_menu {
        overflow-y: clip;
        overflow-x: clip;
    }

    .logo-reg-farewell {
        margin: 10vh auto;
    }

    .pinterest_board_title_wrapper {
        width: 50%;
    }
}