body {
    font-family: 'Open Sans', sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 2rem;
    color: #333;
  }
  h1, h2 {
    color: #7c47da;
  }
  a {
    color: #7c47da;
    text-decoration: none;
  }
  .container {
    max-width: 600px;
    margin: 0 auto;
  }
  footer {
    margin-top: 2rem;
    font-size: 0.875rem;
    color: #666;
  }

  figure img {
    max-height: 300px;
    width: auto;
    display: block;
    margin: 0 auto;
  }
  figure {
    margin: 20px 0;
  }
  figcaption {
    font-size: 0.9em;
    text-align: center;
    color: #555;
  }

  /* General Form Styling */
.form {
  margin: 2rem 0;
  max-width: 600px;
}

.form label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #333;
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  box-sizing: border-box;
}

.form textarea {
  resize: vertical; /* Allow resizing only vertically */
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  background-color: #7c47da;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #693aba;
}

/* Newsletter Specific Adjustments */
h2 {
  color: #7c47da;
}

.container a {
  color: #7c47da;
  text-decoration: none;
}

.container a:hover {
  text-decoration: underline;
}

/* Newsletter Consent Styling */
.form label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #333;
}

/* Consent Checkbox Styling */
.form label[for="consent"] {
  font-weight: normal; /* Consistent weight with surrounding text */
  display: flex;       /* Flexbox for alignment */
  align-items: center; /* Align checkbox and label text vertically */
  gap: 0.5rem;         /* Space between checkbox and label */
  margin-top: 1rem;
}

.form input[type="checkbox"] {
  margin: 0; /* Reset default margins for alignment */
  display: inline-block; /* Ensure proper placement */
}


/* Simple Button Styling */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  background-color: #7c47da; /* Primary color */
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Open Sans', sans-serif;
}

.btn:hover {
  background-color: #693aba; /* Slightly darker shade on hover */
}

