.containerform {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 30px 10px 30px 10px;
  box-sizing: border-box;
}

#regForm {

  height: fit-content;
  top: 0px;
  max-width: 450px;
  position: relative;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0px 0px 10px hsl(0, 0%, 60%);
  background-color: hsl(0, 0%, 98%);
  line-height: 1;
}

.formTitle {
  font-size: 34px;
  font-weight: bold;
  color: hsl(0, 0%, 20%);
  text-align: center;
  margin-bottom: 10px;
  overflow: hidden;
  /* Ensures the content is clipped during the transition */
  max-height: 34px;
  /* Set this to a value that fits your title content */
  opacity: 1;
  transition: max-height 1s ease-out, opacity 1s ease-out;


}

.formTitle.hidden {
  max-height: 0px;
  /* Animate to 0px height */
  opacity: 0;
  /* Optional: Fade out the title */
}

.stepContainer {
  display: flex;
  justify-content: center;
}

.step {
  height: 5px;
  flex: 1 1 50px;
  background-color: hsl(0, 0%, 80%);
  opacity: 0.7;
}

.step.active {
  opacity: 1;
}

.step.finish {
  background-color: #04AA6D;
}

.tab {
  display: none;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 10px;
  gap: 10px;
  flex: 1 1 300px;
}

.extra {
  font-size: 16px;
  color: hsl(0, 0%, 50%);
  text-align: center;
  flex: 1 1 400px;
}

.title {
  font-size: 26px;
  color: hsl(0, 0%, 20%);
  font-weight: bold;
  text-align: center;
  flex: 1 1 400px;

}

.inputLabel {
  font-size: 14px;
  color: hsl(0, 0%, 20%);
  width: 100%;
}


.dis {
  display: none;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
}

.bold {
  color: hsl(0, 0%, 40%);
  font-size: 13px;
  font-weight: bold;

}

.info {
  color: hsl(0, 0%, 50%);
  font-size: 12px;

}

.formInput {
  flex: 1 1 400px;
}

input {
  padding: 10px;
  width: 100%;
  font-size: 20px;
  font-weight: 600;
  color: hsl(0, 0%, 20%);
  font-family: Raleway;
  border: 2px solid rgb(4, 176, 93);
  border-radius: 4px;
}

textarea {
  padding: 10px;
  width: 100%;
  font-size: 20px;
  font-weight: 600;
  color: hsl(0, 0%, 20%);
  font-family: Raleway;
  border: 2px solid rgb(4, 176, 93);
  border-radius: 4px;
  outline: none !important;
}


input.invalid {
  background-color: hsl(0, 100%, 95%);
}

textarea.invalid {
  background-color: hsl(0, 100%, 95%);
}

input:focus {
  border-radius: 4px;
  outline: none !important;
  border: 2px solid rgb(4, 176, 93);
}

.photoContainer {
  flex: 1 1 400px;
  font-size: 20px;
  font-weight: 600;
  color: hsl(0, 0%, 10%);
  font-family: Raleway;
  border: 2px solid rgb(4, 176, 93);
  border-radius: 4px;
  margin-top: 19px;
  background-color: hsl(0, 0%, 100%);

}

.photoContainer>label {
  display: flex;
  font-size: 20px;
  padding: 10px;
  width: 100%;
  height: 100%;
  border-radius: 4px;
}

.finish1 {
  background-color: hsl(0, 100%, 95%);
}

.nextback {
  display: flex;
  margin-top: 10px;
  justify-content: space-between
}

.allButton {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #04AA6D;
  color: #ffffff;
  border: none;
  padding: 10px;
  flex: 1 1 100px;
  border-radius: 4px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}

.buttonBack {
  flex: 1 2 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #808080;
  color: #ffffff;
  border: none;
  padding: 10px;
  flex: 0 1 90px;
  border-radius: 4px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}

button:hover {
  opacity: 0.8;
}

#prevBtn {
  background-color: #bbbbbb;
}

#nextBtn {
  margin-left: auto;
}

.submitted {
  display: none;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
  gap: 10px;
  flex: 1 1 300px;

}

.submitted>div:nth-child(1) {
  font-size: 40px;
}

.submitted>div:nth-child(2) {
  font-size: 16px;
  line-height: 1.5;
}

#myProgress {
  display: none;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 10px;
  gap: 10px;
  flex: 1 1 300px;
}



#myBar {
  width: 10%;
  height: 30px;
  background-color: #04AA6D;
  text-align: center;
  line-height: 30px;
  color: white;
}