.bg-paper { position: relative; }

.bg-paper > .inner { position: relative; }

.bg-paper::before { content: ""; position: absolute; left: 0px; top: 0px; width: 100%; height: 100%; z-index: 0; background-image: url("../../images/bg-paper.jpg"); background-repeat: repeat; background-position: left top; background-size: contain; background-attachment: scroll; background-origin: content-box; filter: brightness(106%); }

#card-banner { background-repeat: no-repeat; background-size: cover; aspect-ratio: 420 / 670; position: relative; padding: 16px; background-position: center bottom -80px; }

#card-banner > .inner { text-align: center; height: 100%; position: relative; border: 2px solid rgb(140, 2, 2); }

#card-banner::after { height: 40%; width: 100%; display: block; content: ""; position: absolute; bottom: 0px; left: 0px; background: linear-gradient(rgba(253,251,251,0),rgba(var(--color-primary-raw),0.2)),linear-gradient(rgba(253,251,251,0),rgba(var(--color-primary-raw),1)); }

#card-banner .happy-wedding-text { text-transform: uppercase; font-family: DFVN-Abygaer; letter-spacing: 5px; margin-bottom: 12px; margin-top: 16px; }

#card-banner .chuhy img { width: 80px; }

#card-banner .wedding-name { font-family: SourceSerifVariable; font-size: 50px; text-align: center; text-transform: uppercase; position: absolute; z-index: 1; bottom: 16px; left: 0px; width: 100%; }

#card-banner .wedding-name > span { display: block; position: relative; }

#card-banner .wedding-name > span:first-child { display: inline-block; position: relative; }

#card-banner .wedding-name > span:first-child::after { content: "&"; font-family: Beautiful-KT; opacity: 0.4; font-size: 160px; line-height: 0; }

#couple-images > .inner { text-align: center; padding-bottom: 50px; }

#couple-images .photo-card { display: inline-block; padding: 24px 5px 5px; background: rgb(255, 255, 255); }

#couple-images .photo-card .img { aspect-ratio: 9 / 13; background-position: center center; background-repeat: no-repeat; background-size: cover; width: 40vw; max-width: 190px; }

#couple-images .photo-card.groom { transform: rotate(-5deg); }

#couple-images .photo-card.bride { z-index: 1; position: relative; transform: rotate(10deg) translate(10px, 40px); }

#couple-images .photo-card.bride img { position: absolute; top: -40px; height: 50px; right: 5px; transform: rotate(-10deg); }

#card-info { padding: 16px 16px 230px; }

#card-info .parents { margin-top: 36px; margin-bottom: 36px; display: flex; align-items: start; justify-content: center; }

#card-info .parents.hide-titles .parent .name-title { display: none; }

#card-info .parents.reverse { flex-direction: row-reverse; }

#card-info .parents.reverse .parent { text-align: right; }

#card-info .parents.reverse .parent:first-child { text-align: left; }

#card-info .parents .parent { font-size: 14px; flex: 1 1 0%; }

#card-info .parents .parent:first-child { text-align: right; }

#card-info .parents .parent > div { text-align: center; display: inline-block; }

#card-info .parents .parent .label { font-size: 18px; font-weight: 500; text-transform: uppercase; font-family: Sunflora; }

#card-info .parents .v-divider { height: 80px; background-color: var(--text-color-primary); width: 1px; margin: 0px 24px; opacity: 0.5; }

#card-info .divider-img { text-align: center; }

#card-info .divider-img img { width: 100px; }

#card-info .greeting-text { text-transform: uppercase; text-align: center; margin: 30px 0px; }

#card-info .wedding-name { font-family: Sunflora; font-size: 50px; text-align: center; text-transform: uppercase; width: 100%; color: rgb(219, 201, 126); line-height: 1.3; margin-bottom: 30px; }

#card-info .wedding-name > span { display: block; position: relative; }

#card-info .wedding-name > span:first-child { display: inline-block; position: relative; }

#card-info .wedding-name > span:first-child::after { content: "&"; font-family: Beautiful-KT; font-size: 90px; line-height: 0; margin-left: 10px; }

#card-info .events { position: relative; }

#card-info .events .decor { position: absolute; left: -16px; height: 290px; top: -240px; }

#card-info .events.multi-events { display: flex; flex-direction: column; gap: 16px; }

#card-info .event-box { text-align: center; background-color: rgb(255, 255, 255); padding: 32px 50px; color: rgb(51, 51, 51); position: relative; }

#card-info .event-box .event-name { text-transform: uppercase; font-family: DFVN-Abygaer; font-size: 18px; color: var(--color-primary); }

#card-info .event-box .datetime-wrapper { color: var(--color-primary); line-height: 1; margin-bottom: 24px; }

#card-info .event-box .datetime-wrapper .time { text-transform: uppercase; font-family: Sunflora; font-size: 30px; }

#card-info .event-box .datetime-wrapper .date { text-transform: uppercase; font-family: Sunflora; font-size: 30px; }

#card-info .event-box .datetime-wrapper .lunar-date { font-family: SourceSerifVariable; margin-top: 10px; }

#card-info .event-box .location-wrapper { color: var(--color-primary); }

#card-info .event-box .location-wrapper .location-title { text-transform: uppercase; font-family: Sunflora; font-size: 20px; line-height: 1.2; }

#card-info .event-box .location-wrapper .location-address { font-family: SourceSerifVariable; }

#card-info .event-box .location-wrapper .map-btn { text-transform: uppercase; font-family: PHILOSOPHER; background-color: var(--color-primary); color: var(--text-color-primary); padding: 5px 12px 5px 5px; border-radius: 24px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; margin-top: 16px; }

#card-info .event-box .location-wrapper .map-btn .icon { background-color: var(--text-color-primary); width: 20px; height: 20px; text-align: center; border-radius: 10px; color: green; display: flex; align-items: center; justify-content: center; }

#card-info .event-box .text { font-family: SourceSerifVariable; margin-bottom: 12px; }

#card-lovestory { padding: 16px; position: relative; }

#card-lovestory .decor { position: absolute; right: 16px; width: 120px; bottom: -50px; z-index: 1; }

#card-lovestory > .inner { margin-top: -220px; background-repeat: no-repeat; background-size: cover; background-position: left top; padding-top: 24px; padding-bottom: 24px; }

#card-lovestory .section-title { text-align: center; color: var(--color-primary); font-family: Sunflora; font-size: var(--big-title-fs); margin-bottom: 12px; }

#card-lovestory .section-title > span { font-family: Beautiful-KT; line-height: 1; font-size: 60px; margin-right: 12px; }

#card-lovestory .frame-wrapper { position: relative; width: 240px; margin-left: auto; margin-right: auto; padding-bottom: 50px; background-size: cover; background-position: left bottom; }

#card-lovestory .frame-wrapper .bg { position: relative; width: 100%; }

#card-lovestory .frame-wrapper .img { position: absolute; top: 0px; right: 5px; width: 85%; object-fit: cover; object-position: center top; aspect-ratio: 1 / 1; display: block; z-index: 1; }

#card-lovestory .frame-wrapper .decor { position: absolute; width: 65px; bottom: 100px; left: -45px; }

#card-lovestory .text { margin-top: 12px; text-align: center; font-size: 14px; color: rgb(51, 51, 51); font-family: SourceSerifVariable; }

#card-calendar { position: relative; padding-bottom: 24px; }

#card-calendar > .inner { padding: 24px 16px; }

#card-calendar .decor { position: absolute; right: 0px; width: 35px; bottom: -50px; z-index: 1; }

#card-calendar .calendar-header { font-family: Sunflora; font-size: var(--big-title-fs); color: var(--color-primary); text-align: center; margin-bottom: 12px; }

#mini-calendar table { border-spacing: 4px; border-collapse: separate; --tb-color-wedding-day: var(--color-primary); border-bottom: 0px; font-family: PHILOSOPHER; }

#mini-calendar table .calendar-month { display: none !important; }

#mini-calendar table tr th { background-color: var(--color-primary); border-color: var(--color-primary); border-radius: 8px; color: var(--text-color-primary); font-size: 80%; padding: 12px 0px; }

#mini-calendar table tr td { border: 0.5px solid rgb(223, 223, 223); border-radius: 8px; }

#mini-calendar table tr td:has(> div.today) { border-color: transparent; }

#mini-calendar table tr td.empty-date { opacity: 0.3; }

#card-timeline { padding: 24px 16px; }

#card-timeline > .inner { background-color: var(--color-primary); color: var(--text-color-primary); padding: 50px 20px; position: relative; }

#card-timeline .decor { width: 140px; bottom: 0px; right: 0px; position: absolute; }

#card-timeline .timeline-title-wrapper { text-align: center; margin-top: -80px; }

#card-timeline .timeline-title-wrapper .section-title { background-image: url("../images/timeline-title-bg.png"); display: inline-block; width: 80%; max-width: 250px; color: var(--color-primary); font-family: Sunflora; font-size: 28px; text-align: center; background-position: center center; background-size: contain; background-repeat: no-repeat; padding: 12px 16px; }

#card-timeline .timeline-wrapper { margin-top: 24px; position: relative; text-align: center; }

#card-timeline .timeline-wrapper > div { position: relative; text-align: left; display: inline-flex; flex-direction: column; }

#card-timeline .timeline-wrapper > div::before { content: ""; height: 100%; width: 1px; background-color: rgb(255, 255, 255); display: block; position: absolute; top: 0px; left: 66px; opacity: 0.5; }

#card-timeline .timeline-wrapper .timeline-line { display: inline-flex; align-items: center; gap: 16px; }

#card-timeline .timeline-wrapper .timeline-line .icon { width: 66px; position: relative; }

#card-timeline .timeline-wrapper .timeline-line .icon::before { content: ""; width: 10px; height: 10px; border-radius: 5px; background-color: rgb(255, 255, 255); position: absolute; top: 50%; right: -5px; transform: translateY(-50%); }

#card-timeline .timeline-wrapper .timeline-line .icon img { width: 50px; }

#card-timeline .timeline-wrapper .timeline-line .content { flex: 1 1 0%; font-size: 20px; }

#card-timeline .timeline-wrapper .timeline-line .content .time { font-family: Sunflora; }

#card-timeline .timeline-wrapper .timeline-line .content .text { font-family: SourceSerifVariable; }

#card-dresscode { position: relative; text-align: center; margin-top: 50px; margin-bottom: 20px; }

#card-dresscode .dresscode-title { font-size: var(--big-title-fs); text-align: center; margin-bottom: 24px; color: var(--color-primary); font-family: Sunflora; }

#card-dresscode .dresscode-wrapper { position: relative; display: flex; align-items: center; justify-content: center; gap: 16px; }

#card-dresscode .dresscode-wrapper .code-box { position: relative; width: 40px; height: 40px; box-shadow: rgb(0, 0, 0) 0px 15px 20px -15px; background-color: var(--color); border-radius: 40px; border: 2px solid rgb(255, 255, 255); margin-bottom: 5px; }

#card-gallery .gallery-header { position: relative; }

#card-gallery .gallery-header .chuhy { position: absolute; width: 60px; top: 24px; left: 50px; }

#card-gallery .gallery-header .section-title { position: absolute; bottom: 100px; right: 24px; font-size: 50px; text-transform: uppercase; line-height: 1.3; text-align: right; }

#card-gallery .gallery-header .section-title > span { font-family: Photograph-Signature; text-transform: none; font-size: 65px; line-height: 0; margin-right: 12px; }

#card-gallery .gallery-photos-wrapper { padding: 0px 16px; }

#card-gallery .gallery-grid-photos { position: relative; margin-top: -65px; display: flex; gap: 10px; margin-bottom: 40px; }

#card-gallery .gallery-grid-photos > div { width: 50%; }

#card-gallery .gallery-grid-photos > div:last-child { transform: translateY(24px); }

#card-gallery .gallery-grid-photos .photo { width: 100%; display: block; margin-bottom: 10px; }

#card-gallery .gallery-grid-photos .photo:last-child { margin-bottom: 0px; }

#card-gallery .gallery-grid-photos .photo img { aspect-ratio: 1 / 1; display: block; border: 4px solid rgb(255, 255, 255); object-fit: cover; object-position: center center; }

#card-gallery .single-photo img { border: 4px solid rgb(255, 255, 255); }

#card-gallery .photo-grid { column-count: 2; column-gap: 5px; }

#card-gallery .photo-grid .photo { width: 100%; display: block; margin-bottom: 5px; }

#card-gallery .photo-grid .photo img { width: 100%; display: block; }

#card-gallery .photo-grid + .view-more { margin-top: 50px; }

#card-gallery .photo-grid[data-masonry] { column-gap: unset; column-count: unset; margin: 0px -5px; }

#card-gallery .photo-grid[data-masonry] .photo { padding: 5px; width: 50%; margin-bottom: 0px; }

#card-gallery .photo-grid[data-masonry] .photo img { height: auto; border: 3px solid rgb(255, 255, 255); }

#card-comments { --text-color-primary: #333; color: rgb(51, 51, 51); font-family: SourceSerifVariable; }

#card-comments > .inner { padding: 24px 16px; }

#card-comments .decor-flower { transform: rotate(-35deg); width: 80px; display: block; margin: auto; }

#card-comments .section-title { font-family: Sunflora; font-size: var(--big-title-fs); color: var(--color-primary); text-align: center; margin-bottom: 12px; margin-top: 12px; }

#card-comments .section-subtitle { text-align: center; }

#card-comments form.comment-form { background-color: transparent; padding: 0px; }

#card-comments form.comment-form .btn { width: 100%; border-radius: 24px; font-family: PHILOSOPHER; }

#card-comments form.comment-form .form-control { border: 1px solid rgba(var(--color-primary-raw),0.5); border-radius: 24px; padding: 12px 20px; }

#card-comments .comment-list { padding: 0px; border: 0px; margin-top: 16px; }

#card-footer { background-repeat: no-repeat; background-position: center top; background-size: cover; position: relative; aspect-ratio: 400 / 680; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }

#card-footer .chuhy { width: 60px; top: 24px; left: 32px; position: absolute; }

#card-footer > .inner { padding: 200px 16px 32px; position: relative; text-align: center; background: linear-gradient(rgba(253,251,251,0),rgba(var(--color-primary-raw),0.2)),linear-gradient(rgba(253,251,251,0),rgba(var(--color-primary-raw),1)); }

#card-footer > .inner .text { font-size: 14px; }

#card-footer > .inner .thankyou { margin-top: 12px; font-family: Sunflora; font-size: var(--big-title-fs); }

#countdown { margin-bottom: 24px; background-color: rgb(255, 255, 255); border-radius: 24px; padding: 20px 20px 8px; }

#countdown .countdown-title { font-family: Photograph-Signature; font-size: 55px; line-height: 1; color: rgb(51, 51, 51); text-align: center; }

#countdown .countdown-inner { display: flex; align-items: center; justify-content: center; color: var(--color-primary); font-family: Sunflora; }

#countdown .box, #countdown .colon { font-size: 33px; color: var(--color-primary); }

#countdown .colon { padding: 0px 12px; }

#countdown .box { font-size: 36px; letter-spacing: 1px; text-align: center; min-width: 48px; }

#card-gift > .inner { padding: 32px 16px; }

#card-gift .wedding-present-wrapper { position: relative; background-color: var(--color-primary); color: var(--text-color-primary); border-radius: 24px; text-align: center; }

#card-gift .wedding-present-wrapper .wedding-present-content { padding: 16px; position: relative; border-radius: 24px; overflow: hidden; }

#card-gift .wedding-present-wrapper .top-band { position: absolute; height: 40px; left: 50%; transform: translateX(-50%) translateY(-20px); }

#card-gift .wedding-present-wrapper .section-title { padding-top: 16px; font-family: PHILOSOPHER; font-size: var(--big-title-fs); text-transform: uppercase; }

#card-gift .wedding-present-wrapper .text { font-family: SourceSerifVariable; font-size: 20px; }

#card-gift .wedding-present-wrapper .present-box { margin-top: 40px; position: relative; }

#card-gift .wedding-present-wrapper .present-box .present-box-inner img { width: 180px; }

#card-gift .wedding-present-wrapper .decor1 { position: absolute; width: 120px; top: 50%; left: -40px; }

#card-gift .wedding-present-wrapper .decor2 { position: absolute; right: -40px; bottom: 0px; width: 120px; transform: rotate(45deg); }

#card-gift .wedding-present-wrapper .decor3 { position: absolute; width: 120px; top: 60%; right: 15%; }

@font-face { font-family: Photograph-Signature; src: url("../font/1FTV-Photograph-Signature.otf"); }

@font-face { font-family: DFVN-Abygaer; src: url("../font/DFVN-Abygaer.otf"); }

@font-face { font-family: EmojiOneColor; src: url("../font/EmojiOneColor.otf"); }

@font-face { font-family: PHILOSOPHER; src: url("../font/PHILOSOPHER-BOLD.TTF"); }

@font-face { font-family: SourceSerifVariable; src: url("../font/SourceSerifVariable-Roman.otf"); }

@font-face { font-family: Sunflora; src: url("../font/SVN-Sunflora.otf"); }

@font-face { font-family: Beautiful-KT; src: url("../font/UTM-Beautiful-KT.ttf"); }

@font-face { font-family: UVNAnhHai; src: url("../font/UVNAnhHai_R.TTF"); }

@font-face { font-family: SVN-Aptima; src: url("../font/SVN-Aptima.ttf"); }

@font-face { font-family: SVN-Aptima; src: url("../font/SVN-AptimaItalic.ttf"); font-style: italic; }

@font-face { font-family: SVN-Aptima; src: url("../font/SVN-AptimaBold.ttf"); font-weight: 700; }

@font-face { font-family: SVN-Bestagrach; src: url("../font/SVN-Bestagrach.otf"); }

@font-face { font-family: SVN-Daisy-Lau; src: url("../font/SVN-Daisy-Lau.otf"); }

body { background-color: rgb(51, 51, 51); font-family: DFVN-Abygaer; font-size: 16px; --color-primary: rgb(140, 3, 3); --text-color-primary: rgb(255, 255, 255); --color-primary-raw: 140,
  3,
  3; --big-title-fs: 32px; }

body a { text-decoration: none; color: inherit; }

body .btn-link { text-decoration: none; color: rgb(63, 81, 181); }

body img { max-width: 100%; }

.card-wrapper { max-width: 480px; margin: auto; background-color: var(--color-primary); overflow: hidden; color: var(--text-color-primary); }

#card-banner { background-position: center bottom; }

.bg-paper::before { background-image: url("../images/bg-paper.jpg") !important; }

.present-box-inner { display: inline-block; cursor: pointer; }

.present-box-inner:hover img { animation-play-state: paused; }

.secondary-font-style { --big-title-fs: 48px; }

.secondary-font-style #card-banner .wedding-name { font-family: SVN-Bestagrach; }

.secondary-font-style #card-info .parents .parent { font-family: SVN-Aptima; font-style: italic; }

.secondary-font-style #card-info .parents .parent .label { font-family: SVN-Bestagrach; font-style: normal; }

.secondary-font-style #card-info .wedding-name { font-family: SVN-Bestagrach; }

.secondary-font-style #card-info .event-box .datetime-wrapper .time { font-family: SVN-Bestagrach; font-size: 32px; letter-spacing: 2px; margin-bottom: 5px; }

.secondary-font-style #card-info .event-box .datetime-wrapper .date { font-family: SVN-Bestagrach; font-size: 32px; letter-spacing: 6px; }

.secondary-font-style #card-info .event-box .datetime-wrapper .lunar-date { font-family: SVN-Aptima; }

.secondary-font-style #card-info .event-box .location-wrapper .location-title { font-family: SVN-Bestagrach; }

.secondary-font-style #card-info .event-box .location-wrapper .location-address { font-family: SVN-Aptima; }

.secondary-font-style #card-info .event-box .text { font-family: SVN-Aptima; }

.secondary-font-style #card-lovestory .section-title { font-family: SVN-Daisy-Lau; }

.secondary-font-style #card-lovestory .text { font-size: 15px; font-family: SVN-Aptima; }

.secondary-font-style #card-calendar .calendar-header { font-family: SVN-Daisy-Lau; }

.secondary-font-style #card-timeline .timeline-title-wrapper .section-title { font-family: SVN-Daisy-Lau; font-size: 38px; }

.secondary-font-style #card-timeline .timeline-wrapper .timeline-line .content .text { font-family: SVN-Aptima; }

.secondary-font-style #card-dresscode .dresscode-title { margin-bottom: 5px; line-height: 1; font-family: SVN-Daisy-Lau; }

.secondary-font-style #card-gallery .gallery-header .section-title { font-family: SVN-Daisy-Lau; font-size: 60px; text-transform: none; line-height: 1; }

.secondary-font-style #card-gallery .gallery-header .section-title > span { font-family: inherit; text-transform: none; font-size: inherit; line-height: inherit; margin-right: 12px; }

.secondary-font-style #card-comments { font-family: SVN-Aptima; }

.secondary-font-style #card-comments .section-title { font-family: SVN-Daisy-Lau; }

.secondary-font-style #card-footer { font-family: SVN-Aptima; }

.secondary-font-style #card-footer > .inner .thankyou { font-family: SVN-Daisy-Lau; }

.secondary-font-style #card-gift .wedding-present-wrapper .section-title { font-family: SVN-Daisy-Lau; text-transform: none; }

.secondary-font-style #card-gift .wedding-present-wrapper .text { font-family: SVN-Aptima; font-size: 18px; }

.secondary-font-style #card-gift .wedding-present-wrapper .present-box { margin-top: 40px; position: relative; }

.secondary-font-style #card-gift .wedding-present-wrapper .present-box .present-box-inner img { width: 180px; }

.greeting-text.has-guest .guest-name-wrapper .guest-name > div { color: rgb(219, 201, 126); --color-primary: rgb(219, 201, 126); }

#card-info .event-box .location-wrapper .map-btn { min-width: 120px; }

#card-banner .happy-wedding-text { opacity: 0.8; }

#card-banner .chuhy img { width: 65px; opacity: 0.8; }

@media screen and (max-width: 400px) {
  #card-banner .chuhy img { width: 50px; }
}