
 @font-face {
  font-family: 'iransans1';
  src: url('../fonts/iransansl.eot') format('eot');
  src: url('../fonts/iransansl.ttf') format('ttf');
  src: url('../fonts/iransansl.woff') format('woff');
}
@font-face {
  font-family: 'iransans2';
  src: url('../fonts/iransans2.eot') format('eot');
  src: url('../fonts/iransans2.ttf') format('ttf');
  src: url('../fonts/iransans2.woff') format('woff');
}
@font-face {
  font-family: 'iransans3';
  src: url('../fonts/iransans3.eot') format('eot');
  src: url('../fonts/iransans3.ttf') format('ttf');
  src: url('../fonts/iransans3.woff') format('woff');
}
@font-face {
  font-family: 'iransans4';
  src: url('../fonts/iransansb.eot') format('eot');
  src: url('../fonts/iransansb.ttf') format('ttf');
  src: url('../fonts/iransansb.woff') format('woff');
}
.main{
  background-image: url(../image/i1.jpg);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-repeat: round;
  position: fixed;
  z-index: 11;
  left: 0;
  top: 0;
}

@media (max-width: 400px){
  .main{
      background-image: url(../image/i2.jpg);
  }
}

.login{
  background-color:rgba(255, 255, 255, 0.6);
  width: 70vw;
  height: 70vh;
  max-width: 350px;
  min-height: 400px;
  border-radius: 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.part1{
  width: 100%;
  height: 44%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.part2{
  width: 100%;
  height: 44%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

img{
  width: 200px;
  /* height: 53%; */
  min-height: 50px;
  /* opacity: 0.8; */
 
}

.field {
  width: 80%;
  height: 24%;
  min-height: 35px;
  border-radius: 10px;
  color: rgb(0, 0, 0);
  background-color: rgba(200, 238, 255, 0.4);
  border: 1px solid darkblue;
  margin-bottom: 5px;
  text-align: center;
  font-family: iransans2;
}

#p1{
    direction: rtl;
    color:darkblue;
    font-family: iransans3;
    font-size: 16px;
    opacity: 0.8;
}
label{
  direction: rtl;
  color:darkblue;
  font-family: iransans3;
  font-size: 13px;
  opacity: 0.8;
}
#l1{
  direction: rtl;
  color: rgb(134, 0, 0);
  font-family: iransans2;
  font-size: 13px;
  visibility: hidden;
}
a{
  direction: rtl;
  color: darkblue;
  font-family: iransans2;
  font-size: 12px;
  text-decoration: none;
}
.part3{
  width: 80%;
  height: 10%;
  min-height: 35px;
  border-radius: 10px;
  background-color: darkblue;
  border: 1px solid rgb(255, 255, 255);
  text-align: center;
  font-family: iransans2;
  color: white;
}
.progress{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index:99;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  visibility: hidden;
  font-family: iransans3;
}
.loade1 {
  border: 2px solid rgb(255, 255, 255);
  border-top: 2px solid darkblue;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  /* margin: auto; */
  /* display: none; */
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.shake1 {
  animation: shake 0.5s;
  /* animation-iteration-count: infinite; */
}

@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}

/* background: rgb(2,0,36);
background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 35%, rgba(0,212,255,1) 100%); */