/* #region Body */
h2 {
    /* padding: 0 5em; */
    width: 100%;
    text-align: center;
    margin: 40px auto;
}
/* #endregion */

/* #region Contact form */
#contact-form {
    border-radius: 2px;
    padding: 1px 25px 25px 25px;
    background-color: #f3e9dc;
    max-width: 600px;
    margin: 15px auto;
    margin-bottom: 5em;
    width: 70%;
  }

@media (max-width: 450px) {
  #contact-form {
    width: 60%;
  }
}
  
  .form-field {
    position: relative;
    margin: 32px 0;
  }
  
  /* Input & Textarea shared styles */
  .input-text {
    width: 100%;
    padding: 12px 0 8px 0;
    border: none;
    border-bottom: 2px solid #000;
    font-family: 'Lusitana', serif;
    font-size: 18px;
    line-height: 26px;
    background: transparent;
    resize: none;
    outline: none;
  }
  
  /* Adjust textarea height manually if needed */
  .textarea-text {
    min-height: 100px;
    line-height: 1.5;
  }
  
  /* Label */
  .label {
    position: absolute;
    top: 12px;
    left: 0;
    font-family: 'Lusitana', serif;
    font-size: 18px;
    color: #888;
    pointer-events: none;
    transition: 0.2s ease all;
  }
  
  /* Label floats on focus or when input has content */
  .input-text:focus + .label,
  .input-text:not(:placeholder-shown) + .label {
    top: -16px;
    font-size: 14px;
    color: #000;
  }
  
  /* Submit Button */
  #submit-btn {
    color: #fff;
    font-family: 'Raleway', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 16px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
  }

  .ready {
    background-color: #333;
  }

  .ready:hover {
    background-color: #00aaff;
  }

  .sending {
    background-color: #cccccc;
    color: #333;
  }

  .sent {
    background-color: #00cc66;
    color: white;
  }

  .sent:hover {
      background-color: #00994d;
  }

  .failed {
      background-color: #ff4444;
      color: white;
  }

  .failed:hover {
      background-color: #cc0000;
  }
  

/* #endregion */
