@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');

.wrapper{
  width: 380px;
  background: hsl(207, 19%, 11%);
  border-radius: 15px;
  text-align: center;
  box-shadow: 0px 15px 20px rgba(0,0,0,0.1);
  padding-top:30px;
}
.wrapper header{
  font-size: 35px;
  font-weight: 600;
  color:#fff;
}
.wrapper form{
  padding: 10px 30px 50px 30px;
}
.wrapper form .field{
  height: 50px;
  width: 100%;
  margin-top: 20px;
  position: relative;
  
}
.wrapper form .field input{
  height: 100%;
  width: 100%;
  outline: none;
  color: #fff;
  font-size: 17px;
  padding-left: 20px;
  border: 1px solid lightgrey;
  border-radius: 25px;
  border-bottom-width: 2px;
  transition: all 0.3s ease;
  background: hsl(207, 19%, 11%);
}
.wrapper form .field input:focus,
form .field input:valid{
  border-color: hsl(57, 97%, 45%);
}
.wrapper form .field label{
  position: absolute;
  top: 50%;
  left: 20px;
  color: #999999;
  font-weight: 400;
  font-size: 17px;
  pointer-events: none;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}
form .field input:focus ~ label,
form .field input:valid ~ label{
  top: 0%;
  font-size: 16px;
  color: hsl(57, 97%, 45%);
  background: hsl(207, 19%, 11%);
  transform: translateY(-50%);
}
form .content{
  display: flex;
  width: 100%;
  height: 50px;
  font-size: 16px;
  align-items: center;
  justify-content: space-around;
}
form .content .checkbox{
  display: flex;
  align-items: center;
  justify-content: center;
}
form .content input{
  width: 15px;
  height: 15px;
  background: red;
}
form .content label{
  color: #fff;
  user-select: none;
  padding-left: 5px;
}
form .content .pass-link{
  color: "";
}

form .field .error-txt{
  color: #dc3545;
  text-align: left;
  margin-top: 5px;
}
form .field .error{
  display: none;
}
form .field.shake .error,
form .field.error .error{
  display: block;
}

form .field input[type="submit"]{
  color: #fff;
  padding-left: 0;
  margin-top: -10px;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  color: hsl(225, 25%, 9%);
  background: hsl(57, 97%, 45%);
  outline-color: hsl(57, 97%, 45%);
  border-bottom: 2px solid rgba(0,0,0,0.1);
  border-color: hsl(57, 97%, 45%);
  transition: all 0.3s ease;
}
form .field input[type="submit"]:hover{
  background: hsl(225, 25%, 9%);
  color: hsl(0, 100%, 100%);
  font-weight:550;
}

form .signup-link{
  color: #fff;
  margin-top: 20px;
  text-align: center;
}
form .pass-link a,
form .signup-link a{
  color: #fff;
  text-decoration: none;
}
form .pass-link a:hover,
form .signup-link a:hover{
	color: hsl(57, 97%, 45%);
}