
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background: white;
}

/* General styles */
form {
  max-width: 800px;
  margin: auto;
  margin-top: 40px;
  padding: 15px;
}

/* Adjust form margin and width for different screen sizes */
@media (max-width: 1024px) {
  form {
      margin: auto;
      margin-top: 30px;
      width: 80%;
  }

  button {
      width: 90px;
      height: 45px;
      font-size: 18px;
  }
}

@media (max-width: 768px) {
  form {
      margin: auto;
      margin-top: 20px;
      width: 90%;
  }

  button {
      width: 80px;
      height: 40px;
      font-size: 16px;
  }
}

@media (max-width: 480px) {
  form {
      margin: auto;
      margin-top: 10px;
      width: 95%;
  }

  button {
      width: 70px;
      height: 35px;
      font-size: 14px;
  }
}

fieldset {
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

legend {
  font-weight: bold;
  color: red;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

input, select, textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

input[type="checkbox"], input[type="radio"] {
  width: auto;
}

.radio-group input[type="radio"] {
  margin-right: 5px;
}

.radio-group label {
  display: inline-block;
  margin-right: 20px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group input[type="checkbox"] {
  display: inline;
  margin-right: 10px;
}

.form-group label {
  display: inline-block;
  margin-bottom: 0;
}

.button-group {
  text-align: center;
  margin-top: 10px;
}

button {
  padding: 10px 20px;
  background-color: red;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100px;
  height: 50px;
  font-family: 'Times New Roman', Times, serif;
  font-weight: bold;
  font-size: 20px;
}

button:hover {
  background-color: rgb(235, 55, 55);
}

h1 {
  text-align: center;
  margin-right: 50px;
  margin-top: 30px;
}
