/* ==========================================================================
   User Interface
   ========================================================================== */

/* Button General */

.btn {
  display: inline-block;
  opacity: 1;
  text-align: center;
  font-size: 18px;
  font-family: var(--font-title);
  box-sizing: border-box;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s;
  text-transform: uppercase;

  border: none;
}

/* Button Default */

.btn-dark {
  background: var(--color-primary);
  color: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px;
  width: 30%;
  background: var(--color-white);
}

.btn-dark:hover {
  background: var(--color-white);
  box-shadow: 0px 0px 15px var(--color-primary);
}

/* Button Arrow */

.btn-arrow {
  display: flex;
  align-items: center;
}

.btn-arrow:hover {
  color: var(--color-primary);
}

.btn-arrow::after {
  content: url("/images/arrow.svg");
  display: block;
  position: relative;
  left: 10px;
  top: 0;
  transition: 0.3s all;
}

.btn-arrow:hover::after {
  left: 15px;
}

/* Form Inputs */

input,
textarea {
  border: 2px solid grey;
  padding: 10px 20px;
  background: none;
  color: #ffffff;
  font-size: 18px;
  font-family: var(--font-title);
  outline: none;
  box-sizing: border-box;
}

input {
  height: 50px;
  width: 48%;
}

textarea {
  height: 150px;
  width: 100%;
}

/* Error Messages */

.message-error {
  color: var(--color-messageError);
}

.message-success {
  color: var(--color-messageSuccess);
}

form .field.field-error {
  border-color: var(--color-fieldError);
}

form.form-loading button .icon {
  display: inline-block;
}

form.form-loading button .text {
  display: none;
}
