@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

*{
  box-sizing: border-box;
}
body{
  margin:0;
  font-family: "Poppins" , sans-serif;
  background-color: rebeccapurple;
  color:#eee;
  display:flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.pw-container{
  width: 400px;
  background-color: rgb(80,17,115);
  box-shadow: 0 4px 10px rgba(0,0,0,0.6);
}

.pw-header{
  padding : 1rem;
}

.pw{
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  position: relative;
  font-size: 1.5rem;
  padding: 1rem;
}

.pw button{
  position: absolute;
  top: 0;
  right: 0;
  transform:translate(0,50%);
  transition: opacity 0.2s ease , transform 0.2s ease;
  opacity: 0;
  background-color: rgba(35,5,66);
  padding: 0.5rem 1rem;
  font-family: inherit;
  font-weight: bold;
  color: #fff;
  border: none;
  cursor: pointer;
}

.pw:hover button{
  opacity: 1;
  transform: translateX(0,-80%);
}

.pw-body{
  padding: 0 2rem 1rem;

}

.form-control{
  color: #eee;
  display: flex;
  justify-content: space-between;
  margin: 0,0.75,0;

}

.generate{
  display: block;
  background-color: #ecb602;
  color: rebeccapurple;
  padding: 1rem;
  font-weight: 1rem;
  font-size :1.5rem;
  font-weight: bold;
  padding: 1rem;
  margin-top: 1rem;
  border: none;
  width: 100%;
  cursor: pointer;
  }

.pw{
  background-color: rebeccapurple;
}
