@font-face {
  font-family: 'b yekan';
  src: url('../fonts/BYekan.eot?#') format('eot'),  /* IE6–8 */
       url('../fonts/BYekan.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
       url('../fonts/BYekan.ttf') format('truetype');  /* Saf3—5, Chrome4+, FF3.5, Opera 10+ */
}
html {
 /* background: url("../pic/background.jpg") no-repeat;*/
  background:#3d0141;
  background-size: cover;
  min-height: 100%;
}

	
	

body {
  background-color: transparent;
  direction: rtl;
  text-align: right;
  font-family: 'b yekan';
}

#registration-form {
 
  max-width: 800px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin-top:15px;
  margin-bottom:15px;

  
 
}

/*#registration-form .image {
  float: right;
  background-image: url("../pic/desk.jpg");
  height: 500px;
  width: 50%;
  background-size: cover;
  background-position: 25%;

}
*/
#registration-form .frm {
  border-radius: 25px;
  text-align:center;
  float: center;
  height: auto;
  width: 50%;
  min-width: 250px;
  padding: 35px 35px;
  background-size: 100% 100%;
  background-color: white;
	
}

#registration-form h1 {
  margin-top: 30px;
  margin-bottom: 20px;
}

#registration-form .form-control {
  width: 100%;
  padding: 12px 20px;
  height: auto;
}

@media screen and (max-width: 700px) {
  #registration-form .image {
    width: 90%;
    background-position: 60%;
	display:none;	
  }

  #registration-form .frm {
    width: 70%;
  }

  #registration-form .form-control {
    width: 100%;
  }
}

@media screen and (max-width: 500px) {
	
#registration-form{	 margin: 60px auto;}
  #registration-form .image {
    display: none;
  }

  #registration-form .frm {
    width: 100%;
  }

  #registration-form h1 {
    text-align: center;
  }

  #registration-form .btn {
    width: 100%;
    margin-top: 20px;
  }
}