@font-face{font-family:'IRANSansDN';
    src:url('fonts/IRANSansDN.eot?#iefix&v=4.7.0');
    src:url('fonts/IRANSansDN.ttf?#iefix&v=4.7.0') format('truetype'),
    url('fonts/IRANSansDN.woff?#iefix&v=4.7.0') format('woff');
    font-weight:normal; font-style:normal;}
body{background: #262626; margin:0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;font-family: IRANSansDN !important;background-size: cover;
}

textarea{ 
    width: 100%;
       text-align: left;
    font-size: 15px;
    color: #fff;max-width: 100%;
    padding: 20px;
    direction: ltr;font-weight: 700;
    
    box-sizing: border-box;
  color: #fff;
  border-radius: 4px;
  background: #434343;
  border: none;
  transition: 0.4s all ease-in-out;
}

textarea:focus{outline: none !important;
        border:1px solid #16a085;
        }
select.select-style{
    height:auto; margin:10px 0;
    width:200px;
    border-radius:10px;
    padding:5px 10px;
    background:rgba(255, 255, 255, 0.3);
    border:1px solid rgba(255, 255, 255, 0.3);text-align:center;font-family: IRANSansDN !important;visibility:hidden;
}
button{font-family: IRANSansDN !important;}
.main{width:100%;margin: 0 auto;margin-top: 0px;text-align: center;}
.content-main{margin: 0 auto;width: 50%;padding: 0 16px;}
.main label{margin:12px;display: inline-block;color: #fff;}
.form-sec{margin:0 auto;padding:0;}
.form-sec > form{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.result-main{margin-top:50px;}
.copy-bt:hover{background: #b30ca8;}
.avatar{width:140px;margin: 0 auto;}
.avatar img{width: 100%;border-radius: 50%;box-shadow: 0px 0px 15px 0px #868686;}




.result{
    margin:20px 0;
    border: 1px solid #16a085;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius:0 10px 10px 0;
    background: #434343;  
}
.result-content{
    display: flex;
    width:100%;
    /*border: 1px solid red;*/
    overflow: hidden;
}
.result-content p{
    word-break: break-all;
    padding: 10px;
    color: #fff;
}
.result-bt2{
    /*border:1px solid blue;*/
    width: 37px;
    padding: 0 12px;
}

.copy-bt{
    background: #20c3dd;
    border: none;
    color: #fff;
    font-size: 15px;
    padding: 5px 10px;
    border-radius: 7px;
    cursor: pointer;
    transition: 0.3s all ease-in-out;
}


.footer{
    overflow:hidden;
}
.footer img{object-fit:cover;
    width: 100%;
    height:auto;
    display: flex;
}


.sub-bt {
    width: 160px;
    margin:15px 0;
    padding: 12px 20px;
  
    border-radius: 5px;
   
  background: #16a085;
  border: none;
  color: #fff;
 
  font-size: 14px;
  cursor: pointer;
} 

.main .social{display:flex; width:100%; margin-bottom:20px;height: 100px;}
.main .social ul{display:flex; width:100%;  justify-content:center;
    padding: 0;
    margin: 0;}
.main .social ul li{display:flex; list-style:none; align-items: center;}
.main .social ul li img{width:30px;}
.main .social ul li a{padding: 10px 6px; text-decoration:none;
    font-size: 20px;
    color: #fff;
}
.erore-pm{background: #fffc;padding:12px;border-radius: 5px;display: inline-block;}
.erore-pm img{float: right;}
.erore-pm span{margin-top: 15px;display: inline-block;}
.err2{display:none;}
.form-sec span{text-align: center;font-size: 14px;}
 /*form span{background: rgba(255,255,255,0.7);border-radius: 15px;padding: 10px;}*/

.popup {
			display: none;
			position: fixed;
			top: 50%;
			left: 50%;
			transform: translate(-50%, -50%);
			padding: 20px;
			background-color: #fff;z-index:99999;width:70%;
			
		}
		
.popup	p{font-family: IRANSansDN;
text-align: justify;
font-size: 13px;
line-height: 2.5em;}	
.popup	button{background: #f14b4b;
color: #fff;
border: none;
padding: 6px 4px;
border-radius: 5px;
position: relative;
bottom: -13px;
right: -11px;}
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* یک پوشش سیاه شفاف */
  z-index: 9999; /* برای قرار دادن بالای همه المان‌های دیگر */
  display: none; /* ابتدا نمایش داده نمی‌شود */
}

/*----------------------------------------*/
/*----------------------------------------*/
/*----------------------------------------*/

@media(max-width:767px){
    .result{width:100%;}
    .result .copy-bt{top: auto;bottom: 7px;}
    .main label{font-size: 13px;}
    .main{}
    .content-main{width:100%; display:inline-block; padding:0;}
    .avatar{width: 28%;}
    body{background-position: 41% 65%;}
    .result-bt2{float:right;padding-top: 6px;}
    .copy-bt{margin-bottom: 7px;}
    .result-main{padding: 0 16px;}
    textarea {width:80%;}

    .result {
        margin: 20px 0;
        border-radius:10px;
        flex-direction: column;
    }
}

