@font-face {
  font-family: "Updock";
  src: url("font/Updock/Updock-Regular.ttf") format("truetype"); /* Path to your font file */
}
@font-face {
  font-family: "Cormorant";
  src: url("font/Cormorant_SC/CormorantSC-Regular.ttf") format("truetype"); /* Path to your font file */
}
@font-face {
  font-family: "Gotu";
  src: url("font/Gotu/Gotu-Regular.ttf") format("truetype"); /* Path to your font file */
}

@font-face {
  font-family: "handwriting";
  src: url("./font/SVN-Betalisa.otf") format("truetype"); /* Path to your font file */
}

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

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

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

:root {
  --max-width: 1024px;
  /* color */
  --primary-color: #ff095b;
  --bg: #fff6f9;
  --second-color: #e5ab63;
  --text-white: #fff;
  --overlay: black;
  --text-black: ;
  --body-bg: ;
  --main-bg: ;
  --box-bg: ;
  --heart-color: #e85e5e;
  --white-color: #ffffff;
  --dress-code-01: #ffffff;
  --dress-code-02: #ef9a9a;
  --dress-code-03: #000000;
  --dress-code-04: #fffdd0;

  /* fontsize */
  --fs-1: ;
  --fs-2: 40px;
  --fs-3: 32px;
  --fs-4: ;
  --fs-5: ;
  --fs-6: ;
  --fs-7: ;
  /* font-family bloger*/
  /* --script-font: 'Ephesis', cursive;
    --main-font:'Be Vietnam Pro', sans-serif ;
    --title-font:'Chonburi', serif; */
  /* font-family */
  --script-font: script-font;
  --main-font: main-font;
  --title-font: title-font;
  --hand-writing-font: handwriting;
  /* space */
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-54: 54px;
  --space-80: 80px;
  /* section margin and padding */
  --section-margin: 120px;
  --section-padding: 40px;
  /* effect */
  --shadow: ;
}

/* ==== RESER CSS ==== */
*:where(
    :not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)
  ) {
  all: unset;
  display: revert;
}

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

/* Fix mobile Safari increase font-size on landscape mode */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Reapply the pointer cursor for anchor tags */
a,
button {
  cursor: revert;
}

/* Remove list styles (bullets/numbers) */
ol,
ul,
menu,
summary {
  list-style: none;
}

/* For images to not be able to exceed their container */
img {
  max-inline-size: 100%;
  max-block-size: 100%;
}

/* removes spacing between cells in tables */
table {
  border-collapse: collapse;
}

/* Safari - solving issue when using user-select:none on the <body> text input doesn't working */
input,
textarea {
  -webkit-user-select: auto;
}

/* revert the 'white-space' property for textarea elements on Safari */
textarea {
  white-space: revert;
}

/* minimum style to allow to style meter element */
meter {
  -webkit-appearance: revert;
  appearance: revert;
}

/* preformatted text - use only for this feature */
:where(pre) {
  all: revert;
  box-sizing: border-box;
}

/* reset default text opacity of input placeholder */
::placeholder {
  color: unset;
}

/* fix the feature of 'hidden' attribute.
   display:revert; revert to element instead of attribute */
:where([hidden]) {
  display: none;
}

/* revert for bug in Chromium browsers
   - fix for the content editable attribute will work properly.
   - webkit-user-select: auto; added for Safari in case of using user-select:none on wrapper element*/
:where([contenteditable]:not([contenteditable="false"])) {
  -moz-user-modify: read-write;
  -webkit-user-modify: read-write;
  overflow-wrap: break-word;
  -webkit-line-break: after-white-space;
  -webkit-user-select: auto;
}

/* apply back the draggable feature - exist only in Chromium and Safari */
:where([draggable="true"]) {
  -webkit-user-drag: element;
}

/* Revert Modal native behavior */
:where(dialog:modal) {
  all: revert;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* ========= ELEMENT ========== */

.section-heading {
  display: grid;
  justify-content: center;
  text-align: center;
  justify-items: center;
  padding: 12px;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  margin-top: 80px;
  margin-bottom: 40px;
}
.section-heading img {
  position: absolute;
  right: 0;
  max-width: 20vw;
}
.section-title {
  font-size: 28px;
  font-family: var(--title-font);
}

.group-button {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.3s;
}
.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-white);
  padding: 10px 24px;
  border-radius: 12px;
}
.btn i {
  font-size: 24px;
  transition: 0.3s;
}
.btn-rouded {
  border-radius: 50%;
  padding: 12px;
}
.btn-pri {
  background-color: var(--text-white);
  color: var(--primary-color);
}
.btn-pri:hover i {
  transform: rotate(360deg);
}
.menu-right {
  background-color: rgba(255, 255, 255, 0.23);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 4px;
}
.text-gradient {
  background: var(
    --GRADIENT,
    linear-gradient(
      50deg,
      #f18c22 -15.1%,
      #fce8ab 53.81%,
      #f18c22 91.52%,
      #fce8ab 114.92%
    )
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ========= AND ELEMENT ========== */

/* ------------------------------------------------------------------------- */

/* ========= COMPONENT ========== */
.container-fluid {
  --bs-gutter-x: 0;
}
.fixed-bg {
  background-image: url("img/materials/nen.png");
  background-repeat: no-repeat;
  background-size: contain;
}
.gift-wrapper {
  position: relative;
  display: inline-block;
  text-align: center;
}
.gift-image {
  width: 10%; /* Kích thước mặc định trên màn hình lớn */
  height: auto;
}
/* Hình ảnh nhỏ hơn kế bên, bằng 1/5 kích thước */
.small-image-wrapper {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 90%; /* Điều chỉnh vị trí kế bên hình chính */
  transform: translateY(-50%); /* Căn giữa theo chiều dọc */
}

.small-image {
  width: 20%; /* Nhỏ bằng 1/5 của hình chính (2 x 10%) */
  height: auto;
}

.arrow-text {
  position: relative;
  margin-top: 10px;
  font-size: 14px;
  color: #333;
  text-align: center;
}

/* Tạo mũi tên */
.arrow {
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #333; /* Màu của mũi tên */
  margin: 0 auto;
}
/* Điều chỉnh kích thước hình ảnh cho màn hình có chiều rộng nhỏ hơn 768px (thường là máy tính bảng hoặc điện thoại) */
@media screen and (max-width: 768px) {
  .gift-image {
    width: 30%;
  }

  .small-image {
    width: 6%; /* Tương ứng 1/5 của 30% */
  }

  .small-image-wrapper {
    left: 120%; /* Điều chỉnh khoảng cách trên mobile */
  }
}

/* Điều chỉnh kích thước cho màn hình điện thoại nhỏ hơn 480px */
@media screen and (max-width: 480px) {
  .gift-image {
    width: 50%; /* Tăng kích thước hơn nữa trên điện thoại nhỏ */
  }
}

.heartbeat {
  -webkit-animation: heartbeat 1.5s ease-in-out infinite both;
  animation: heartbeat 1.5s ease-in-out infinite both;
}
.tracking {
  -webkit-animation: tracking 1s cubic-bezier(0.215, 0.61, 0.355, 1) both;
  animation: tracking 1s cubic-bezier(0.215, 0.61, 0.355, 1) both;
}
.kenburns-top {
  -webkit-animation: kenburns-top 10s ease-out infinite both;
  animation: kenburns-top 10s ease-out infinite both;
}

/**
 * ----------------------------------------
 * animation heartbeat
 * ----------------------------------------
 */
@-webkit-keyframes heartbeat {
  from {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: center center;
    transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  10% {
    -webkit-transform: scale(0.91);
    transform: scale(0.91);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  17% {
    -webkit-transform: scale(0.98);
    transform: scale(0.98);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  33% {
    -webkit-transform: scale(0.87);
    transform: scale(0.87);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  45% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
}
@keyframes heartbeat {
  from {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: center center;
    transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  10% {
    -webkit-transform: scale(0.91);
    transform: scale(0.91);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  17% {
    -webkit-transform: scale(0.98);
    transform: scale(0.98);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  33% {
    -webkit-transform: scale(0.87);
    transform: scale(0.87);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  45% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
}
@-webkit-keyframes kenburns-top {
  0% {
    -webkit-transform: scale(1) translateY(0);
    transform: scale(1) translateY(0);
    -webkit-transform-origin: 50% 16%;
    transform-origin: 50% 16%;
  }
  100% {
    -webkit-transform: scale(1.25) translateY(-15px);
    transform: scale(1.25) translateY(-15px);
    -webkit-transform-origin: top;
    transform-origin: top;
  }
}
@keyframes kenburns-top {
  0% {
    -webkit-transform: scale(1) translateY(0);
    transform: scale(1) translateY(0);
    -webkit-transform-origin: 50% 16%;
    transform-origin: 50% 16%;
  }
  100% {
    -webkit-transform: scale(1.25) translateY(-15px);
    transform: scale(1.25) translateY(-15px);
    -webkit-transform-origin: top;
    transform-origin: top;
  }
}
/**
 * ----------------------------------------
 * animation tracking
 * ----------------------------------------
 */
@-webkit-keyframes tracking {
  0% {
    letter-spacing: -0.5em;
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}
@keyframes tracking {
  0% {
    letter-spacing: -0.5em;
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}

.zoom-in {
  -webkit-animation: zoom-in 5s ease-in;
  animation: zoom-in 3s ease-in;
}
@-webkit-keyframes zoom-in {
  0% {
    -webkit-transform: scale(0.4);
    transform: scale(0.4);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
@keyframes zoom-in {
  0% {
    -webkit-transform: scale(0.4);
    transform: scale(0.4);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
/* ========= END COMPONENT ========== */

/* ------------------------------------------------------------------------- */

/* ========= THEMES ========== */
body {
  font-family: var(--main-font);
}
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--overlay);
  opacity: 0.6;
  z-index: -1;
}
.bg_overlay {
  box-shadow: inset 0 0 0 2000px rgba(0 0 0 /0.6);
}
.img_bg {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.blur {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.main-font {
  font-family: var(--main-font);
}
.script-font {
  font-family: var(--script-font);
}
.hand-writing-font {
  font-family: var(--hand-writing-font) !important;
}
.title-font {
  font-family: var(--title-font);
}
.text-medium {
  font-size: 2rem;
}
.hidden {
  display: none;
}
.momo {
  background-color: #cf1986 !important;
  color: white !important;
  border-radius: 8px !important;
}
.gift-title {
  font-size: 20px;
  font-family: var(--title-font);
  text-align: center;
  margin-bottom: 24px;
}
.font-script {
  font-family: var(--script-font);
}
.font-title {
  font-family: var(--title-font);
}
.font-main {
  font-family: var(--main-font);
}
.social-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  justify-items: center;
  width: 100%;
  gap: 8px;
  margin-top: 12px;
}
.social-link a {
  background-color: var(--primary-color);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.social-link a i {
  font-size: 16px;
  transition: 0.3s;
  color: var(--text-white);
}
.social-link a:hover i {
  transform: translateY(-2px);
}
/* ========= END THEMES ========== */

/* ------------------------------------------------------------------------- */

/* ====== MAIN CSS ============ */

/* PRE LOADER */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  background: none repeat scroll 0 0 var(--white-color);
}

.spinner {
  animation: pulse 1s infinite ease-in-out alternate;
}

.spinner svg {
  fill: var(--heart-color);
  font-size: var(--h4-font-size);
}

@keyframes pulse {
  from {
    transform: scale(0.8);
  }
  to {
    transform: scale(1.2);
  }
}
/* END PRELOADER */

/* BANNER */
.section-banner {
  position: relative;
  overflow: hidden;
}
.banner-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  row-gap: 24px;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
}
.welcome-banner {
  background-image: url("./img/wedding-pics/loading.jpeg") !important;
  background-position: 8%;
}
.banner-title {
  font-size: 20px;
  font-family: var(--title-font);
  margin-bottom: 40px;
  margin-top: 40px;
  color: var(--text-white);
}
.banner-name {
  font-family: "title-font";
  font-size: 54px;
  line-height: 1.5;
}
.banner-date {
  font-size: 20px;
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.banner_date {
  font-size: 32px;
  font-weight: bold;
}
.banner-time {
  font-size: 24px;
  font-family: var(--title-font);
  margin-top: 4px;
}
.address-name {
  font-size: 24px;
  font-family: var(--main-font);
  margin-top: 4px;
}
/* END BANNER */

/* ABOUT */
.section-about {
  position: relative;
}
.about-container {
  overflow: hidden;
}
.about-container {
  display: grid;
  row-gap: 40px;
}
.about-card {
  display: grid;
  row-gap: 24px;
}
.about-media {
  border-radius: 999px;
  overflow: hidden;
  aspect-ratio: 1/1.3;
}
.about-media img {
  transition: 0.5s;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}
.about-media:hover img {
  filter: none;
  -webkit-filter: none;
}
.about-data {
  display: grid;
  row-gap: 16px;
}
.about-data .title {
  font-family: var(--title-font);
  font-size: 24px;
  letter-spacing: 8px;
}
.about-data .bride_name,
.about-data .groom_name {
  font-family: "title-font";
  font-size: 32px;
  color: var(--primary-color);
}
.about-card .social-link {
  justify-content: start;
}
/* END ABOUT */
/* TIME LINE */
.time-line-section {
  position: relative;
  display: grid;
  justify-content: center;
  padding: 120px 0;
  margin-top: 80px;
  color: var(--text-white);
  z-index: 9;
}
.timeline-list {
  position: relative;
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.timeline-item {
  display: grid;
  text-align: center;
  align-items: center;
  justify-items: center;
  max-width: 600px;
  gap: 12px;
}
.timeline-item::before {
  content: "";
  width: 1px;
  height: 60px;
  background-color: var(--text-white);
  border-radius: 999px;
}
.timeline-item:nth-child(1)::before {
  display: none;
}
.timeline-media {
  position: relative;
}

.timeline-media img {
  max-width: 200px;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 999px 999px 12px 12px;
}
.timeline-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.story-date {
  font-family: var(--title-font);
}
.timeline-body .title {
  font-size: 24px;
  font-family: var(--script-font);
}
/* ALBUM */
.section-album {
  position: relative;
  padding-bottom: 80px;
}
.album {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.album-item {
  border-radius: 8px;
  overflow: hidden;
}
.album-item img {
  transition: 0.3s;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 1/1;
  width: 100%;
  height: 100%;
}
.album-item:hover img {
  transform: scale(1.2);
}
/* COUNTDOWN */
#countdown-section {
  /* position: relative; */
  /* z-index: 9; */
  height: 100vh;
}
.section-countdown {
  position: relative;
  color: var(--text-white);
  text-align: center;
  min-height: 50vh;
}
.countdown-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}
.countdown-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale();
  -webkit-filter: grayscale();
}
.countdown-title {
  font-size: 32px;
  font-family: var(--title-font);
}
.countdown {
  display: flex;
  row-gap: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 50vh;
}
#countdown {
  display: flex;
  row-gap: 24px;
  justify-content: center;
  align-items: center;
}

#countdown ul {
  display: grid;
  grid-template-columns: repeat(2, 100%);
  justify-content: center;
  align-items: center;
  gap: 20px;
}
#countdown li {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 16px;
  list-style-type: none;
  padding: 1em;
  text-transform: uppercase;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.269);
  color: white;
  backdrop-filter: blur(4px);
}

#countdown li span {
  display: block;
  font-size: 24px;
  font-weight: 600;
  font-family: var(--title-font);
}

#content {
  display: none;
  padding: 1rem;
}

#content span {
  font-family: var(--script-font);
  font-size: 4rem;
  padding: 0 0.5rem;
}
/* END COUNT DOWN */

/* DRESSCODE */
.dress-code-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* min-height: 100vh; */
  margin-top: 1rem;
  /* background-color: white; */
  font-family: "Times New Roman", serif;
}

.dress-code-title {
  font-size: 2.5rem;
  letter-spacing: 0.2em;
  margin-bottom: 2rem;
  font-weight: 400;
}

.dress-code-color-circles {
  display: flex;
  gap: 2rem;
}

.dress-code-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.circle-1 {
  background-color: var(--dress-code-01);
}

.circle-2 {
  background-color: var(--dress-code-02);
}

.circle-3 {
  background-color: var(--dress-code-03);
}

.circle-4 {
  background-color: var(--dress-code-04);
}
/* END DRESSCODE */

/* INVITATION */
#invitation {
  padding: 80px 0;
}
.invitation-container {
  margin-top: 40px;
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, 320px);
  justify-content: center;
}
.invitation-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  gap: 12px;
  background-color: var(--bg);
  border-radius: 12px;
  max-width: 100%;
  text-align: center;
}
.invitation-card img {
  max-width: 120px;
  aspect-ratio: 1/1;
  object-fit: cover;
  padding: 8px;
  background-color: var(--text-white);
  border-radius: 50%;
}
.card-title {
  font-size: 24px;
  font-family: var(--title-font);
}
.invitation-body {
}
.invi_time {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  margin-bottom: 12px;
}
.invi_group_time {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 8px;
}
.invi_date_number {
  display: flex;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color-color);
}
.invi_date_text,
.invi_year_text {
  border-top: 1px solid var(--primary-color);
  border-bottom: 1px solid var(--primary-color);
  padding: 4px 0;
}
.invi_amlich {
  font-style: italic;
  font-size: 14px;
}

/* QR CODE */
.qr-code-container {
  display: flex;
  gap: clamp(20px, 4vw, 40px);
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.qr-card {
  background: white;
  width: 100%;
  max-width: 450px;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1 1 400px;
}

.bride-qr-card {
  background: linear-gradient(to bottom right, #fff, #fff5f5);
}

.groom-qr-card {
  background: linear-gradient(to bottom right, #fff, #f5f5ff);
}

.qr-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.bride-qr-card .decorative-border {
  background: linear-gradient(90deg, #f9d1d1, #ffd1dc, #f9d1d1);
}

.groom-qr-card .decorative-border {
  background: linear-gradient(90deg, #d1d1f9, #d1dcff, #d1d1f9);
}

.decorative-border {
  height: 8px;
  position: relative;
}

.hearts-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: clamp(10px, 3vw, 20px);
  padding: 10px;
}

.bride-qr-card .hearts-pattern {
  color: #ff9eaa;
}

.groom-qr-card .hearts-pattern {
  color: #9eaaff;
}

.content {
  padding: clamp(1.5rem, 5vw, 2.5rem);
  text-align: center;
}

.role {
  font-family: "Source Sans Pro", sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  margin-bottom: 10px;
  color: #666;
}

.names {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  color: #2c3e50;
  margin: 0 0 clamp(10px, 2vw, 20px) 0;
  line-height: 1.2;
}

.date,
.location {
  color: #666;
  font-weight: 300;
  margin: 5px 0;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
}

.qr-container {
  margin: clamp(20px, 4vw, 30px) auto;
  padding: clamp(10px, 2vw, 15px);
  background: white;
  border-radius: 10px;
  width: fit-content;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.bride-qr-card .qr-container {
  border: 1px solid #ffd1dc;
}

.groom-qr-card .qr-container {
  border: 1px solid #d1dcff;
}

.qr-code {
  width: clamp(180px, 50vw, 220px);
  height: clamp(180px, 50vw, 220px);
  object-fit: contain;
}

.scan-text {
  color: #666;
  font-style: italic;
  margin: 15px 0;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.footer-heart {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin-top: clamp(10px, 2vw, 15px);
}

.bride-qr-card .footer-heart {
  color: #ff9eaa;
}

.groom-qr-card .footer-heart {
  color: #9eaaff;
}

/* Tablet Specific Styles */
@media (min-width: 768px) and (max-width: 1024px) {
  .qr-card {
    flex: 0 1 calc(50% - 20px);
    min-width: 320px;
  }

  .content {
    padding: 2rem;
  }
}

/* Mobile Specific Styles */
@media (max-width: 767px) {
  body {
    padding: 10px;
  }

  .container {
    gap: 30px;
    padding: 10px;
  }

  .qr-card {
    max-width: 100%;
    margin: 0;
  }

  .decorative-border {
    height: 6px;
  }

  .hearts-pattern {
    gap: 15px;
  }

  .hearts-pattern i {
    font-size: 0.8rem;
  }

  .content {
    padding: 1.5rem;
  }
}

/* Small Mobile Devices */
@media (max-width: 320px) {
  .names {
    font-size: 1.5rem;
  }

  .qr-code {
    width: 160px;
    height: 160px;
  }

  .content {
    padding: 1rem;
  }
}

/* END QR CODE */

/* THANK YOU */
.section-thankyou {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  color: var(--text-white);
  text-align: center;
}
.thankyou-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
/* .thankyou-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
} */
.thankyou-title {
  font-size: 64px;
  font-family: var(--script-font);
  line-height: 1.6;
}
.thankyou-des {
  text-align: center;
  margin-bottom: 40px;
}
.image-container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

.image-container img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
}

/* Optional overlay for better text visibility */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8); /* Adjust opacity as needed */
}

/* Content styling */
.thankyou-content {
  font-family: "handwriting";
  font-display: swap;
  position: relative;
  z-index: 2;
  color: var(--primary-color);
  text-align: center;
  padding: 20px;
  padding-top: 13rem;
}

/* Mobile optimization */
@media screen and (max-width: 768px) {
  .bg-section {
    background-attachment: scroll; /* Better performance on mobile */
  }
}

/* END THANK YOU */

/* MAPS */
.map-section {
  width: 100%;
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 15px;
}

.map-container {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  width: 100%;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Tablet Styles */
@media screen and (max-width: 768px) {
  .map-container {
    padding-top: 75%; /* 4:3 Aspect Ratio for better visibility on tablets */
  }
}

/* Mobile Styles */
@media screen and (max-width: 480px) {
  .map-section {
    padding: 0 10px;
  }

  .map-container {
    padding-top: 100%; /* 1:1 Aspect Ratio for mobile */
  }
}
/* END MAPS */

/* ====== END MAIN CSS ============ */

/* ------------------------------------------------------------------------- */

/* ====== RESPONSIVE ======= */
/* Small devices such as large phones (640px and up) */
@media only screen and (min-width: 640px) {
  .main-about {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 40px;
  }
  .invitation {
    grid-template-columns: repeat(2, 1fr);
  }
  .right-fixed i {
    font-size: 24px;
  }
  .bg-bottom-left,
  .bg-top-right {
    max-width: 60%;
  }
}

/* Medium devices such as tablets (768px and up) */
@media only screen and (min-width: 48em) {
  .album {
    grid-template-columns: repeat(3, 1fr);
  }
  .thankyou-title {
    font-size: 44px;
  }
  .right-fixed {
    right: 3vw;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    row-gap: 12px;
  }

  .about-card {
    grid-template-columns: repeat(2, 40% 60%);
    justify-items: center;
  }
  .about-data {
    margin-left: 80px;
    height: max-content;
    width: 70%;
    margin-top: 40px;
    font-size: 20px;
  }
  .about-card:nth-child(2) {
    grid-template-columns: repeat(2, 60% 40%);
  }
  .about-card:nth-child(2) .about-media {
    order: 1;
  }
  .about-card:nth-child(2) .about-data {
    display: flex;
    flex-direction: column;
    margin-left: 0;
    margin-right: auto;
    justify-content: left;
  }
}

/* Large devices such as laptops (1024px and up) */
@media only screen and (min-width: 64em) {
  .timeline-title {
    font-size: 32px;
  }

  #countdown li span {
    font-size: 40px;
  }
  .name-des {
    max-width: 70%;
  }
  .name .groom_name,
  .name .bride_name {
    font-size: 86px;
  }
  .section-title {
    font-size: 44px;
  }
}

/* Largest devices such as desktops (1280px and up) */
@media only screen and (min-width: 80em) {
}
.footer-bottom {
  margin-top: 0;
  padding: 8px 0;
  color: white;
  background-color: #587c4c;
  font-size: 14px;
}
