body {
  margin: 0;
  padding: 0;
  background-color: #000;
  color: #fff;
  font-family: Arial, sans-serif;
}

.container {
  margin: 20px auto;
  max-width: 600px;
  padding: 30px;
  background-color: #111;
  border: 2px solid gold;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

header {
  margin-bottom: 20px;
  padding: 20px;
  background-color: #222;
  color: gold;
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.1);
}

h1 {
  margin-bottom: 30px;
  color: gold;
  font-size: 28px;
  text-align: center;
  text-shadow: 0 2px 5px rgba(255, 215, 0, 0.5);
}

input,
select,
textarea {
  width: 100%;
  margin-bottom: 20px;
  padding: 12px;
  background-color: #222;
  border: 1px solid gold;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #daa520;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
  outline: none; /* Removed color: black here */
}

textarea {
  resize: vertical;
  min-height: 40px;
  max-height: 200px;
  overflow-y: auto;
}

textarea:empty {
  height: auto;
}

input[type="submit"] {
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  background-color: gold;
  color: #000;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

input[type="submit"]:hover {
  background-color: #daa520;
  transform: scale(1.05);
  color: black;
}

@media (max-width: 768px) {
  body .form-control,
  body .form-control option {
    background-color: #222;
    color: #fff;
  }

  input,
  select,
  textarea {
    font-size: 14px;
  }

  input[type="submit"] {
    font-size: 16px;
  }

  h1 {
    font-size: 24px;
  }

  header {
    padding: 15px;
    font-size: 16px;
  }

  textarea {
    min-height: 40px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 700px;
  }

  input,
  select,
  textarea {
    font-size: 18px;
    padding: 15px;
  }

  input[type="submit"] {
    padding: 15px 30px;
    font-size: 20px;
  }

  header {
    padding: 25px;
    font-size: 20px;
  }
  
  .form-control,
.form-control option {
  background-color: #222;
  color: #fff;
}
}
