@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
* {
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background: #673ab7;
}

form {
  width: 500px;
  margin: 8% auto;
  padding: 50px 0;
  text-align: center;
  box-shadow: 0 20px 40px rgb(0, 0, 0);
}

.input-box {
  margin: 30px auto;
  width: 80%;
  position: relative;
  box-shadow: 0 10px -10px rgb(0, 0, 0);
}

.input-box input {
  width: 100%;
  height: 40px;
  border: none;
  background: #efefef;
  padding-left: 50px;
}
span {
  position: absolute;
  left: 0;
  top: 0;
  height: 40px;
  width: 40px;
  background: linear-gradient(to right, #4caf50, #00bcd4);
}

span i {
  padding: 10px;
  color: #fff;
}

button {
  width: 130px;
  height: 40px;
  margin-left: 10%;
  display: block;
  color: #fff;
  border: 0;
  font-size: 16px;
  outline: none;
  background: linear-gradient(to right, #4caf50, #00bcd4);
  box-shadow: 0 10px -10px rgb(0, 0, 0);
  cursor: pointer;
}

button i {
  margin-right: 10px;
}

form .img-container {
  display: flex;
  justify-content: center;
}

form .img-container .img {
  background: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
  margin-top: -100px;
}

.img i {
  color: #673ab7;
  font-size: 65px;
  margin-top: -5px;
}

.password-strength-indicator {
  top: 33px;
  font-size: 12px;
  display: inline-block;
  height: 15px;
  text-align: center;
  transition: 1s;
  margin: 15px 0;
  color: #fff;
}

.password-strength-indicator.very-weak {
  background: #cf0000;
  width: 20%;
}
.password-strength-indicator.weak {
  background: #f6891f;
  width: 40%;
}
.password-strength-indicator.mediocre {
  background: #eeee00;
  width: 60%;
}
.password-strength-indicator.strong {
  background: #99ff33;
  width: 80%;
}
.password-strength-indicator.very-strong {
  background: #22cf00;
  width: 100%;
}
