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

/* Button General */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  padding: 2px 30px;
  text-align: center;
  font-size: 16px;
  line-height: 46px;
  font-family: var(--font-title);
  box-sizing: border-box;
  cursor: pointer;
  border-radius: 0px;
  overflow: hidden;
  transition: all 0.2s;
}

/* Button Default */

.btn-default {
  background: var(--color-primary);
  color: var(--color-black);
  width: 200px;
}

.btn-default:hover {
  background: var(--color-white);
}

.btn-default::after {
  content: "\e904";
  font-family: "electra";
  display: flex;
  margin-left: -5px;
  font-size: 24px;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 1) 50%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: 0.2s all;
}

.btn-default:hover::after {
  margin-left: 10px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Button Default */

.btn-header {
  width: 150px;
  padding: 8px 0px !important;
  line-height: inherit;
  background: var(--color-primary);
  color: var(--color-black);
}

.btn-header:hover {
  background: var(--color-white);
  color: var(--color-black) !important;
}

.btn-header::after {
  content: "\e904";
  font-family: "electra";
  display: flex;
  margin-left: -5px;
  font-size: 24px;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 1) 50%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: 0.2s all;
}

.btn-header:hover::after {
  margin-left: 10px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Form Inputs */

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

input {
  height: 60px;
  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;
}

/* Arrow Down Icon*/

.icon-scroll,
.icon-scroll:before {
  position: absolute;
  left: 50%;
}

.icon-scroll {
  width: 30px;
  height: 50px;
  margin-left: -20px;
  border-radius: 25px;
}

.icon-scroll {
  content: url("/img/arrow-down.svg");
  width: 16px;
  height: 16px;
  margin-left: -8px;
  top: 8px;
  border-radius: 4px;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
  animation-name: scroll;
}

.scroll-down {
  position: absolute;
  left: 50%;
  bottom: 10%;
  margin-left: -25px;
  border: 2px solid var(--color-white);
  height: 50px;
  width: 50px;
  border-radius: 40px;
  display: flex;
  justify-content: center;
}

.scroll-down .icon-arrow-down {
  position: absolute;
  font-size: 28px;
  margin-top: -5px;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
  animation-name: scroll;
}

.scroll--mouse {
  display: block;
  width: 3px;
  padding: 3px 10px;
  height: 30px;
  border: 3px solid var(--color-white);
  border-radius: 25px;
  opacity: 1;
  box-sizing: content-box;
  margin-top: 5%;
}

.scroll--mouse::after {
  content: "";
  width: 3px;
  height: 10px;
  display: block;
  border-radius: 25%;
  background-color: var(--color-secondary);
  animation-name: scroll;
  animation-duration: 2.2s;
  animation-timing-function: cubic-bezier(0.15, 0.41, 0.69, 0.94);
  animation-iteration-count: infinite;
}

@keyframes scroll {
  0% {
    top: 10px;
    opacity: 1;
  }
  100% {
    top: 0px;
    opacity: 0;
    transform: translateY(26px);
  }
}
