.form__group {
  position: relative;
  margin-top: 20px;
  /*padding: 15px 0 0;
  
  width: 50%;*/
}
.form__field {
  font-family: inherit;
  width: 100%;
  border: 0;
  border-bottom: 2px solid #545454;
  outline: 0;
  font-size: 1rem;
  color: #545454;
  padding: 7px 0;
  background: transparent;
  transition: border-color 0.2s;
}
.form__field::placeholder {
  color: transparent;
}
.form__field:placeholder-shown ~ .form__label {
  font-size: 1rem;
  cursor: text;
  top: 0px;
}
.form__label {
  position: absolute;
  top: -20px;
  display: block;
  transition: 0.2s;
  font-size: 1rem;
  color: #545454;
  pointer-events: none;
}
.form__field:focus {
  padding-bottom: 6px;
  font-weight: 700;
  border-width: 3px;
  border-image: linear-gradient(to right, var(--linkcolor), var(--maincolor));
  border-image-slice: 1;
}
.form__field:focus ~ .form__label {
  position: absolute;
  top: -20px;
  display: block;
  transition: 0.2s;
  font-size: 0.8rem;
  color: var(--linkcolor);
  font-weight: 700;
}
/* reset input */
.form__field:required, .form__field:invalid {
  box-shadow: none;
}
