footer {
  padding-bottom: 80px;
}

#contact {
  width: min(60%, 760px);
  max-width: calc(100% - 32px);
  margin: 60px auto 0;
  background-color: #20212b;
  padding: 30px;
  border-radius: 20px;
}

.contact-title {
  font-size: 28px;
  color: #e0dfaa;
  margin-bottom: 6px;
}

.contact-subtitle {
  font-size: 14px;
  color: #8b8ca0;
  margin-bottom: 30px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.form-group label {
  font-size: 13px;
  color: #a0a1b5;
  margin-bottom: 7px;
  letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea {
  background: #2a2b38;
  border: 1.5px solid #3a3b4e;
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 15px;
  color: #e0e0f0;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  font-family: inherit;
  resize: none;
}

.form-group input {
  height: 50px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #b8a9d9;
  box-shadow: 0 0 0 3px rgba(184, 169, 217, 0.15);
}

.form-group input.input-error,
.form-group textarea.input-error {
  border-color: #e06c75;
  box-shadow: 0 0 0 3px rgba(224, 108, 117, 0.15);
}

.field-error {
  font-size: 12px;
  color: #e06c75;
  margin-top: 5px;
  min-height: 16px;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background-color: rgb(255, 189, 66);
  color: #1a1b23;
  font-weight: bold;
  font-size: 15px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition:
    background-color 0.2s,
    transform 0.1s;
  margin-top: 6px;
}

.submit-btn:hover {
  background-color: rgb(255, 200, 100);
}

.submit-btn:active {
  transform: scale(0.98);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-feedback {
  margin-top: 14px;
  font-size: 14px;
  text-align: center;
  min-height: 20px;
}

.form-feedback.success {
  color: #98c379;
}

.form-feedback.error {
  color: #e06c75;
}

#btn-text {
  color: #4e4521;
  font-weight: lighter;
}
