
* {
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
}

h1{
	 float: center;
  align-items: center;
	text-align: center;
  justify-content: center;
	font-size: 2em;
}

.responsive-form {
  max-width: 900px;
  width: 100%;
  border-radius: 4px;
  border: 2px solid #04AA6D;;
  background-color:  #f2f2f2;
  padding: 20px;
}

form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

label {
  min-width: 48%;
  margin: 5px;
	color: black;
  padding: 10px;
  border: none;
  font-size: 1.2em;
}

.question {
  min-width: 48%;
  margin: 5px;
	color: black;
  padding: 10px;
  border: none;
  font-size: 1.2em;
}

/* Basic styling for the select element */
select {
  /* Remove default browser styling */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  /* Core styling */
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px;
  font-size: 16px;
  color: #333;
  width: 200px;
  cursor: pointer;

  /* Custom dropdown arrow */
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 24 24"><path d="M7 10l5 5 5-5z" fill="%23333"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
}

/* Hover effect */
select:hover {
  border-color: #888;
}

/* Focus effect */
select:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* Styling for options (limited support) */
select option {
  background-color: #fff;
  color: #333;
  font-size: 16px;
}

/* Disabled state */
select:disabled {
  background-color: #e0e0e0;
  cursor: not-allowed;
}

textarea {
  min-width: 45%;
  height: 150px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px;
}

input[type=submit] {
  width: 100%;
  background-color: #04AA6D;
  color: white;
  padding: 14px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.4em;
}

input[type=email] {
  width: 100%;
  background-color: #f4f4f4
  color: white;
  padding: 14px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=tel] {
  width: 100%;
  background-color:#f4f4f4
  color: white;
  padding: 14px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

@media screen and (max-width: 600px) {
  label,
  input[type=email],
  input[type=submit],
  select, textarea {
    flex: 100%;
    min-width: 100%;
  }
}
