/* =============================================================================
   HTML5 CSS Reset Minified - Eric Meyer
   ========================================================================== */
body { background: url("./randimage.php") no-repeat; background-size: cover;}
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;}
body{line-height:1}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
nav ul{list-style:none}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:none}
a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent;text-decoration:none}
mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}
del{text-decoration:line-through}
abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}
table{border-collapse:collapse;border-spacing:0}
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}
input,select{vertical-align:middle}
li{list-style:none}

font-face {
	font-family: font1;
	font-style: normal;
	font-weight: normal;
	src: url('./fonts/IRANSansWeb(FaNum).eot');
	src: url('./fonts/IRANSansWeb(FaNum).eot?#iefix') format('embedded-opentype'), /* IE6-8 */
	url('./fonts/IRANSansWeb(FaNum).woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
	url('./fonts/IRANSansWeb(FaNum).woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
	url('./fonts/IRANSansWeb(FaNum).ttf') format('truetype');
}
@font-face {
	font-family: font1;
	font-style: normal;
	font-weight: bold;
	src: url('./fonts/IRANSansWeb(FaNum)_Bold.eot');
	src: url('./fonts/IRANSansWeb(FaNum)_Bold.eot?#iefix') format('embedded-opentype'), /* IE6-8 */
	url('./fonts/IRANSansWeb(FaNum)_Bold.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
	url('./fonts/IRANSansWeb(FaNum)_Bold.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
	url('./fonts/IRANSansWeb(FaNum)_Bold.ttf') format('truetype');
}
@font-face {
	font-family: font1;
	font-style: normal;
	font-weight: 500;
	src: url('./fonts/IRANSansWeb(FaNum)_Medium.eot');
	src: url('./fonts/IRANSansWeb(FaNum)_Medium.eot?#iefix') format('embedded-opentype'), /* IE6-8 */
	url('./fonts/IRANSansWeb(FaNum)_Medium.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
	url('./fonts/IRANSansWeb(FaNum)_Medium.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
	url('./fonts/IRANSansWeb(FaNum)_Medium.ttf') format('truetype');
}

/* =============================================================================
   My CSS
   ========================================================================== */

/* ---- base ---- */

html,body{ 
	width:100%;
	height:100%;
	
}

html{
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body{
  font:normal 75% Arial, Helvetica, sans-serif;
}

canvas{
  display:block;
  vertical-align:bottom;
}

/* ---- stats.js ---- */

.count-particles{
  background: #000022;
  position: absolute;
  top: 48px;
  left: 0;
  width: 80px;
  color: #13E8E9;
  font-size: .8em;
  text-align: left;
  text-indent: 4px;
  line-height: 14px;
  padding-bottom: 2px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
}

.js-count-particles{
  font-size: 1.1em;
}

#stats,
.count-particles{
  -webkit-user-select: none;
  margin-top: 5px;
  margin-left: 5px;
}

#stats{
  border-radius: 3px 3px 0 0;
  overflow: hidden;
}

.count-particles{
  border-radius: 0 0 3px 3px;
}


/* ---- particles.js container ---- */

#particles-js{
  width: 100%;
  height: 100%;
  background-position: 50% 50%;
}

#card {
    position: absolute;
    top: 138px;
    right: 0;
    left: 0;
    bottom: 0;
    margin:auto;
    width: 790px;
    height: 100%;
    text-align: center;
    overflow: hidden;
    /* background: rgba(0, 0, 0, 0.7); */
}

#copyright{

  color:#FFF;
  margin-top:50px;
  padding-top:2px;
  background-image: url(images/copyright.png);
  background-position: center;
  background-repeat: no-repeat;
  height:17px;
  vertical-align:middle;
}
#social_nt{

  color:#FFF;
  font-size: 13px;
  margin-top:35px;
  padding-top:2px;
  height:17px;
  vertical-align:middle;
}

#shoar{
  margin-top:0px;
  vertical-align:middle;
}

#social_nt a{

  color:#FFF;
}
#social_nt a:hover{

  color:#FFCC00;
}

#card h1{
    font: bold 35px/50px 'font1';
    color: #fff;
}

#card #logo span{
    font-size: 135px;
    color: #fff;
    margin-bottom: 15px;
    display: block;
}
#card #language ul {
    overflow: hidden;
    margin: 0 auto;
    margin-top:35px;
    text-align: center;
    direction: rtl;
}
#card #language ul li{
    display: inline-block;
    margin: 1% 2%;
    width: 27.3%;
    font: normal 16px/40px 'font1';
    border-radius: 40px;
    color: #565656;
    box-sizing: border-box;
    border: 2px solid #fff;
    overflow: hidden;
}
#card #language ul li a {
    display: block;
    color: #fff;
    padding: 0 15px;
    transition: all 0.4s ease;
}
#card #language ul li a:hover {
    background: #fff;
    color: #565656;
}
.deactive {opacity: 0.4 !important;}
@media only screen and (max-width: 800px){
    #card {width: 95%;}
    #card #logo span {font-size: 125px;}
    #card h1{font: bold 22px/30px 'font1';}
}
@media only screen and (max-width: 360px){
    #card #language ul li{
        margin: 1.5% 1%;
        width: 46%
    }
    #card #language ul {margin-top: 15px;}
}