body{
    /* margin:0; */
    color: #d7d7d7;
    background: #b4272d;
    font-family:Roboto, sans-serif;
    overflow-x: hidden;
}
*,:after,:before{box-sizing:border-box}
.pull-left{float:left}
.pull-right{float:right}
.clearfix:after,.clearfix:before{content:'';display:table}
.clearfix:after{clear:both;display:block}

.clock-title{
    font-family: IRANSans, Tahoma, Arial, Helvetica, sans-serif;
    font-weight: bolder;
    font-size:40px;
}

@font-face {
	font-family: IRANSans;
	font-style: normal;
	font-weight: bold;
	src: url('eot/IRANSansWeb_Bold.eot');
	src: url('eot/IRANSansWeb_Bold.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('woff2/IRANSansWeb_Bold.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
		 url('woff/IRANSansWeb_Bold.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
		 url('ttf/IRANSansWeb_Bold.ttf') format('truetype');
}
@font-face {
	font-family: IRANSans;
	font-style: normal;
	font-weight: 500;
	src: url('eot/IRANSansWeb_Medium.eot');
	src: url('eot/IRANSansWeb_Medium.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('woff2/IRANSansWeb_Medium.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
		 url('woff/IRANSansWeb_Medium.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
		 url('ttf/IRANSansWeb_Medium.ttf') format('truetype');
}
@font-face {
	font-family: IRANSans;
	font-style: normal;
	font-weight: 300;
	src: url('eot/IRANSansWeb_Light.eot');
	src: url('eot/IRANSansWeb_Light.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('woff2/IRANSansWeb_Light.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
		 url('woff/IRANSansWeb_Light.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
		 url('ttf/IRANSansWeb_Light.ttf') format('truetype');
}
@font-face {
	font-family: IRANSans;
	font-style: normal;
	font-weight: 200;
	src: url('eot/IRANSansWeb_UltraLight.eot');
	src: url('eot/IRANSansWeb_UltraLight.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('woff2/IRANSansWeb_UltraLight.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
		 url('woff/IRANSansWeb_UltraLight.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
		 url('ttf/IRANSansWeb_UltraLight.ttf') format('truetype');
}
@font-face {
	font-family: IRANSans;
	font-style: normal;
	font-weight: normal;
	src: url('eot/IRANSansWeb.eot');
	src: url('eot/IRANSansWeb.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('woff2/IRANSansWeb.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
		 url('woff/IRANSansWeb.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
		 url('ttf/IRANSansWeb.ttf') format('truetype');
}

@font-face {
  font-family: 'Dock51';
  src: url('Dock51.eot?#iefix') format('embedded-opentype'),  url('Dock51.woff') format('woff'), url('Dock51.ttf')  format('truetype'), url('Dock51.svg#Dock51') format('svg');
  font-weight: normal;
  font-style: normal;
}
#main {

    text-align: center;
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 320px;
}

#clock {
    margin: 0 auto;
}

.footer {
    font-family: IRANSans, Tahoma, Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 20px;
    margin-top: 30px;
}

.clock-wrapper{
    margin-top: 50px;
}
@keyframes moveRoad{
    0%{
        right:-40px;
    }
    100%{
        right:0;
    }
}
@keyframes moveSmoke{
    0%{
        opacity:0;
        transform:scale(0) translate(0);
    }
    60%{
        transform:scale(.5) translate(0);
    }
    100%{
        opacity:.6;
        transform:scale(1) translate(-10px,-40px);
    }
}
@keyframes upDown{
    0%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(2px);
    }
    100%{
        transform:translateY(0);
    }
}

@media screen and (max-width: 720px) and (min-width: 480px) {
    .clock-title{
        font-size:30px;
    }
    .clock-wrapper{
        margin-top: 30px;
    }
    .footer {
        font-size: 15px;
        margin-top: 20px;
    }
    #main{
        height: 220px;
    }
}

@media screen and (max-width: 480px) {
    #clock{
        width: 310px;
    }
    .clock-title{
        font-size:20px;
    }

    .clock-wrapper{
        margin-top: 20px;
    }
    .footer {
        font-size: 13px;
        margin-top: 15px;
    }
    #main{
        height: 120px;
    }

}


@media screen and (max-height: 400px) {

    #main {

    }
}
