* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: rgb(19, 18, 26);
  display: grid;
  justify-content: center;
  align-items: center;
  /* height: 50vh; */
  font-family: "Roboto Mono";
  letter-spacing: 0;
}

.container {
  align-self: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: rgb(36, 35, 43);
  color: white;
}

.heading {
  margin: 2rem;
  justify-self: center;
  color: lightgray;
}

.password {
  padding: 1rem;
  width: 500px;
  border-bottom: 2rem solid rgb(19, 18, 26);
  display: flex;
  justify-content: start;
  align-items: center;
  font-size: 0.7rem;
  word-break: break-all;
}

.password h1 {
  width: 300px;
  opacity: 0.5;
}

.copy {
  height: 1.2rem;
  width: 1.2rem;
  justify-self: end;
  translate: 9rem;
  fill: rgb(164, 255, 175);
  cursor: pointer;
  position: relative;
}
form {
  padding: 2rem;
  display: grid;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.selectors {
  display: flex;
  width: 400px;
  justify-content: start;
  align-items: center;
  gap: 2rem;
}

.selectors-top {
  display: flex;
  justify-content: center;
  /* align-items: center; */
}

input#NumberOfCharacters {
  width: 100%;
}

#characterLength {
  display: inline;
  margin: auto;
  translate: 6rem;
  color: rgb(164, 255, 175);
}

.range {
  width: 400px;
  height: 15px;
  -webkit-appearance: none;
  background: #111;
  outline: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 1);
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  overflow: visible;
  /* scale: 1.5; */
  border-radius: 50%;
  background: white;
  cursor: pointer;
  /* border: 4px solid #333; */
  border: 2px solid black;
  transition: all 0.3s ease;
  box-shadow: -407px 0 0 400px rgb(164, 255, 175);
}

.range::-webkit-slider-thumb:active {
  transition: all 0.3s ease;
  background-color: black;
  border: 0.5px solid white;
}

.strength {
  display: flex;
  align-items: center;
  height: 4rem;
  background-color: rgb(19, 18, 26);
}

.strength h3 {
  justify-self: start;
  opacity: 0.4;
  font-size: 15px;
  margin-left: 2rem;
}

.strength h2 {
  margin: auto;
  scale: 0.8;
  translate: 2rem;
}

.color-bars {
  height: 70%;
  width: 0.8rem;
  background-color: transparent;
  border: 0.5px solid rgba(128, 128, 128, 0.642);
  margin: 0.3rem;
  transition: all 0.3s;
}

.color-bars:nth-child(6) {
  margin-right: 1rem;
}

button {
  height: 3rem;
  background-color: rgb(164, 255, 175);
  transition: all 0.3s;
  cursor: pointer;
  font-family: inherit;
}

button:hover {
  border: 1px solid rgb(164, 255, 175);
  background-color: rgb(19, 18, 26);
  color: rgb(164, 255, 175);
}
.password-strength {
  /* opacity: 0; */
  transition: opacity 0.3s;
}
