/* all */
/* @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap"); */
body {
  font: 90%/1.5 "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Helvetica, Arial, sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* font-family: "Poppins", sans-serif; */
}
:root {
  --main-blue: #71b7e6;
  --main-purple: #9b59b6;
  --main-grey: #ccc;
  --sub-grey: #d9d9d9;
}

body {
  background: white;
  /* display: flex; */
  /* height: 100vh;
  justify-content: center; 
  align-items: center;
  background: linear-gradient(135deg, var(--main-blue), var(--main-purple));
  padding: 10px; */
}
/* form_container and form */
.form_container {
  margin-top: 20px;
  /* max-width: 100%; */
  /* width: 100%; */
  background-image: linear-gradient(to right, #484848 0%, #5d96fa 100%);
  box-shadow: 1px 1px 5px black;
  padding: 25px 30px;
  border-radius: 5px;
  padding: 5px 20px;
  border-radius: 10px;
}
.form_container .title {
  color: white;
  font-size: 25px;
  font-weight: 500;
  position: relative;
}
.form_container .user-title {
  color: white;
  font-size: 25px;
  font-weight: 500;
  position: relative;
}

span.btn:active{
  background-color: black !important;
}

.form_container .title::before {
  content: "";
  position: absolute;
  height: 3.5px;
  width: 18rem;
  background: linear-gradient(135deg, var(--main-blue), var(--main-purple));
  left: 0;
  bottom: 0;
}

.form_container form .user__details {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 20px 0 12px 0;
}
/* inside the form user details */
form .user__details .input__box {
  width: calc(100% / 2 - 20px);
  margin-bottom: 15px;
}

.user__details .input__box .details {
  color: white;
  font-weight: 500;
  margin-bottom: 5px;
  display: block;
}
select{
  box-shadow: 2px 2px rgb(14 14 217) inset, 4px 4px rgb(8 8 223) inset;
  height: 40px;
}
select:focus{
  box-shadow: 0 0 0 0.25rem white;
}

.user__details .input__box input {
  box-shadow: 2px 2px rgb(14 14 217) inset, 4px 4px rgb(8 8 223) inset;
  height: 40px;
  width: 100%;
  outline: none;
  border-radius: 5px;
  border: 1px solid var(--main-grey);
  padding-left: 15px;
  font-size: 16px;
  border-bottom-width: 2px;
  transition: all 0.3s ease;
}
.user__details .input__box input:focus{
  box-shadow: 0 0 0 0.25rem white;
}

.user__details .input__box input:focus,
.user__details .input__box input:valid {
  border-color: var(--main-purple);
}

/* inside the form gender details */

form .gender__details .gender__title {
  font-size: 20px;
  font-weight: 500;
}

form .gender__details .category {
  display: flex;
  width: 80%;
  margin: 15px 0;
  justify-content: space-between;
}

.gender__details .category label {
  display: flex;
  align-items: center;
}

.gender__details .category .dot {
  height: 18px;
  width: 18px;
  background: var(--sub-grey);
  border-radius: 50%;
  margin: 10px;
  border: 5px solid transparent;
  transition: all 0.3s ease;
}

#dot-1:checked ~ .category .one,
#dot-2:checked ~ .category .two,
#dot-3:checked ~ .category .three {
  border-color: var(--sub-grey);
  background: var(--main-purple);
}

form input[type="radio"] {
  display: none;
}

/* submit button */
form .button {
  height: 45px;
  margin: 45px 0;
}

form .button input {
  height: 100%;
  width: 100%;
  outline: none;
  color: #fff;
  border: none;
  font-size: 18px;
  font-weight: 500;
  border-radius: 5px;
  background: blue;
  transition: all 0.3s ease;
}

form .button input:hover {
  background: linear-gradient(-135deg, var(--main-blue), var(--main-purple));
}


         
.btn-grad {
  background-image: linear-gradient(to right, #00008b 0%, #0b8793  51%, #360033  100%);
  /* margin: 10px; */
  padding: 15px 45px;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;            
  box-shadow: 0 0 20px #eee;
  /* border-radius: 10px; */
  display: block;
}

.btn-grad:hover {
  background-position: right center; /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
}


         
.btn-grad-submit {
  background-image: linear-gradient( 135deg, #00008b 10%, #9708CC 100%);
  margin: 10px;
  padding: 15px 45px;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;            
  box-shadow: 0 0 20px #eee;
  /* border-radius: 10px; */
  display: block;
}

.btn-grad-submit:hover {
  background-position: right center; /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
}





@media only screen and (max-width: 584px) {
  .form_container {
    max-width: 100%;
  }

  form .user__details .input__box {
    margin-bottom: 15px;
    width: 100%;
  }

  form .gender__details .category {
    width: 100%;
  }

  /* .form_container form .user__details {
    max-height: 300px;
    overflow-y: scroll;
  } */

  .user__details::-webkit-scrollbar {
    width: 0;
  }
}
