:root {
  --main-fs: 18px;
  --color-bg-black: rgb(0, 0, 0);
  --color-bg-green: #93c5fd;
  --color-white: #ffffff;
  --color-line: rgb(255, 255, 255);
}

/* CSS RESET */
* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

/* STYLES */
body {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Tektur", sans-serif;
  font-size: var(--main-fs);
  background-color: var(--color-bg-black);
  color: var(--color-white);
  min-height: 100vh;
}

.container {
  width: 450px;
  background-color: var(--color-bg-black);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  /* box-shadow: -2px 2px 14px 0px #93c5fd; */
}

.container h2 {
  font-weight: 700;
  font-size: 1.3rem;
  padding: 1rem 1.175rem;
  border-bottom: 0.5px solid var(--color-line);
}

.wrapper {
  margin: 1.25rem 1.75rem;
}

.wrapper .input-box {
  position: relative;
}

.input-box input {
  width: 100%;
  height: 53px;
  font-size: 1.06rem;
  font-weight: 500;
  border-radius: 4px;
  border: 1px solid var(--color-line);
  color: rgb(179, 178, 178);
  padding: 0 2.85rem 0 1rem;
  background-color: transparent;
}

.input-box span {
  position: absolute;
  top: 18px;
  right: 22px;
  line-height: 53px;
  cursor: pointer;
}

.wrapper .pass-indicator {
  position: relative;
  width: 100%;
  height: 1px;
  background: var(--color-line);
  margin-top: 0.75rem;
  border-radius: 25px;
}

.pass-indicator::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 50%;
  background: #000;
  border-radius: inherit;
  transition: width 0.3s ease;
}

.pass-indicator#weak::before {
  width: 20%;
  background: red;
}

.pass-indicator#medium::before {
  width: 50%;
  background: yellow;
}

.pass-indicator#strong::before {
  width: 90%;
  background: green;
}

.wrapper .pass-length {
  margin: 1.56rem 0 1.25rem;
}

.pass-length .details {
  display: flex;
  justify-content: space-between;
}

/* Copy Button */
.gg-copy {
  box-sizing: border-box;
  position: relative;
  display: block;
  transform: scale(var(--ggs, 1));
  width: 14px;
  height: 18px;
  border: 2px solid;
  margin-left: -5px;
  margin-top: -4px;
}

.gg-copy::after,
.gg-copy::before {
  content: "";
  display: block;
  box-sizing: border-box;
  position: absolute;
}

.gg-copy::before {
  background: linear-gradient(to left, currentColor 5px, transparent 0)
      no-repeat right top/5px 2px,
    linear-gradient(to left, currentColor 5px, transparent 0) no-repeat left
      bottom/ 2px 5px;
  box-shadow: inset -4px -4px 0 -2px;
  bottom: -6px;
  right: -6px;
  width: 14px;
  height: 18px;
}

.gg-copy::after {
  width: 6px;
  height: 2px;
  background: currentColor;
  left: 2px;
  top: 2px;
  box-shadow: 0 4px 0, 0 8px 0;
}

/* INPUT STYLES */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
  width: 100%;
  height: 5px;
}

input[type="range"]:focus {
  outline: none;
}

input[type="range"]::-webkit-slider-runnable-track {
  background-color: var(--color-line);
  border-radius: 0.2rem;
  height: 0.1rem;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  /* Override default look */
  appearance: none;
  margin-top: -4px;
  /* Centers thumb on the track */
  /*custom styles*/
  background-color: var(--color-line);
  height: 0.7rem;
  width: 0.7rem;
}

input[type="range"]:focus::-webkit-slider-thumb {
  border: 1px solid var(--color-bg-green);
  outline: 3px solid var(--color-bg-green);
  outline-offset: 0.125rem;
}

/* Firefox styles */
input[type="range"]::-moz-range-track {
  background-color: var(--color-line);
  border-radius: 0.2rem;
  height: 0.1rem;
}

input[type="range"]::-moz-range-thumb {
  border: none;
  /*Removes extra border that FF applies*/
  border-radius: 0;
  /*Removes default border-radius that FF applies*/
  /*custom styles*/
  background-color: var(--color-line);
  height: 0.7rem;
  width: 0.7rem;
}

input[type="range"]:focus::-moz-range-thumb {
  border: 1px solid var(--color-bg-green);
  outline: 3px solid var(--color-bg-green);
  outline-offset: 0.125rem;
}

.pass-settings .title {
  font-size: 1rem;
  color: rgb(161, 163, 161);
}

.pass-settings .options {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.pass-settings .options .option {
  display: flex;
  margin-bottom: 1rem;
  align-items: center;
  width: calc(100% / 2);
}

.options .option:first-child {
  pointer-events: none;
}

.options .option:first-child input {
  opacity: 0.3;
}

.options .option input {
  height: 16px;
  width: 16px;
  cursor: pointer;
}

.options .option label {
  cursor: pointer;
  padding-left: 0.63rem;
  font-size: 0.875rem;
}

.wrapper .generate-btn {
  width: 100%;
  font-size: 1.1rem;
  padding: 0.94rem 0;
  margin: 0.94rem 0 1.3rem;
  background: #000;
  color: var(--color-white);
  border-radius: 5px;
  cursor: pointer;
  border: none;
  outline: none;
  text-transform: uppercase;
}

body {
  font-family: "Nunito Sans", sans-serif;
  background-color: #000000;
}

h2 {
  font-weight: 400;
}

a {
  color: white;
  text-decoration: none;
}

a:hover {
  color: #93c5fd;
}

.wrapper .generate-btn {
  background-color: white;
  color: black;
}

body {
  padding: 5px;
}
