#holder, #reset-password-form {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card {
  border-radius: 20px;
  overflow: hide;
  width: 55vh;
  background: var(--foreground);
  box-shadow: 15px 15px rgba(0, 0, 0, 0.2);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  z-index: 1;
  position: absolute;
}

form {
  width: 100%;
}

.title {
  margin-top: 10px;
  margin-bottom: 0px;
  font-size: 50px;
}

#title-holder {
  width: 80%;
}

#submit-button {
  margin-top: 15px;
  margin-bottom: 5px;
  width: 80%;
  aspect-ratio: 30/4;
  border-radius: 5px;
  border: #656565;
  box-shadow: 5px 5px var(--shadow);
  background-image: radial-gradient(circle, var(--secondary) 0%, var(--primary) 50%, var(--primary) 100%);
  background-size: 200%;
  color: var(--text);
  text-transform: uppercase;
  font-weight: bold;
  font-size: 20px;
  letter-spacing: 2.5px;
  cursor: pointer;
  transition: background-position 400ms ease-in-out;
  background-position: 0%;
}

#submit-button:hover {
  background-position: 100%;
}

.input {
  width: 100%;
  height: 25px;
  border-radius: 10px;
  border: none;
  text-indent: 10px;
  box-shadow: 5px 5px var(--shadow);
}

.input[data-status="error"] {
  animation: error 350ms linear;
  border: 2px solid var(--error);
}

@keyframes error {
  0% {
    translate: 0px, 0px;
  }
  33% {
    translate: 20px 0px;
  }
  50% {
    translate: -15px 0px;
  }
  75% {
    translate: 10px 0px;
  }
  80% {
    translate: -5px 0px;
  }
  90% {
    translate: 2px 0px;
  }
  95% {
    translate: -1px 0px;
  }
}
label {
  color: var(--text);
  font-size: 20px;
}

.allInputHolder {
  width: 100%;
  align-items: center;
  display: flex;
  flex-direction: column;
}

.inputHolder {
  width: 80%;
  justify-content: center;
  padding-top: 10px;
}

.inputHolder > div:nth-child(2) {
  width: 100%;
  justify-content: center;
  display: flex;
}

.submitHolder {
  width: 100%;
  justify-content: center;
  align-items: flex-end;
  display: flex;
  margin-top: 30px;
}

#resetHolder {
  width: 100%;
  justify-content: center;
  display: flex;
}

#resetHolder > div {
  width: 80%;
}

#resetButton {
  background-color: transparent;
  border: none;
  font-size: 15px;
  color: var(--secondary);
  cursor: pointer;
}

#resetButton > p {
  margin-top: 0px;
}

#email-overlay {
  background: var(--overlay);
  position: absolute;
  z-index: 2;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 300ms ease-in-out, z-index 300ms step-start;
}

#email-overlay[data-status=hidden] {
  z-index: -1;
  opacity: 0;
  transition-timing-function: linear, step-end;
}

#email-overlay[data-status=show] {
  z-index: 2;
  opacity: 1;
}

#confirm-holder {
  border-radius: 20px;
  overflow: hide;
  width: 65vh;
  aspect-ratio: 10/5;
  background: var(--foreground);
  box-shadow: 15px 15px rgba(0, 0, 0, 0.2);
  padding: 30px;
  display: flex; 
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

#email-button-holder {
  width: 100%;
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
}

#email-button-holder > button {
  font-size: 20px;
  color: var(--text);
  padding: 15px;
  border-radius: 10px;
  border: none;
  box-shadow: 10px 10px var(--shadow);
  cursor: pointer;
  transition: background-position 400ms ease-in-out;
}

#email-button-holder > button:hover {
  filter: brightness(80%);
}

#resend-button {
  background: var(--secondary);
}

#close-email-window {
  background: var(--primary);
}

button:active {
  animation: click 400ms ease;
}

@keyframes click {
  0% {
    scale: 1;
  }
  80% {
    scale: 0.9;
  }
  100% {
    scale: 0.95;
  }
}

.hide {
  display: none;
}