.passform {
  display: grid;
  justify-items: center;
  align-items: center;
  gap: 1rem;
  font-size: 1.4rem;
  margin: 4rem;
  margin-bottom: 6rem;
  position: relative;
}

.passform input,
.passform button {
  font-size: 1.4rem;
  line-height: 1;
  position: relative;
  z-index: 5;
}

.passform button {
  padding: 0.6rem;
}

.passform input {
  margin-right: 10px;
  padding: 0.6rem;
  transition: 0.6s;
}

.passform.correctpass input {
  background: #c5fe98;
}

.passform.incorrectpass input {
  background: #fe98a4;
}

.passform .pcorrect,
.passform .pincorrect {
  position: absolute;
  z-index: 1;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: 0.4s;
}

.passform.incorrectpass .pincorrect {
  bottom: -50px;
  opacity: 1;
}

.passform.correctpass .pcorrect {
  bottom: -50px;
  opacity: 1;
}
