.card p,
.tab p.qst {
  color: #3a0f40;
  line-height: 25px;
}
div.card2,
form {
  gap: 10px;
  display: flex;
}
#regForm,
div.card,
div.card2,
form {
  display: flex;
}
.card p,
h1 {
  text-align: center;
}
#regForm,
button {
  font-family: Raleway;
}
*,
:after,
:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
#errorMessage1,
#errorMessage2,
#errorMessage3,
#errorMessage4,
#errorMessage5 {
  color: red;
  font-size: 12px;
  display: none;
  float: left;
  margin-top: -8px;
}
.progress {
  height: 30px;
  background: #3149bc0f;
  border-radius: 22px;
}
.progress-bar {
  font-size: 30px;
  border-radius: 22px;
  color: #fff;
}
.hint,
.la {
  font-size: 14px;
}
.tab p.qst {
  font-size: 30px;
  margin-bottom: 20px;
}
.hint {
  padding: 0.75rem calc(1rem - 1px);
  background-color: #d0ebf0;
  margin: 1rem 0 1.5rem;
}
div.card {
  border: 1px solid;
  width: 100%;
  aspect-ratio: 1/1;
  min-width: 50px;
  margin: 10px;
  padding: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
}
div.card2 {
  padding: 5px;
  flex-direction: row;
  align-items: center;
}
p {
  margin: 0;
}
label.change,
label.change2 {
  width: 100%;
  border: none;
}
form {
  flex-direction: column;
}
div.card2 {
  width: 100%;
  height: 50px;
  padding-left: 15px;
  border: 1px solid rgba(0, 0, 0, 0.442);
  border-radius: 5px;
}
i,
input[type="radio"] {
  width: 20px;
  height: 20px;
}
.card,
.card2 {
  border: none;
}
label:hover .card,
label:hover .card2 {
  border: 2px solid #3a0f40;
  background-color: rgba(194, 194, 194, 0.216);
}
label[for="box1"],
label[for="box2"] {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 40%;
}
.n:has(.change) {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.n:has(.change2) {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
#regForm {
  background-color: #fff;
  margin: 100px auto;
  padding: 20px;
  width: 50%;
  flex-direction: column;
}
input[type="email"],
input[type="password"],
input[type="text"] {
  padding: 10px;
  width: 100%;
  font-size: 17px;
  font-family: Raleway;
  border: 1px solid #aaa;
  border-radius: 7px;
}
input.invalid {
  background-color: #fdd;
}
.tab {
  display: none;
  gap: 30px;
  margin-top: 30px;
  justify-content: center;
  align-items: center;
}
.checkBox,
.la {
  margin-top: 20px;
}
button {
  background-color: #04aa6d;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 17px;
  cursor: pointer;
  border-radius: 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
button:hover {
  opacity: 0.8;
}
#prevBtn {
  background-color: transparent;
  color: #00f;
  text-align: left;
}
i {
  font-size: 20px;
}
.la {
  padding-left: 10px;
}
.checkBox {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
}
input[type="checkbox"] {
  width: 30px;
  height: 30px;
}
@media screen and (max-width: 600px) {
  .card,
  .tab,
  button {
    width: 100%;
  }
}
.spiner {
  width: 200px;
  display: block;
  margin: auto;
}
