@font-face {
    font-family: 'Baskerville';
    src: url('https://ximenayrafael.wedds.site/resources/fonts/Baskerville-regular') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Baskerville-bold';
    src: url('https://ximenayrafael.wedds.site/resources/fonts/Baskerville-Bold') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --background-color: #EAE4D4;
}

html {
    scroll-snap-type: y mandatory;
    max-width: 1920px;
    min-width: 350px;
    margin: 0px;
    overflow-x: clip;
    font-family: 'Baskerville', serif;
    scroll-behavior: smooth;
    background-color: var(--background-color);
}

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

/* Links */
a {
    color: unset;
    text-decoration: none;
}

.italic {
    font-style: italic;
}

.bold {
    font-weight: bold;
}

.link {
    font-style: italic;
    text-decoration: underline;
    margin: auto auto 5px auto;
    cursor: pointer;
}

.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: 200px;
    user-select: none;
    pointer-events: none;
    margin: auto;
}

.logo2 {
    width: 90px;
    user-select: none;
    pointer-events: none;
    margin: auto;
    display: block;
}

.logo3 {
    width: 70px;
    user-select: none;
    pointer-events: none;
    margin: auto;
    display: block;
}

.logo4 {
    width: 75px;
    user-select: none;
    pointer-events: none;
    margin: auto;
    display: block;
}

.deboss {
    text-shadow: 0 2px 3px rgba(255, 255, 255, 0.3), 0 -1px 1px rgba(0, 0, 0, 0.2);
    cursor: default;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

.wordmark {
    font-size: 25px;
    letter-spacing: 20px;
    text-align: center;
    color: rgba(0, 0, 0, 0.02);
}

.title-date {
    text-align: center;
    letter-spacing: 5px;
    font-size: 24px;
    margin: 10px auto;
}

.title-time {
    text-align: center;
    letter-spacing: 5px;
    font-size: 18px;
    margin: 20px;
}

.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;
}


.full_s_bg {
    height: 100vh;
    min-width: 300px;
    background-image: url("/resources/images/photos/xrbg.webp");
    background-size:cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
}

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

.wrap {
    width: 100vw;
}

.menu-bar {
    display: flex;
    position: sticky;
    top: 0px;
    background-color: rgba(255, 255, 255, 0.55);
    align-items: center;
    height: 45px;
    z-index: 10;
    width: 100vw;
}

.menu-logo {
    width: 40px;
    user-select: none;
    pointer-events: none;
    margin: auto 15px;
}

.web-menu-options {
    display: flex;
    margin: auto;
    height: 45px;
}

.single-menu-option {
    font-size: 15px;
    letter-spacing: 2px;
    padding: 10px 25px;
    height: 100%;
    align-content: center;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    transition: .5s;
}

.single-menu-option:hover {
    background-color: #dad3c0;
    height: 120%;
}

.mobile_menu_screen_bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f5f3ec;
    align-items: center;
    justify-content: center;
    z-index: 9;
    padding: 50px;
    font-family: "Lovelace";
    font-size: 22px;
    align-content: center;
    transition: all .2s ease-in-out;
    display: none;
}

.mobile_menu_screen_option {
    display: none;
}

.title-phrase {
    font-size: 18px;
    letter-spacing: 1px;
    text-align: center;
    margin: 165px 130px;
}

.title-section{
    width: fit-content;
    margin: auto;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    pointer-events: none;
}

.title {
    color: black;
    font-size: 30px;
    letter-spacing: 15px;
}

.hsection {
    height: 60vh;
}

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

.highlight1 {
    height: 100%;
    margin: auto;
    align-content: center;
    display: grid;
    text-align: center;
    user-select: none;
}

.quote_end {
    font-size: 18px;
    margin: 1rem 2rem auto;
}
  
.section_title {
    font-size: 25px;
    letter-spacing: 8px;
    text-align: center;
    margin: auto;
}

.event_date {
    margin-bottom: 40px;
    font-size: 18px;
    text-align: center;
    letter-spacing: 5px;
}

.eventbox {
    margin-bottom: 2rem;
}


.event_title {
    font-size: 28px;
    margin: auto auto 5px auto;
}

.event_details {
    font-size: 24px;
    margin: auto auto 5px auto;
}

.event_time {
    font-size: 20px;
    margin: auto auto 5px auto;
    direction: initial;
}

.event_address {
    font-size: 18px;
    margin: auto auto 5px auto;
}

.rsvp_button {
    display: block;
    font-size: 18px;
    margin: 60px 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;
}

.farewell_text {
    font-size: 20px;
    margin-bottom: 2rem;
    text-align: center;
}

.farewell_title {
    font-size: 16px;
    margin: 80px auto;
    text-align: center;
    letter-spacing: 12px;
}

.animated-element {
    opacity: 0; /* Initial opacity */
    transform: translateY(20px); /* Start below its final position */
    transition: 1.5s ease-out; 
}

.animated-element.start {
    opacity: 1; /* Initial opacity */
    transform: translateY(0px); /* Start below its final position */
}

.animated-background {
    opacity: 0; /* Initial opacity */
    transition: 1.5s ease-out; 
}

.animated-background.start {
    opacity: 1;
}

.fade-in-element {
    opacity: 0;
    transition: opacity 1s ease-out;

}

.fade-in-element.visible {
    opacity: 1;
}

.xc-cloth {
    background-image: url("/resources/images/others/xc-cloth.webp");
    background-size:cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.card-section {
    display: flex;
    flex-wrap: wrap;
    margin: 40px auto auto;
    justify-content: center;
}
.card-wrap {
    width: 260px;
    height: 260px;
    padding: 5px;
    margin: 15px;
    display: inline-block;
    background-image: url("/resources/images/others/xr-card.webp");
    background-size:cover;
    background-position: center center;
    background-repeat: no-repeat;
    box-shadow: 0px 1px 10px 0px gray, inset 13px 0px 45px -30px gray;
    transition: .2s ease-in-out;
    cursor: pointer;
    opacity: .8;
    z-index: 1;
}

.card-wrap:hover {
    opacity: 1;
}

.outer-card {
    border: 1px solid #ddd;
    box-shadow: inset 3px 3px 5px rgba(0, 0, 0, 0.1), /* Debossed shadow */
    inset -3px -3px 5px rgba(255, 255, 255, 0.4);
    padding: 7px;
    height: 100%;
}

.inner-card {
    border: 1px solid #ddd;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2),      /* Outer shadow for depth */
    -3px -3px 5px rgba(255, 255, 255, .5);
    padding: 15px;
    text-align: center;
    font-size: 22px;
    height: 100%;
    align-content: center;
}

.card-description {
    font-size: 18px;
}

.hotel-wrap {
    margin: 50px auto;
}

.textured-card {
    background-image: url("/resources/images/others/xr-card.webp");
    background-size: contain;
    background-position: top center;
    background-repeat: repeat;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2),      /* Outer shadow for depth */
    -3px -3px 5px rgba(255, 255, 255, .5);
    border-radius: 8px;
    min-height: 85%;
    align-content: center;
}

.center-text {
    text-align: center;
    display: block;
}

.hotel-image {
    width: 100%;
    max-width: 500px;
    display: block;
    margin: auto auto 30px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    pointer-events: none;
}

.icon {
    background-image: url("/resources/images/others/logos.svg?1");
    width: 60px;
    height: 60px;
    display: block;
    background-size: 400px 400px;
    background-repeat: no-repeat;
}

.icon-ceremony {
    background-position: -88px -339px
}

.icon-coctel {
    background-position: -171px -339px
}

.icon-torna {
    background-position: -255px -328px
}
.icon-cena {
    background-position: -341px -325px
}
.icon-baile {
    background-position: -255px -244px
}


.gift-icon {
    background-image: url("/resources/images/others/gifts.svg?1");
    width: 80px;
    height: 80px;
    display: block;
    margin: auto;
    background-size: 250px 180px;
    background-repeat: no-repeat;
}

.gift-icon-1 {
    background-position: 10px 5px
}
.gift-icon-2 {
    background-position: -84px 5px
}

.gift-icon-3 {
    background-position: -178px 5px
}
.gift-icon-4 {
    background-position: 10px -100px
}
.gift-icon-5 {
    background-position: -84px -100px
}

.gift-icon-6 {
    background-position: -178px -100px
}

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


/* Small screens */
@media only screen and (max-width: 790px){    

    .logo1 {
        width: 150px;
    }

    .title {
        font-size: 22px;
        letter-spacing: 8px;
    }

    .title-phrase{
        margin: 60px auto;
    }

    .web-menu-options {
        display: none;
    }

    .mobile-menu-options {
        display: flex;
        margin: auto 10px auto auto 
    }

    .burger-menu {
        width: 25px;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 20px;
        margin: auto 22px;
        z-index: 10;
    }

    .bar {
        width: 100%;
        height: 2px;
        background-color: #717171;
        transition: all 0.3s ease;
    }

    .burger-menu.open .bar:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }

    .burger-menu.open .bar:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.open .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .section_content {
        padding: 30px 0px;
    }

    .section_content_top {
        margin: 50px auto;
    }

    .full_s_bg {
        padding: 2rem;
    }

    .photo_bg {
        background-attachment: scroll;
    }

    .mobile_menu_screen_bg {
        opacity: 0;
        visibility: hidden; /* Initially hidden */
        display: block;
    }
    
    .mobile_menu_screen_bg.open {
        visibility: visible; /* Make visible */
        opacity: 1;
    }
    
    .mobile_menu_screen_option {
        display: block;
        padding: 20px;
        color: #5b5148;
    }

    .eventbox {
        margin: 32px 16px;
    }

    .event_title {
        font-size: 24px;;
    }

    .event_details {
        font-size: 20px;
    }

    .event_address {
        font-size: 17px;
    }

    .card-wrap {
        width: 240px;
        height: 240px;
        margin: 25px;
    }

    .itinerary-padding {
        padding: 40px 0px 50px;
    }

    .section_content.no-padding-mobile {
        padding: 0px;
    }
}