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




  


body {
  min-height: 100vh;
  font-family: Open sans, Helvetica, sans-serif;
  
  background-image: url("ressources/10.png");
  //background: #111;
  padding: clamp(20px, 5vw, 50px) 10px 10px;
}

.container {
  max-width: 600px;
  margin: 100px auto;
  padding: 20px;
  color: #d1d1d1;
}
.heading {
  font-size: 40px;
  margin-bottom: 60px;
  font-weight: 700;
  text-align: center;
}
.password-container {
  display: flex;
  align-items: flex-end;
}
.password-container p {
  font-size: 30px;
  margin-right: 15px;
  letter-spacing: 1px;
  padding: 10px 0;
  width: 100%;
  border-bottom: 1px solid #f1f1f1;
}
.copy-btn {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: relative;
}
.copy-btn:hover {
  background-color: #fff;
}
.copy-btn img {
  width: 50%;
}
.copy-btn::before {
  content: "Copié ✔️";
  font-size: 16px;
  padding: 6px;
  white-space: nowrap;
  display: block;
  position: absolute;
  top: -80%;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 5px;
  background: #fff;
  display: none;
}
.copy-btn.active::before {
  display: block;
  animation: toast 0.6s ease-out;
}
@keyframes toast {
  to {
    transform: translateX(-50%) translateY(-2px);
  }
}
.range-group {
  margin-top: 30px;
}
.range-group label, .range-group input {
  display: block;
}
.range-group label{
  font-size: 16px;
}
.range-group input {
  margin-top: 10px;
  width: 100%;
  height: 4px;
  cursor: pointer;
}

.checkboxes-container {
  margin: 30px 0;
}
.checkbox-group {
  display: flex;
  align-items: center;
}
.checkbox-group:not(:first-of-type) {
  margin-top: 20px;
}
.checkbox-group input {
  border: none;
  width: 15px;
  height: 15px;
  cursor: pointer;
}
.checkbox-group label {
  font-size: 16px;
  padding-left: 18px;
  font-size: 100;
  cursor: pointer;
}

.generate-password-btn {
  font-size: 18px;
  min-width: 150px;
  padding: 10px 0;
  margin: 0 auto;
  display: block;
  border: 1px solid #f1f1f1;
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  color: #d1d1d1;
}
.generate-password-btn:hover {
  background: #f1f1f1;
  color: #333;
}
.error-msg {
  margin-top: 50px;
  text-align: center;
  color: #fff;
}