:root {
  --bg: #262a2f;
  --bg-white: #fff;
  --text-black: #333;
  --text-white: #fff;
  --btn-bg: hsl(211, 100%, 50%);
  --btn-hover: hsl(211, 100%, 55%);
  --btn-active: hsl(211, 100%, 65%);
  --Err-bg: green;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
body {
  background: var(--bg);
  color: var(--text-black);
}
main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
.success-message {
  color: var(--text-white);
  background: var(--Err-bg);
  font-size: 2em;
  text-align: center;
  padding: 30px;
  border-radius: 20px;
  max-width: 300px;
  position: absolute;
  transform: scale(0);
  transition: transform 1.75s ease-in-out 0.5s;
  opacity: 0;
}
.success-message.active {
  transform: scale(1);
  opacity: 1;
}
.signup-container {
  background: var(--bg-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 30px;
  border-radius: 20px;
  width: 400px;
}
#form {
  display: flex;
  flex-direction: column;
  padding: 15px 0;
  gap: 3px;
}
label {
  font-size: 0.8em;
  font-weight: 300;
}
input,
select {
  padding: 5px;
  border-radius: 20px;
  border: 1px solid var(--btn-bg);
}
input:focus,
button:focus,
select:focus {
  outline: none;
}
.error {
  color: red;
  font-size: 0.6em;
  text-align: center;
}
#signUpBtn {
  margin-top: 20px;
  padding: 5px;
  border-radius: 20px;
  border: 1px solid var(--btn-bg);

  font-weight: 600;
  color: #fff;
  background: var(--btn-bg);
  transition: all 0.3s ease;
}
#signUpBtn:hover {
  background: var(--btn-hover);
}
#signUpBtn:active {
  background: var(--btn-active);
}
