@font-face {
    font-family: 'IRANSansX';
    src: url('../fonts/IRANSansXRegular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'IRANSansX';
    src: url('../fonts/IRANSansX/IRANSansXBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
  }




*{
    font-family: 'IRANSansX', sans-serif; 
}



/* برای مرورگرهای کروم، سافاری، اپرا */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* برای فایرفاکس */
input[type=number] {
    -moz-appearance: textfield;
}



body{
    
    background-color: rgb(255, 255, 255);
    font-family: 'IRANSansX', sans-serif;
}
.mainbox{
  height: 450px;
  width: 425px;
  border: 1px solid #181636;;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  z-index: 2;
  transition: box-shadow, 0.2s;
}
.logoimg{
  max-width: 35%;
}
.mainbox:hover{
  box-shadow: 1px 1px 5px #06FF89;
  border-radius: 3px;
}

.btnorg{
  width: 63%;
}
.btnorg:hover{
  width: 70%;
}

.formlogin{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
}
.formlogin input{
  width: 70%;
}
.formlogin button{
  width: 63%;
  margin-top: 10px;
}

#homesider{
  position: absolute;
  top: 0;
  right: 0px;
  width: 100px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: -200;
  font-size: smaller;
  color: #0d9254;
}
#homesider a{
  text-decoration: none;
  color: #0d9254;
  margin-top: 1px;
}
#homesider a:hover{
  text-decoration: none;
  color: #0b623a;
}

@media (max-width : 1200px){
  .mainbox{
    height: 450px;
    width: 300px;
    border: 1px solid #181636;;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    z-index: 2;
    transition: box-shadow, 0.2s;
  }
  .formlogin input{
    margin-top: 15px;
    margin-bottom: 15px;
  }
  .formlogin button{
    width: 70%;
  }.formlogin button{
    width: 70%;
  }

}
@media (max-width : 650px){
  .mainbox{
    height: 450px;
    width: 90%;
    border: 1px solid #181636;;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    z-index: 2;
    transition: box-shadow, 0.2s;
  }
  .formlogin input{
     margin-top: 15px; 
     margin-bottom: 15px;
  }
  .formlogin button{
    width: 70%;
  }
}