@font-face {
    font-family:'IranYekan';
    src:url('iranyekan/IRANYekanRegularFaNum.eot?##') format('eot'),
    url('iranyekan/IRANYekanRegularFaNum.woff') format('woff'),
    url('iranyekan/IRANYekanRegularFaNum.woff2') format('woff2'),
    url('iranyekan/IRANYekanRegularFaNum.ttf') format('truetype');
}

body{
    background:url("images/bmw.jpg?v=7") #000;
    background-size: cover;
    background-repeat:no-repeat;
    background-position:center center;
}

body,html{
    padding:0;
    margin:0;
    font-size: 0.9rem;
    font-family:'IranYekan';
    height: 100%;
}
.main {
    padding: 60px 0;
    color: #fff;
    min-height: calc(100% - 118px);
    display: flex;
    flex-direction: column;
    align-items: self-start;
    justify-content: space-around;
}

header{
    background: transparent;
    padding:10px;
    position:fixed;
    top:0;
    left:0;
    right:0;
}

.logo-right{
    display:flex;
    align-items:center;
    justify-content:center;
}

header img{
    height: 60px;
    display: block;
    max-width: 70%;
}

#footer{
    background:rgb(0 0 0 / 80%);
    padding:5px 0;
    height: 36px;
    line-height: 36px;
    position:fixed;
    bottom:0;
    right:0;
    left:0;
    display:none;
}

footer #phonefooter{
    display:flex;
    direction: rtl;
    align-items:center;
    justify-content:center;
}

footer a{
    direction:rtl;
    color:#fff;
    text-decoration:none;
    margin-left: 10px;
}

footer  i{
    background: #333;
    padding: 8px;
    color:#fff;
    display: inline-block;
    border-radius: 100%;
    margin-left: 10px;
    font-size: 1rem;
    letter-spacing: 0;
    line-height: 0.9rem!important;
}

.contact{
    display: flex;
    color: #fff;
    text-decoration: none;
    direction: rtl;
    align-items: center;
    justify-content: start;
    width: 90%;
    margin: 0 auto;
}

.contact i{
    color: white;
    display: inline-block;
    margin-left: 20px;
    font-size: 1.7rem;
    letter-spacing: 0;
    width: 26px;
    box-sizing: border-box;
    text-align: center;
}

.contact a{
    color:white;
    display: block;
    text-decoration:none;
}


.latin span{
    display:inline-block;
    direction:ltr;
}

.persian{
    direction:rtl;
    font-family:'IranYekan';
}

#description{
    text-align: center;
    width: 90%;
    direction: rtl;
    margin:0px auto;
}

.main>a>span,.main>p>span{
    color: rgb(203 197 197);
    display: flex;
    direction: ltr;
    padding-right: 30px;
    border-right: 1px solid #fff;
    text-align: right;
    flex-direction: column;
}

.main>a>span>span,.main>p>span>span{
    color:#fff;
    margin-bottom:5px;
    font-weight:bold;
    font-size:0.8rem;
}

#popup{
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    bottom: 0;
    background: #000;
    display:flex;
    align-items:center;
    justify-content: space-around;
    flex-direction: column;
}

#popup #links{
    display:flex;
    direction:rtl;
    flex-direction: row;
    justify-content: space-around;
}

#popup #links a img,#popup img{
    max-width:250px;
}

@media only screen and (max-width: 600px) {
    #popup #links {
        flex-direction: column;
    }
}