* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  min-height: 100vh;
  padding: 40px 20px;
}

h1 {
  color: #333;
  font-size: 2rem;
  margin-bottom: 10px;
  text-align: center;
}

#description {
  color: #666;
  font-size: 1rem;
  margin-bottom: 30px;
  text-align: center;
}

#survey-form {
  background: white;
  padding: 30px;
  border-radius: 8px;
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid #ddd;
}

fieldset {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 20px;
}

legend {
  font-weight: bold;
  color: #333;
  padding: 0 8px;
}

label {
  display: block;
  margin-bottom: 15px;
  color: #333;
}

input[type="text"],
input[type="email"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #666;
}

input[type="radio"],
input[type="checkbox"] {
  margin-right: 8px;
  cursor: pointer;
}

label[for*="Grade"],
label[for="terms"],
label[for="availability"] {
  display: inline-flex;
  align-items: center;
  margin-right: 20px;
  cursor: pointer;
}

textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

input[type="submit"] {
  background-color: #333;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
  margin-top: 10px;
}

input[type="submit"]:hover {
  background-color: #555;
}

select {
  cursor: pointer;
  background-color: white;
}

@media (max-width: 600px) {
  body {
    padding: 20px 10px;
  }

  h1 {
    font-size: 1.5rem;
  }

  #survey-form {
    padding: 20px;
  }

  fieldset {
    padding: 15px;
  }
}
