@import url('https://fonts.googleapis.com/css?family=Lora');
@import url('https://fonts.googleapis.com/css?family=Open+Sans');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.centre {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 300vh;
  margin: 0;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f1f1ef;
  color: #333;
  background-image: url('images/forest.jpeg');
  background-size: cover;
  /* Ensures the image covers the whole page */
  background-position: center;
  /* Centers the image */
  background-repeat: no-repeat;
  /* Prevents the image from repeating */
  margin: 0;
  /* Removes default margin */
}



.container {
  max-width: 800px;
  margin: 50px auto;
  padding: 20px;
  background-color: #f1f1ef;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header {
  text-align: center;
  margin-bottom: 20px;
}

header h1 {
  font-size: 2.5em;
  font-family: 'Lora';
  color: #063118;
}

header h2 {
  font-size: 2em;
  color: #333;
}

.invitation {
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  margin-bottom: 30px;
  font-size: 1.2em;
}

.rsvp-form form {
  display: flex;
  font-family: 'Open Sans', sans-serif;
  flex-direction: column;
}

.rsvp-form label {
  margin-bottom: 8px;
  font-size: 1.1em;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  margin-bottom: 15px;
  padding: 10px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.rsvp-form button {
  padding: 12px;
  background-color: #063118;
  color: #f1f1ef;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
  font-family: 'Lora';
}

.rsvp-form button:hover {
  background-color: #067d38;
}

.rsvp-form {
  padding: 10px;
  /* Adds space around the form */
  text-align: center;
}

.rsvp-form iframe {
  width: 95%;
  /* Slightly within the container */
  max-width: 600px;
  /* Ensures it doesn’t stretch too much */
  height: 800px;
  border-radius: 8px;
  /* Optional: Adds rounded corners */
  border: 1px solid #f1f1ef;
  /* Optional: Adds a subtle border */
}

@media (max-width: 600px) {
  .rsvp-form iframe {
    width: 90%;
    /* Adjust width for smaller screens */
  }

  .container {
    margin: 20px;
    /* Ensures the container has some spacing on small screens */
    padding: 15px;
  }
}