/* === MAIN SECTION FORM WRAPPER === */
main section {
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  max-width: 700px;
  width: 90%;
  margin: 2rem auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  font-size: 1rem;
  transition: all 0.3s ease;
}

/* === FORM STYLING === */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  width: 100%;
}

/* === INPUT & TEXTAREA === */
input[type="text"],
textarea {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 100%;
  resize: vertical;
  max-height: 300px;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
textarea:focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 0 5px rgba(74, 144, 226, 0.4);
}

/* === SUBMIT BUTTON === */
input[type="submit"] {
  width: fit-content;
  background-color: #4a90e2;
  color: white;
  border: none;
  border-radius: 999px;
  padding: 10px 24px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  align-self: flex-start;
  box-shadow: 0 4px 8px rgba(74, 144, 226, 0.2);
}

input[type="submit"]:hover {
  background-color: #357abd;
  transform: translateY(-2px) scale(1.02);
}

/* === RESPONSIVE AANPASSINGEN === */
@media (max-width: 768px) {
  main section {
    padding: 1.5rem;
    font-size: 0.95rem;
  }

  input[type="submit"] {
    width: 100%;
    text-align: center;
    align-self: stretch;
  }
}

@media (max-width: 480px) {
  main section {
    padding: 1rem;
  }

  input[type="text"],
  textarea {
    font-size: 0.95rem;
  }

  input[type="submit"] {
    font-size: 1rem;
    padding: 12px 20px;
  }
}
