/* CONTACT SECTION CSS */

.contact {
  margin-bottom: 100px;
}

.contact h2 {
  margin-bottom: 50px;
}

form {
  max-width: 800px;
}

.form-row {
  display: flex;
  gap: 40px;
  margin-bottom: 30px;
}

.form-row input {
  flex: 1;
}

input, textarea {
  width: 100%;
  padding: 20px 15px;
  border: none;
  border-radius: 12px;
  background-color: var(--gray-light);
  color: var(--brown-dark);
  font-size: 1.2em;
  font-family: inherit;
}

input::placeholder, textarea::placeholder {
  color: var(--brown-dark);
  opacity: 0.8;
  font-family: inherit;

}

input:focus, textarea:focus {
  outline-color: var(--blush);
}

textarea {
  height: 150px;
  resize: none;
  margin-bottom: 20px;
}



.btn-row {
  position: relative;
}

.contact button {
  position: absolute;
  font-size: 1.2em;
  right: 0;
  top: -50px;
}


#thanks-box,
#sorry-box {
  position: absolute;
  padding: 15px 20px;
  background-color: var(--blush);
  color: var(--brown-dark);
  border: none;
  border-radius: 10px;
  font-size: 1.1em;
  top: -20px;
  display: block;
  
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

#thanks-box.show,
#thanks-box.show {
  opacity: 1;
}