.m5id-wrap{
	padding: 30px 15px;
	background: #eee;
	text-align: center;
	max-width: 660px;
	margin: 20px auto 50px;
  color: #333;
  position: relative;
  box-sizing: border-box;
}
.m5id-wrap *{
  box-sizing: border-box;
}
.m5id-wrap h3{
  font-weight: bold;
  margin-bottom: 30px;
}
.m5id-wrap form{
	display: flex;
}

.m5id-wrap__msg{
  margin-top: 15px;
  text-align: left;
}

.m5id-wrap__msg a{
  text-decoration: underline;
  color: #8DBE1F;
  text-shadow: 0 0 2px #222;
  font-weight: bold;
}


.m5id-wrap__msg p{
  padding: 3px 7px;
  color: #fff;
}
.m5id-wrap__msg .success{
  background-color: #12c99b;
}
.m5id-wrap__msg .error{
  background-color: #e41749;
}
.m5id-wrap__msg b{
  text-decoration: underline;
}

.m5id-wrap input{
	width: 100%;
}

.m5id-wrap button{
  position: relative;
  background: #3a3a3a;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  border: none;
  letter-spacing: 0.1rem;
  font-size: 0.7rem;
  padding: 0.7rem 1.4rem;
  transition: 0.2s;
}

.m5id-wrap button:hover {
  letter-spacing: 0.2rem;
 	padding: 0.7rem 2rem;
 /*  padding: 1.1rem 3.1rem; */
  background: var(--clr);
  /* color: var(--clr); */
  /* box-shadow: 0 0 35px var(--clr); */
  animation: box 3s infinite;
}

.m5id-wrap button::before {
  content: "";
  position: absolute;
  inset: 2px;
  background: #8DBE1F;
}

.m5id-wrap button span {
  position: relative;
  z-index: 1;
}
.m5id-wrap button i {
  position: absolute;
  inset: 0;
  display: block;
}

.m5id-wrap button i::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 2px;
  left: 80%;
  top: -2px;
  border: 2px solid var(--clr);
  background: #272822;
  transition: 0.2s;
}

.m5id-wrap button:hover i::before {
  width: 15px;
  left: 20%;
  animation: move 3s infinite;
}

.m5id-wrap button i::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 2px;
  left: 20%;
  bottom: -2px;
  border: 2px solid var(--clr);
  background: #272822;
  transition: 0.2s;
}

.m5id-wrap button:hover i::after {
  width: 15px;
  left: 80%;
  animation: move 3s infinite;
}

@keyframes move {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes box {
  0% {
    box-shadow: #27272c;
  }
  50% {
    box-shadow: 0 0 25px var(--clr);
  }
  100% {
    box-shadow: #27272c;
  }
}




.m5id-wrap__msg p{
	margin: 0;
}


.form__group {
  position: relative;
  padding: 0;
  /* margin-top: 10px; */
  /* width: 50%; */
  width: 100%;
}

.form__field {
  font-family: inherit;
  width: 100%;
  border: 0;
  border-bottom: 2px solid #9b9b9b;
  outline: 0;
  font-size: 1rem;
  /* font-size: 1.1rem; */
  /* color: #fff; */
  padding: 7px 0;
  background: transparent;
  transition: border-color 0.2s;
}
.form__field::placeholder {
  color: transparent;
}
.form__field:placeholder-shown ~ .form__label {
  /* font-size: 1.2rem; */
  font-size: 1rem;
  cursor: text;
  top: 5px;
}

.form__label {
  position: absolute;
  top: -12px;
  display: block;
  transition: 0.2s;
  font-size: 0.9rem;
  color: #9b9b9b;
  font-weight: 700;
  white-space: nowrap;
}

.form__field:focus {
  padding-bottom: 6px;
  font-weight: 700;
  border-width: 3px;
  border-image: linear-gradient(to right, #7FFF00, #3a3a3a );
  border-image-slice: 1;
}
.form__field:focus ~ .form__label {
  position: absolute;
  top: -18px;
  display: block;
  transition: 0.2s;
  font-size: 0.8rem;
  color: #7FFF00;
  font-weight: 700;
}

/* reset input */
.form__field:required, .form__field:invalid {
  box-shadow: none;
}






/* preloader */
.m5id-loader{
  z-index: 99;
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.8);
  left: 0;
  top: 0;
  display: none;
}
.middle {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
}
.bar {
  width: 10px;
  height: 70px;
  background: #fff;
  display: inline-block;
  transform-origin: bottom center;
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
  /*   box-shadow:5px 10px 20px inset rgba(255,23,25.2); */
  animation: loader 1.2s linear infinite;
}
.bar1 {
  animation-delay: 0.1s;
}
.bar2 {
  animation-delay: 0.2s;
}
.bar3 {
  animation-delay: 0.3s;
}
.bar4 {
  animation-delay: 0.4s;
}
.bar5 {
  animation-delay: 0.5s;
}
.bar6 {
  animation-delay: 0.6s;
}
.bar7 {
  animation-delay: 0.7s;
}
.bar8 {
  animation-delay: 0.8s;
}

@keyframes loader {
  0% {
    transform: scaleY(0.1);
    background: ;
  }
  50% {
    transform: scaleY(1);
    background: yellowgreen;
  }
  100% {
    transform: scaleY(0.1);
    background: transparent;
  }
}