body {
  /* background-color: #f8f7f2; /* neutral page background */
  font-family: "Great Vibes", "Zapfino", cursive;
  color: #27408B; /* royal blue ink */
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 2rem;
  flex-direction: column;

  /* Background image */
  background-image: url("nathist.jpg");
  background-size: cover;          /* Fill the viewport */
  background-position: center;     /* Center the image */
  background-repeat: no-repeat;    /* Prevent tiling */
  background-attachment: fixed;    /* Subtle parallax feel */

  /* Fade effect using overlay color */
  position: relative;
}

/* Add a semi-transparent overlay to fade the image */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.90); /* 75% white overlay */
  z-index: -1; /* stay behind content */

}

/* Larger overall card */
.invite-wrapper {
  display: flex;
  align-items: stretch;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  overflow: hidden;
  max-width: 1300px; /* was 900px */
  width: 100%;
}

/* Left image */
.invite-photo {
  width: 50%;
  object-fit: cover;
  display: block;
}

/* Right parchment */
.invite-box {
  background-color: #FDF6E3;
  border-left: 1px solid #E0D6B8;
  padding: 3rem 4rem; /* slightly increased again */
  text-align: center;
  width: 50%;
}



p.classy {
  font-size: 2.1em;  /* increased size */
  line-height: 1.5;
  margin: 0;
}

/* Names in serif font for contrast */
.names {
  font-family: "Garamond", "Times New Roman", "Baskerville", "Georgia", serif;
  font-weight: normal;
  font-size: 1.2em;
  color: #000000;
}

.clearsans {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
  color: #27408B; /* same royal blue ink */
  letter-spacing: 0.05em;
  font-size: 1em;
  display: inline-block;
  margin-top: 0.5rem;
}

/* --- Responsive (mobile) --- */
@media (max-width: 980px) {
  .invite-wrapper {
    flex-direction: column;
  }

  .invite-photo,
  .invite-box {
    width: 100%;
  }

  .invite-photo {
    height: 45vh;
  }

  .invite-box {
    border-left: none;
    border-top: 1px solid #E0D6B8;
    padding: 2rem;
  }

  p.classy {
    font-size: 4.0em;
  }

  .names {
    font-size: 4.0em;
  }
}
