@font-face {
    font-family: "h1Font";
    src: url("fonts/BTitrBold.woff");
    font-weight: bold;
    unicode-range: U+600–6FF;
}

@font-face {
    font-family: "preFont";
    src: url("fonts/BNazanin.woff");
    font-weight: normal;
    unicode-range: U+600–6FF;
}

@font-face {
    font-family: "liFont";
    src: url("fonts/BNazanin.woff");
    font-weight: normal;
    unicode-range: U+600–6FF;
}

* {
    margin: 3%;
    line-height: 140%;
}

*.fa [lang=en] {
    display: none;
}

*.en [lang=fa] {
    display: none;
}

*.fa {
    direction: rtl;
}

.bg {
    z-index: -1;
    position: fixed;
    margin: -6%;
    width: 100%;
    height: 100%;
    background-color: rgb(223, 246, 255);
    background-position: right;
    background-size: cover;
    background-image: url("images/back.jpg");
    /* opacity: 0.2;
    filter: alpha(opacity=20);*/
}

h1 {
    display: inline;
    font-family: h1Font, 'Roboto', sans-serif;
    color: #000000;
    margin: 0.5em;
    color: darkblue;
    text-shadow: -1.5px -1.5px 0 white, 1.5px -1.5px 0 white, -1.5px 1.5px 0 white, 1.5px 1.5px 0 white, 4px 4px 3px #0000007e;
}

h2 {
    display: inline;
    margin: 0.5em;
    font-family: h1Font, 'Roboto', sans-serif;
    color: darkblue;
    text-shadow: -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white, 3px 3px 2px #0000007e;
    font-size: larger;
}

u {
    margin: 0%;
    text-decoration: none;
    border-bottom: 2px solid navy;
    padding-bottom: 0.15em
}

ul {
    margin: 0.5em;
    font-size: large;
}

ol {
    margin: 0.5em;
    font-size: large;
}

li {
    font-family: 'Roboto', sans-serif;
    margin: 0 0 20px 0;
    line-height: 200%;
    font-size: large;
}

li[lang=fa] {
    font-family: liFont, 'Roboto', sans-serif;
}

li>ul>li[lang=fa] {
    font-family: liFont, 'Roboto', sans-serif;
}

li>ul>li {
    font-family: 'Roboto', sans-serif;
    margin: 0.5em;
    font-size: large;
}

pre {
    font-family: 'Roboto', sans-serif;
    font-size: larger;
    white-space: pre-wrap;
}

pre[lang=fa] {
    font-family: preFont, 'Roboto', sans-serif;
}

p {
    font-family: 'Roboto', sans-serif;
    font-size: larger;
    white-space: pre-wrap;
}

p[lang=fa] {
    font-family: preFont, 'Roboto', sans-serif;
}

section {
    display: flex;
    flex-wrap: wrap;
    margin: 0%;
}

.header {
    width: 100%;
    display: block;
    margin: 1%;
}

.introduce {
    margin: 1%;
    flex-grow: 1;
}

.portfolio {
    margin: 1%;
    flex-grow: 100;
    vertical-align: top;
}

.contact {
    width: 100%;
    display: block;
    margin: 1%;
}

a {
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    margin: 0;
}

a[lang=fa] {
    font-family: preFont, 'Roboto', sans-serif;
}

.lang {
    margin: 0%;
    background-color: rgb(61, 118, 192);
    border-style: solid;
    border-color: darkblue;
    border-width: 2px;
    border-radius: 10%;
    color: rgb(255, 255, 255);
    padding: 2px 6px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    font-weight: bolder;
}

.language-buttons {
    direction: ltr;
    display: inline-block;
}

@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    .price-table,
    .start {
        width: 100%;
    }
}

@media only screen and (min-width:768px) and (max-width: 1152px) {
    /* For mobile phones: */
    .price-table,
    .start {
        width: 50%;
    }
}

@media only screen and (min-width:1152px) and (max-width: 1920px) {
    /* For mobile phones: */
    .price-table,
    .start {
        width: 40%;
    }
}

.price-table {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3px;
    align-self: center;
    border-collapse: collapse;
    border-style: solid;
    text-align: left;
}

.start {
    font-family: 'Roboto', sans-serif;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    background-color: rgb(61, 118, 192);
    border-style: solid;
    border-color: darkblue;
    border-width: 2px;
    border-radius: 5px;
    color: rgb(255, 255, 255);
    padding: 2px 6px;
    text-align: center;
    text-decoration: none;
    font-weight: bolder;
}

td,
th {
    direction: inherit;
    padding: 10px;
    border-style: solid;
    text-align: start;
}

th {
    background-color: rgba(61, 118, 192, 0.514);
}