@font-face {
    font-family: 'vazir';
    src: url("../fonts/vazir/Vazir-FD-WOL.woff2") format('woff2');
    font-weight: normal;
}

@font-face {
    font-family: 'vazir';
    src: url("../fonts/vazir/Vazir-Bold-FD-WOL.woff2") format('woff2');
    font-weight: bold;
}

@font-face {
    font-family: 'vazir';
    src: url("../fonts/vazir/Vazir-Light-FD-WOL.woff2") format('woff2');
    font-weight: 300;
}

@font-face {
    font-family: 'vazir';
    src: url("../fonts/vazir/Vazir-Medium-FD-WOL.woff2") format('woff2');
    font-weight: 500;
}

@font-face {
    font-family: 'vazir';
    src: url("../fonts/vazir/Vazir-Thin-FD-WOL.woff2") format('woff2');
    font-weight: 100;
}

.mx-auto {
    margin: 0 auto;
}

.mr-auto {
    margin-right: auto;
}

.ml-auto {
    margin-left: auto;
}

ul {
    margin: 0;
}

li {
    list-style: none;
}

a,
a p {
    text-decoration: none;
}

a:hover,
a:hover p {
    /* color: rgb(59, 18, 171); */
    /* transform: scale(1.02); */
}

.rounded {
    border-radius: 4px;
}

.box-shadow {
    box-shadow: 0 0 5px 2px #ccc;
}

.box {
    padding: 8px;
    background: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    direction: rtl;
}

body {
    font-family: "Vazir";
    background: #e2e1d9;
    animation: body-bg 1000s linear infinite;
}

.main a:hover,
.main a:hover h3,
.main a:hover > p,
#media a:hover {
    color: #003366 !important;
    transition: 0.3s;
    font-weight: bold;
}

img {
    width: 100%;
    border-radius: 4px;
}

.img img {
    transition: 0.5s ease all;
    filter: saturate(100%);
}

a:hover .img img,
.img:hover img {
    filter: saturate(150%);
}

.container {
    width: 1200px;
}

@media screen and (max-width: 1200px) {
    .container {
        width: 992px;

    }
}

@media screen and (max-width: 992px) {
    .container {
        width: 740px;
    }
}

@media screen and (max-width: 768px) {
    .container {
        width: 100%;
        padding: 0 1rem;
    }
}

@media screen and (max-width: 372px) {
    .container {
        width: 100%;
        padding: 0 .5rem;
    }
}
