body {
  position: relative;
}

.reg-nav {
  display: inline-block;
  margin-left: 50%;
  margin-bottom: 12px;
  max-width: 120px;
  transform: translateX(-50%);
}

.reg-logo {
  max-width: 120px;
}

.registration {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 15px;
  padding-right: 15px;
}

/* .animation-bottom {
  animation: moveInBottom 1s ease-out;

  animation-name: moveInBottom;
  animation-duration: 1s;
  animation-timing-function: ease-out;
}

@keyframes moveInBottom {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }

  100% {
    opacity: 1;
    transform: translateY(0px);
  }
} */

.container-reg {
  position: relative;
  max-width: 700px;
  width: 100%;
  background: #600908c7;
  padding: 25px;
  border: 5px solid #ff8c00;
  border-radius: 15px;
  box-shadow: 0 0 30px 12px rgba(0, 0, 0, 0.3);
  margin-top: -56px;
  transform: scale(0.88);
}
.container-reg header {
  font-size: 30px;
  color: #ffffff;
  font-weight: 500;
  text-align: center;
}
.container-reg .form {
  margin-top: 30px;
}
.form .input-box {
  width: 100%;
  margin-top: 20px;
}
.input-box label {
  color: #ffffff;
  font-size: 17px;
  margin-bottom: 8px;
}
.addr {
  color: #fff;
  font-size: 17px;
  font-weight: 400;
  font-weight: 700;
}
.form :where(.input-box input) {
  position: relative;
  height: 50px;
  width: 100%;
  outline: none;
  font-size: 17px;
  color: #631d1c;
  background-color: #fff;
  margin-top: 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0 15px;
  transition: all 0.2s;
}
.input-box input:focus {
  box-shadow: 0 2px 0 rgb(255 140 0);
}
.form .column {
  display: flex;
  column-gap: 15px;
}
.form .gender-box {
  margin-top: 20px;
}
.gender-box h3 {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 15px;
}
.form :where(.gender-option, .gender) {
  display: flex;
  align-items: center;
  column-gap: 50px;
  flex-wrap: wrap;
}
.form .gender {
  column-gap: 5px;
}
.gender input {
  accent-color: #ff8c00;
}
.form :where(.gender input, .gender label) {
  cursor: pointer;
}
.gender label {
  color: #ffffff;
  margin-bottom: -3px;
  font-size: 17px;
}

/* Custom radio button */
.gender_radio_label {
  position: relative;
  padding-left: 22px;
}

.gender_radio_button {
  height: 16px;
  width: 16px;
  border-radius: 50%;
  border: 1px solid #ff8c00;
  display: inline-block;
  position: absolute;
  top: 3px;
  left: 0;
}

.gender_radio_button::after {
  content: "";
  height: 9px;
  width: 9px;
  display: block;
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ff8c00;
  opacity: 0;
  transition: opacity 0.2s;
}

.gender_radio_input:checked ~ .gender_radio_label .gender_radio_button::after {
  opacity: 1;
}

.gender_radio_input {
  display: none;
}
/* End of  Custom radio button */

.address :where(input, .select-box) {
  margin-top: 5px;
}

.select-box select {
  height: 100%;
  width: 100%;
  outline: none;
  border: none;
  /* color: #707070; */
  font-size: 17px;
}
.form button {
  height: 55px;
  width: 100%;
  color: #631d1c;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-top: 30px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: #e5840f;
}
.form button:hover {
  background-color: #f2921d;
  color: #fff;
}

.reg-error {
  color: #f7ba70;
  font-size: 14.5px;
}

/* .success-reg {
  text-align: center;
  margin-top: 10px;
  font-size: 23px;
  color: #ff8c00;
} */

.success-reg {
  text-align: center;
  color: #ff8c00;
  font-size: 30px;
  text-shadow: 0 0 20px black;
}

/*Responsive*/
@media screen and (max-width: 500px) {
  .form .column {
    flex-wrap: wrap;
  }
  .form :where(.gender-option, .gender) {
    row-gap: 15px;
  }

  .success-reg {
    font-size: 28px;
  }
}
