@font-face {
    font-family: 'Tanha-FD';
    src: url(skin/default/fonts/Tanha/Tanha-FD.eot'); /* IE9 Compat Modes */
    src: url('skin/default/fonts/Tanha/Tanha-FD.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('skin/default/fonts/Tanha/Tanha-FD.woff') format('woff'), /* Modern Browsers */
         url('skin/default/fonts/Tanha/Tanha-FD.ttf') format('truetype'); /* Safari, Android, iOS */
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}
@font-face {
    font-family: 'Dana';
    src: url('skin/default/fonts/Dana/DanaFaNum-Regular.ttf') format('truetype'); /* Safari, Android, iOS */
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

* 
{
    font-family: 'Dana',Arial,Helvetica,sans-serif;
    -webkit-appearance: none;
}

html {
    height: 100%;
    direction: rtl;
}

body {
    background: #75006f;
    margin: 0px;
    height: 100%;
}

#header {
    display: block;
    height: 90px;
    background: #570052;
    line-height: 90px;
    padding: 0px 50px;
}

#container {
    display: table;
    margin-top: -90px;
    height: 100%;
    width: 100%;
    vertical-align: middle;
    text-align: center;
}

#message {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

span.big {
    font-size: 65px;
    line-height: 120px;
    color: #FFFFFF;
}


span.med {
    font-size: 20px;
    line-height: 40px;
    font-weight: normal;
    color: #cacaca;
}

span.small {
    font-size: 10px;
    line-height: 40px;
    font-weight: normal;
    color: #cacaca;
}

a {
    font-size: 10px;
    line-height: 40px;
    font-weight: normal;
    color: #cacaca;
    text-decoration: none;
    background: #570052;
    padding: 10px 20px;
    margin: 10px 0;
}

    a:hover {
        text-decoration: underline;
    }
    

@media screen and (max-width: 630px) {
    #header {
        display: block;
        height: 90px;
        background: #570052;
        line-height: 90px;
        padding: 0px 20px;
    }

    #container {
        display: table;
        margin-top: -90px;
        height: 100%;
        width: 100%;
        vertical-align: middle;
        text-align: center;
    }

    #message {
        display: table-cell;
        vertical-align: middle;
        text-align: center;
    }

    span.big {
        font-size: 90px;
        line-height: 200px;
        color: #FFFFFF;
    }


    span.med {
        font-size: 20px;
        line-height: 30px;
        font-weight: normal;
        color: #cacaca;
    }

    span.small {
        font-size: 10px;
        line-height: 30px;
        font-weight: normal;
        color: #cacaca;
    }

    a {
        font-size: 10px;
        line-height: 40px;
        font-weight: normal;
        color: #cacaca;
        text-decoration: none;
        background: #570052;
        padding: 10px 20px;
        margin: 10px 0;
    }

        a:hover {
            text-decoration: underline;
        }
   
}