@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap");
body {
  background-color: #18171f;
  font-family: "JetBrains Mono";
}
.parent {
  width: 540px;
  margin: auto;

  opacity: 0;
  pointer-events: none;
  transition: 1s ease;
}
.output {
  background-color: #24232c;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
}

h2 {
  text-align: center;
  color: #817d92;
  font-size: 24px;
}
.setting {
  margin-top: 24px;

  background-color: #24232c;
}
.length {
  color: #e6e5ea;
  font-size: 18px;
  padding-top: 10px;
}
.length-count {
  color: #a4ffaf;
  font-size: 32px;
  margin-right: 15px;
}
.length-parent {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  margin-left: 32px;
  margin-right: 15px;
}
.checkbox-parent {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e6e5ea;
  font-size: 18px;
  margin-bottom: 19px;
}

.checkbox1 {
  margin: 32px;
  width: 315px;
  height: 152px;
}
.btn {
  width: 476px;
  height: 65px;
  margin: 32px;
  background-color: #a4ffaf;
  font-size: 18px;
}
.btn:hover {
  background-color: #24232c;
  border: 2px solid #a4ffaf;
  color: #a4ffaf;
}
.btn:active {
  background-color: #24232c;
  border: 2px solid #a4ffaf;
  color: #a4ffaf;
  outline: 2px dashed #a4ffaf;
  outline-offset: 4px;
}
.range {
  width: 476px;
  margin-left: 32px;

  margin-top: 20px;
  margin-bottom: 20px;
  accent-color: #a4ffaf;
}
.img {
  margin-left: 32px;
}
.checkbox {
  accent-color: #a4ffaf;
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.strength-img {
  display: none;
}

.strength-img.active {
  display: block;
}
.score {
  font-size: 32px;
  padding-top: auto;
  margin-left: 32px;
  color: #817d92;
}
.score.generated {
  color: #e6e5ea;
}

.copy-container {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  padding-right: 15px;
}

.copy-container .copied {
  display: none;
}

.copy-container.copied .default-img {
  display: none;
}

.copy-container.copied .copied {
  display: flex;
  gap: 5px;
}
.error {
  color: #ff6b6b;
  font-size: 14px;
  margin-left: 32px;
  margin-bottom: 10px;
  display: none;
}
.error.show {
  display: block;
}
.intro {
  position: fixed;
  inset: 0;
  background: url("../img/bg-img.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: 1s ease;
}
.intro.hide {
  transform: translateY(-100%);
  opacity: 0;
}

.parent.show {
  opacity: 1;
  pointer-events: auto;
}
.intro {
  position: fixed;
  inset: 0;
  background: url("../img/bg-img.jpg") center/cover no-repeat;
  display: flex;
  justify-content: center;
  z-index: 10;
}
.glass-box {
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: 40px;
  width: 420px;
  text-align: center;
  color: white;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.glass-box h1 {
  margin-bottom: 16px;
  font-size: 28px;
  letter-spacing: 1px;
}
.glass-box p {
  font-size: 15px;
  line-height: 1.6;
  color: white;
  margin-bottom: 28px;
}
#enterBtn {
  padding: 14px 32px;
  background: rgba(164, 255, 175, 0.15);
  border: 1px solid #a4ffaf;
  color: #a4ffaf;
  font-size: 16px;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 10px;
  transition: 0.3s ease;
}
#enterBtn:hover {
  background: #a4ffaf;
  color: #18171f;
}
#enterBtn:active {
  transform: scale(0.96);
}
.intro-footer {
  position: fixed;
  bottom: 20px;
  right: 24px;

  color: #e6e5ea;
  font-size: 14px;
  letter-spacing: 1px;
  opacity: 0.6;

  user-select: none;
  z-index: 999;
}
