*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}
:root {
  --dk-violet: hsl(268, 75%, 9%);
  --lt-violet: hsl(268, 47%, 21%);
  --lt-violet2: hsl(281, 89%, 26%);
  --vb-violet: hsl(285, 91%, 52%);
  --vb-violet2: hsl(290, 70%, 36%);

  --vb-yellow: hsl(52, 100%, 62%);

  --pl-white: hsl(0, 0%, 100%);

  --vb-cyan: hsl(176, 100%, 44%);
  --vb-cyan2: hsl(177, 92%, 70%);

  --dk-text: hsl(198, 20%, 13%);
}
body{
      background: linear-gradient(
    231deg,
    rgba(22, 6, 40, 1) 0%,
    rgba(52, 28, 79, 1) 50%,
    rgba(88, 7, 125, 1) 100%
  );
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.display{
    background-color: transparent; /* remove background */
  border: none;                  /* remove border */
  color: inherit;                /* use parent text color */
  outline: none;    
  margin-left: 20px;
}
/* channging color of placeholder text */
.display::placeholder{
    color: var(--vb-yellow);
    text-transform: uppercase;
    font-size: 17px;
}
.data-copyBtn{
    background-color: transparent; /* remove background */
  border: none;                  /* remove border */
  color: inherit;                /* use parent text color */
  outline: none;  
  margin-right: 15px;  
}
.container{
    width: 90%;
    max-width: 450px;
    margin-top: -150px;
}
h1{
    color: var(--pl-white);
    opacity: 0.75;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
}
.displaycontainer{
    position: relative;
    display: flex;
    background: var(--dk-violet);
    border-radius: 1rem;
    border-bottom: 0.35rem solid var(--lt-violet2);
    justify-content: space-between;
    width: 100%;
    height: 17%;
    color: var(--vb-yellow);
    margin-top: 20px;
}

/* to remove the active class which remove the copied msg after 2 sec */
/* example CSS for the copy message */
[data-copyingMsg] {
position: absolute;
  top: 10%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

[data-copyingMsg].active {
   position: absolute;
  top: 10%;
  transform: translateY(-50%);
  background-color: var(--vb-violet);
  border-radius: 7px;
  padding: 4px;
  /* right: 1.5rem; */
  opacity: 1;
}


.input-container{
    background-color: var(--dk-violet);
    border-radius: 1rem;
     width: 100%;
     margin-top: 20px;
     height: 90%;
}
.length-container{
    display: flex;
    justify-content: space-between;
}
.length-container p{
    font-size: 17px;
    color: var(--pl-white);
    margin-top: 20px;
    margin-left: 17px;
}
.num{
    font-size: 15px;
    /* color: var(--vb-yellow); */
    margin-top: 20px;
    margin-right: 17px;
}

.allcheck{
    color: white;
    margin-top: 20px;
    margin-left: 15px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.generate-button{
    width: 90%;
    height: 16%;
    margin-left: 25px;
    color: var(--vb-yellow);
    border-radius: 15px;
    font-size: 22px;
    background: var(--vb-violet);
    margin-top: 10px;
    border-bottom: 0.35rem solid var(--vb-yellow);
}

.strength-container{
    display: flex;
    justify-content: space-around;
    align-items: center;   
    margin-top: 1.75rem;
    margin-bottom: 2rem;
}
.strength-container p{
    color: var(--pl-white);
    font-size: 1.5rem;
}
.indicator{
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
}

.check{
display: flex;
align-items: center;
gap: 0 1rem;
}
.allcheck input{
  appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid var(--vb-cyan);
  cursor: pointer;
  position: relative;
  border-radius: 0.35rem;

}
.check input:checked{
  background-color: var(--vb-cyan);
}
.check input:checked::before{
  content: "✔";
  position: absolute;
  color: var(--dk-text);
  font-size: 1.05rem;
  font-weight: 600;
  left: 50%;
  top: -3.5px;
  transform: translateX(-50%);
}

/* Slider Start  */
.slider {
  appearance: none;
  width: 100%;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  border: none;
  outline: none;
  border-radius: 1rem;
  height: 0.75rem;
  background: var(--lt-violet);
  background-image: linear-gradient(var(--vb-violet), var(--vb-violet));
  background-repeat: no-repeat;
  cursor: pointer;
}

.slider:focus {
  outline: 3px solid var(--vb-yellow);
}

.slider::-webkit-slider-thumb {
  appearance: none;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--vb-yellow);
  box-shadow: 0px 0px 20px 0px rgba(255, 229, 61, 0.5);
  transition: all 100ms ease-in;
  cursor: pointer;
  margin-top: -2px;
  z-index: 2;
  position: relative;
}

.slider::-webkit-slider-thumb:hover {
  outline: 2px solid var(--vb-yellow);
  background-color: var(--dk-violet);
  box-shadow: 0px 0px 25px 5px rgba(255, 229, 61, 0.8);
}