@font-face {
  font-family: 'IRANYekan';
  src: url('../webfonts/iranyekan/IRANYekanXVF.woff') format('woff-variations'),
      url('../webfonts/iranyekan/IRANYekanXVF.woff') format('woff');
  font-weight: 100 1000;
  font-display: fallback;
}

@font-face {
  font-family: 'Dana';
  src: url('../webfonts/dana/DanaVF.woff') format('woff-variations'),
      url('../webfonts/dana/DanaVF.woff') format('woff');
  font-weight: 100 1000;
  font-display: fallback;
}

:root {
  --body-font-family: "Dana";
  --alt-font-family: "IRANYekan"
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--body-font-family) ,var(--alt-font-family);
}
#body{
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 10px;
  background-color: #0f4ea5;
  background-image: url(../media/hero-bg-free-img.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
#body::before {
  content: "";
  display: block;
  position: absolute;
  opacity: 1;
  transition: 0.3s;
  border-radius: 0;
  background-color: transparent;
  background-image: linear-gradient(225deg, #0fa597 0%, #0F4EA500 70%);
  width: 100%;
  height: 100%;
}
#logoDiv {
  display: flex; 
  justify-content: center;
  align-items: baseline;
  z-index: 1;
  margin-top: -20px;
  padding-bottom: 15px;
}
.Container{
  width: 600px;
  background-color: #fff;
  padding: 25px 30px 0 30px;
  border-radius: 5px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.15);
  z-index: 2;
}
.Container .title{
  font-size: 25px;
  font-weight: 500;
  position: relative;
  margin-bottom: 20px;
  padding-right: 0px;
}
.title-reg a{
  font-size: 17px;
  font-weight: 500;
  position: relative;
  margin-bottom: 20px;
  padding-right: 0px;
  cursor: pointer;
  text-decoration: unset;
}
.Container .title::before{
  content: "";
  position: absolute;
  right: 0px;
  bottom: -4px;
  height: 3px;
  width: 180px;
  border-radius: 5px;
  background: linear-gradient(135deg, #0f4ea5, #10909b);
}

.mainTitle{
  display: flex;
  justify-content: center;
}
.content form .user-details{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: 20px 0 12px 0;
}
form .user-details .input-box{
  margin-bottom: 15px;
  width: 550px;
}
form .input-box span.details{
  display: block;
  font-weight: 500;
  margin-bottom: 5px;
}
.user-details .input-box input{
  height: 45px;
  width: 100%;
  outline: none;
  font-size: 16px;
  border-radius: 5px;
  padding-right: 8px;
  border: 1px solid #ccc;
  border-bottom-width: 2px;
  transition: all 0.3s ease;
}
.user-details .input-box input:focus,
.user-details .input-box input:valid{
  border-color: #9b59b6;
}
 form .gender-details .gender-title{
  font-size: 20px;
  font-weight: 500;
 }
 .gender {
  font-size: 17px;
    font-weight: 400;
    color: #e5fcff;
 }
 form .category{
   width: 100%;
   margin: 0 0 14px 0 ;
   display: flex;
   flex-direction: row;
   justify-content: space-between;
 }
 .radioBtnDiv {
   display: flex;
   gap: 20px; 
   justify-content: flex-end;
   align-items: baseline;
   padding-top: 7px;
 }
 form .category label{
   display: flex;
   align-items: center;
   cursor: pointer;
   background: #359ad2fa;
   padding: 3px 5px;
   border-radius: 5px;
 }
 form .category label .dot{
  height: 18px;
  width: 18px;
  border-radius: 50%;
  margin-right: 10px;
  background: #d9d9d9;
  border: 5px solid transparent;
  transition: all 0.3s ease;
}
 #dot-1:checked ~ .category label .one,
 #dot-2:checked ~ .category label .two,
 #dot-3:checked ~ .category label .three{
   background: #0f6e9f;
   border-color: #d9d9d9;
 }
 form input[type="radio"]{
   display: none;
 }
 form .button{
   height: 45px;
   margin: 35px 0 25px 0;
 }
 form .button input{
   height: 100%;
   width: 100%;
   border-radius: 5px;
   border: none;
   color: #fff;
   font-size: 18px;
   font-weight: 500;
   letter-spacing: 1px;
   cursor: pointer;
   transition: all 0.3s ease;
   background: linear-gradient(135deg, #0f4ea5, #10909b);
 }
 form .button input:hover{
  /* transform: scale(0.99); */
  background: linear-gradient(135deg, #10909b, #0f4ea5);
  }

@media only screen and (max-width: 750px) {
  .Container {
    width: 500px;
  }
  form .category{
    width: 100%;
    margin: 0 0 14px 0 ;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}
@media only screen and (max-width: 530px){
  .Container {
    width: 380px;
  }
}
