*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html, body {
  min-height: 100vh;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

p, blockquote {
  text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  background: linear-gradient(#14131B, #08070B);
  padding: 3.5rem 1rem;
}

.container {
  position: relative;
}

.header {
  width: 100%;
  text-align: center;
  position: absolute;
  bottom: calc(100% + 1rem);
}
.header h1 {
  color: inherit;
  font-feature-settings: "liga" off, "clig" off;
  /* Text Preset 4 - JetBrains Mono Bold - rem(16px) - rem(20px) Line Height - rem(0px) Line Spacing */
  font-family: "JetBrains Mono";
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.25rem; /* 125% */
  color: #817d92;
  text-align: center;
}

button:not(:disabled) {
  cursor: pointer;
}

.password-generator {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 1rem;
  color: inherit;
  font-feature-settings: "liga" off, "clig" off;
  /* Text Preset 4 - JetBrains Mono Bold - rem(16px) - rem(20px) Line Height - rem(0px) Line Spacing */
  font-family: "JetBrains Mono";
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.25rem; /* 125% */
  color: #e6e5ea;
}
.password-generator__password, .password-generator__body {
  background-color: #24232c;
}
.password-generator__password {
  position: relative;
}
.password-generator__password input {
  width: 100%;
  color: inherit;
  font-feature-settings: "liga" off, "clig" off;
  /* Text Preset 2 - JetBrains Mono Bold - rem(24px) - rem(32px) Line Height - rem(0px) Line Spacing */
  font-family: "JetBrains Mono";
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2rem; /* 133.333% */
  appearance: none;
  background: none;
  border: none;
  outline: none;
  padding: 1rem;
}
.password-generator__password input::placeholder {
  color: #54535b;
}
.password-generator__copy {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0.5rem;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
}
.password-generator__copy span {
  margin-top: 0.125rem;
  color: inherit;
  font-feature-settings: "liga" off, "clig" off;
  /* Text Preset 4 - JetBrains Mono Bold - rem(16px) - rem(20px) Line Height - rem(0px) Line Spacing */
  font-family: "JetBrains Mono";
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.25rem; /* 125% */
  color: #a4ffaf;
  text-transform: uppercase;
  user-select: none;
  --opacity: 0;
  --transition: none;
  opacity: var(--opacity);
  transition: var(--transition);
}
.password-generator__copy button {
  background: none;
  border: none;
  box-sizing: content-box;
  width: 1.09375rem;
  height: 1.25rem;
  padding: 0.5rem;
  mask: url("assets/images/icon-copy.svg") center no-repeat;
  mask-size: 1.09375rem 1.25rem;
  background-color: #a4ffaf;
}
.password-generator__copy button:active:not(:disabled), .password-generator__copy button:focus-visible {
  background-color: white;
}
.password-generator__body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 0;
  padding: 1rem;
}
.password-generator__settings-characters {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 1rem;
  margin-bottom: 2rem;
}
.password-generator__password-strength {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  gap: 0;
  background-color: #18171f;
  padding: 1rem;
  color: #817d92;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.password-generator__password-strength #strengthIndicator {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  color: inherit;
  font-feature-settings: "liga" off, "clig" off;
  /* Text Preset 3 - JetBrains Mono Bold - rem(18px) - rem(24px) Line Height - rem(0px) Line Spacing */
  font-family: "JetBrains Mono";
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.5rem; /* 133.333% */
}
.password-generator__password-strength #passwordStrength {
  text-transform: uppercase;
  color: #e6e5ea;
}
.password-generator__password-strength #strengthBars {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: stretch;
  gap: 0.5rem;
}
.password-generator__password-strength #strengthBars span {
  width: 0.625rem;
  height: 1.75rem;
  border: 0.125rem solid #e6e5ea;
}
.password-generator__password-strength #strengthBars[data-strength=too-weak] span:nth-child(1) {
  background-color: #f64a4a;
  border-color: #f64a4a;
}
.password-generator__password-strength #strengthBars[data-strength=weak] span:nth-child(-n+2) {
  background-color: #fb7c58;
  border-color: #fb7c58;
}
.password-generator__password-strength #strengthBars[data-strength=medium] span:nth-child(-n+3) {
  background-color: #f8cd65;
  border-color: #f8cd65;
}
.password-generator__password-strength #strengthBars[data-strength=strong] span:nth-child(-n+4) {
  background-color: #a4ffaf;
  border-color: #a4ffaf;
}
.password-generator__generate-btn {
  border: none;
  outline: none;
  padding: 1rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: baseline;
  gap: 1rem;
  color: #18171f;
  text-transform: uppercase;
  background-color: #a4ffaf;
}
.password-generator__generate-btn .right-arrow {
  width: 0.75rem;
  height: 0.75rem;
  mask: url("assets/images/icon-arrow-right.svg") no-repeat center;
  mask-size: contain;
  background-color: #18171f;
}
.password-generator__generate-btn:active:not(:disabled), .password-generator__generate-btn:focus-visible {
  background-color: #18171f;
  color: #a4ffaf;
  box-shadow: inset 0 0 0 0.125rem #a4ffaf;
}
.password-generator__generate-btn:active:not(:disabled) .right-arrow, .password-generator__generate-btn:focus-visible .right-arrow {
  background-color: #a4ffaf;
}

.label-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0;
  margin-bottom: 0.5rem;
}
.label-row span {
  width: 2ch;
  color: inherit;
  font-feature-settings: "liga" off, "clig" off;
  /* Text Preset 2 - JetBrains Mono Bold - rem(24px) - rem(32px) Line Height - rem(0px) Line Spacing */
  font-family: "JetBrains Mono";
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2rem; /* 133.333% */
  color: #a4ffaf;
}

input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  display: block;
  width: 100%;
  height: 1.75rem;
  margin-bottom: 2rem;
  border: none;
  outline: none;
  --progress: 0;
}
input[type=range]::-webkit-slider-runnable-track {
  height: 0.5rem;
  background: linear-gradient(to right, #a4ffaf 0%, #a4ffaf var(--progress), #18171f var(--progress), #18171f 100%);
}
input[type=range]::-moz-range-track {
  height: 0.5rem;
  background: linear-gradient(to right, #a4ffaf 0%, #a4ffaf var(--progress), #18171f var(--progress), #18171f 100%);
}
input[type=range]::-webkit-slider-thumb {
  height: 1.75rem;
  width: 1.75rem;
  background: #e6e5ea;
  border-radius: 50%;
  margin-top: -0.625rem;
  cursor: grab;
  -webkit-appearance: none;
}
input[type=range]::-moz-range-thumb {
  height: 1.75rem;
  width: 1.75rem;
  background: #e6e5ea;
  border-radius: 50%;
  margin-top: -0.625rem;
  cursor: grab;
}
input[type=range]::-ms-thumb {
  height: 1.75rem;
  width: 1.75rem;
  background: #e6e5ea;
  border-radius: 50%;
  margin-top: -0.625rem;
  cursor: grab;
}
input[type=range]:active::-webkit-slider-thumb {
  background-color: #18171f;
  border: 0.125rem solid #a4ffaf;
  cursor: grabbing;
}
input[type=range]:active::-moz-range-thumb {
  background-color: #18171f;
  border: 0.125rem solid #a4ffaf;
  cursor: grabbing;
}
input[type=range]:focus-visible::-webkit-slider-thumb {
  background-color: #18171f;
  border: 0.125rem solid #a4ffaf;
  cursor: grabbing;
}
input[type=range]:focus-visible::-moz-range-thumb {
  background-color: #18171f;
  border: 0.125rem solid #a4ffaf;
  cursor: grabbing;
}

input[type=checkbox] {
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border: 0.125rem solid #e6e5ea;
  background: none;
  cursor: pointer;
}
input[type=checkbox]:checked {
  background-color: #a4ffaf;
  border-color: #a4ffaf;
  background-image: url("assets/images/icon-check.svg");
  background-position: center bottom 0.0625rem;
  background-repeat: no-repeat;
}

.checkbox-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 23.375rem) {
  .password-generator__password-strength {
    align-items: center;
  }
  #copyMessage, #passwordStrength {
    display: none;
  }
}
@media (min-width: 48rem) {
  body {
    padding-left: 0;
    padding-right: 0;
  }
  .password-generator {
    width: 33.75rem;
    color: inherit;
    font-feature-settings: "liga" off, "clig" off;
    /* Text Preset 3 - JetBrains Mono Bold - rem(18px) - rem(24px) Line Height - rem(0px) Line Spacing */
    font-family: "JetBrains Mono";
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.5rem; /* 133.333% */
    color: #e6e5ea;
    gap: 1.5rem;
  }
  .password-generator__password input {
    color: inherit;
    font-feature-settings: "liga" off, "clig" off;
    /* Text Preset 1 - JetBrains Mono Bold - rem(32px) - rem(42px) Line Height - rem(0px) Line Spacing */
    font-family: "JetBrains Mono";
    font-size: 2rem;
    font-style: normal;
    font-weight: 700;
    line-height: 2.625rem; /* 131.25% */
    padding: 1rem 2rem;
  }
  .password-generator__copy {
    right: 1.5rem;
    gap: 0.5rem;
  }
  .password-generator__copy button {
    width: 1.3125rem;
    height: 1.5rem;
    mask-size: 1.3125rem 1.5rem;
  }
  .password-generator__copy span {
    color: inherit;
    font-feature-settings: "liga" off, "clig" off;
    /* Text Preset 3 - JetBrains Mono Bold - rem(18px) - rem(24px) Line Height - rem(0px) Line Spacing */
    font-family: "JetBrains Mono";
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.5rem; /* 133.333% */
    color: #a4ffaf;
  }
  .password-generator__body {
    padding: 1.5rem 2rem;
  }
  .password-generator__password-strength {
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
  }
  .password-generator__password-strength #strengthIndicator {
    color: inherit;
    font-feature-settings: "liga" off, "clig" off;
    /* Text Preset 2 - JetBrains Mono Bold - rem(24px) - rem(32px) Line Height - rem(0px) Line Spacing */
    font-family: "JetBrains Mono";
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: 2rem; /* 133.333% */
  }
  .password-generator__generate-btn {
    gap: 1.5rem;
    padding: 1.5rem 0;
    margin-bottom: 1rem;
  }
  .label-row {
    margin-bottom: 1rem;
  }
  .label-row span {
    width: unset;
    color: inherit;
    font-feature-settings: "liga" off, "clig" off;
    /* Text Preset 1 - JetBrains Mono Bold - rem(32px) - rem(42px) Line Height - rem(0px) Line Spacing */
    font-family: "JetBrains Mono";
    font-size: 2rem;
    font-style: normal;
    font-weight: 700;
    line-height: 2.625rem; /* 131.25% */
    color: #a4ffaf;
  }
  .header {
    bottom: calc(100% + 2rem);
  }
  .header h1 {
    color: inherit;
    font-feature-settings: "liga" off, "clig" off;
    /* Text Preset 2 - JetBrains Mono Bold - rem(24px) - rem(32px) Line Height - rem(0px) Line Spacing */
    font-family: "JetBrains Mono";
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: 2rem; /* 133.333% */
    color: #817d92;
  }
}
@media (hover: hover) {
  #copyButton:hover:not(:disabled) {
    background-color: white;
  }
  .password-generator__generate-btn:hover:not(:disabled) {
    background-color: #18171f;
    color: #a4ffaf;
    box-shadow: inset 0 0 0 0.125rem #a4ffaf;
  }
  .password-generator__generate-btn:hover:not(:disabled) .right-arrow {
    background-color: #a4ffaf;
  }
}

/*# sourceMappingURL=style.css.map */
