@import url(var.css);

/* .parent-c {
  display: flex;
  align-items: center;
  justify-content: c;
  flex-wrap: wrap;
}

.parent-c div {
  flex: 1 1 21rem;
} */
p {
  width: clamp(100px, 92%, 800px);
  font-size: 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  /* align-items: left; */
  margin: 10px;
  white-space: pre-line;
}

.form {
  display: flex;
  flex-direction: column;
  width: clamp(100px, 90%, 450px);
  width: 90%;
  max-width: 500px;
  padding: 20px;
  background: #111929;
  box-shadow: rgb(0, 0, 0, 0.2);
  border-radius: 12px;
  color: #000;
  margin-bottom: 35px;
  margin-top: 20px;
}
.form h2 {
  text-align: center;
  font-size: 27px;
  color: var(--accent-color);
}
label {
  color: #ddd;
}
input,
textarea,
button {
  display: block;
  width: 100%;
  border-radius: 7px;
  padding: 10px;
  border: 2px solid #302e2e;
  margin-bottom: 12px;
  font-family: inherit;
  transition: border-color 0.3s;
  box-shadow: #9e9d9ede;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #667eea;
}

input:focus,
textarea:focus {
  border: 2px solid var(--accent-color);
}
textarea {
  resize: vertical;
  min-height: 120px;
  margin-bottom: 20px;
}
input,
textarea {
  background: #0f0f1a;
  color: #ffffff;
}
.required {
  color: rgb(250, 74, 74);
}

button {
  border: none;
  background: var(--button-color);
  color: white;
  font-size: 17px;
  font-weight: 500;
  transition: 0.3s;
}

button:hover {
  transform: translateY(-2px);
}
