@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f0f0f0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.container {
  background-color: #fff;
  padding: 10px 30px;
  width: 500px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

h2 {
  margin: 15px 5px;
  color: #1a237e;
  margin-bottom: 30px;
  font-weight: 600;
}

h2 span {
  text-decoration: 4px underline #1a237e;
  text-underline-offset: 10px;
}

.passwordBox {
  position: relative;
  margin: 15px 0px;
}

#password {
  width: 100%;
  padding: 5px 20px;
  outline: 0;
  border: 3px solid #2600ff;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  color: #1a237e;
  font-weight: 600;
  font-size: 20px;
}
#password::placeholder {
  font-weight: 400;
}

.passwordBox span {
  position: absolute;
  top: 25%;
  right: 10px;
  font-size: 28px;
  color: #1a237e;
  font-weight: 900;
}

.lengthRow {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}

.lengthRow p {
  color: #1a237e;
}

#lengthSlider {
  appearance: none;
  background: #2600ff;
  width: 100%;
  height: 6px;
  outline: none;
  border-radius: 50px;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  -ms-border-radius: 50px;
  -o-border-radius: 50px;
  margin-bottom: 20px;
}

#lengthSlider::-webkit-slider-thumb {
  appearance: none;
  width: 22px;
  height: 22px;
  background: #4400ff;
  border: 4px solid #fff;
  outline: 1px solid #4400ff;
  border-radius: 50px;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  -ms-border-radius: 50px;
  -o-border-radius: 50px;
  cursor: pointer;
}

.row {
  margin: 10px 0px;
  position: relative;
  box-shadow: 0px 0px 5px rgba(107, 107, 107, 0.7);
  padding: 5px 15px;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  display: flex;
  align-items: center;
}

.row label {
  margin-inline: 5px;
  font-weight: 600;
}

.checkbox {
  color: #1a237e;
  cursor: pointer;
  font-size: 24px;
}

button {
  position: relative;
  width: 100%;
  background-color: #1a237e;
  color: #fff;
  padding: 8px 20px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border: none;
  outline: none;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-block: 20px;
  font-size: 18px;
  cursor: pointer;
}

button span {
  margin-inline: 5px;
}
