@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Montserrat:wght@400;600&display=swap");

body {
  background-color: #1a1f36;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

.invitation {
  background: #232b47;
  padding: 30px;
  border-radius: 10px;
  width: 100%;
  max-width: auto;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  flex-grow: 1; /* This allows the invitation to take up available space */
}

.invitation-content {
  flex: 1;
  text-align: center;
}

.invitation-image {
  max-width: 250px;
  height: auto;
  margin-right: 10px;
  border-radius: 5px;
}

.title {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 700;
  color: #e6c088;
  margin-bottom: 10px;
}

.intro {
  font-size: 16px;
  margin-bottom: 20px;
}

.names {
  font-size: 28px;
  font-weight: bold;
  margin: 10px 0;
}

.highlight {
  color: #e6c088;
}

.details {
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.rsvp {
  font-size: 16px;
  font-weight: bold;
  margin-top: 20px;
}

.contact {
  color: #e6c088;
}

footer {
  text-align: center;
  padding: 20px; /* Increased padding for better spacing */
  background-color: #1a1f36;
  margin-top: auto;
}

footer p,
.footer-text {
  margin: 0;
  font-size: 16px; /* Increase font size for paragraph */
}

footer a {
  color: #0baf3f;
  font-size: 16px; /* Make the link text bigger as well */
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline; /* Optional: Add underline on hover for better UX */
}

a {
  color: #ffffff;
  text-decoration: none;
}

/* Media query for smaller screens */
@media (max-width: 600px) {
  footer {
    padding: 5px;
    font-size: 0.8em;
  }

  footer p {
    font-size: 0.9em;
  }

  .invitation {
    flex-direction: column;
    align-items: center;
  }

  .invitation-image {
    margin-right: 0;
    margin-top: 20px;
    max-width: 90%;
  }

  .invitation-content {
    text-align: center;
  }
  .invitation-image {
    height: 480px;
  }
}
