/* Webfont: Yekan */
@font-face {
    font-family: 'Yekan';
    src: url('http://razblog.ir/assets/Yekan-Font-master/Yekan.eot');
    /* IE9 Compat Modes */
    src: url('http://razblog.ir/assets/Yekan-Font-master/Yekan.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('http://razblog.ir/assets/Yekan-Font-master/Yekan.woff2') format('woff2'),
        /* Modern Browsers */
        url('http://razblog.ir/assets/Yekan-Font-master/Yekan.woff') format('woff'),
        /* Modern Browsers */
        url('http://razblog.ir/assets/Yekan-Font-master/Yekan.otf') format('opentype'),
        /* Open Type Font */
        url('http://razblog.ir/assets/Yekan-Font-master/Yekan.ttf') format('truetype');
    /* Safari, Android, iOS */
    font-weight: normal;
    font-style: normal;
    text-rendering: optimizeLegibility;
    font-display: auto;
}

* {
    font-family: 'Yekan', sans-serif;
}

:root {
    --main-color: #1075a8;
    --man-bg-color: #abb8c3;
}

textarea {
    resize: none;
    border-radius: 10px;
    width: 80%;
}

a,
i {
    text-decoration: none;
    color: #fff;
}

ul {
    list-style-type: none;
}

i {
    margin-left: .5rem;
}

.loading {
  background-color: #fff;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  transition: all 0.8s;
  z-index: 1111;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

header {
    box-shadow: 0 8px 8px 0 rgba(0, 0, 0, 0.3), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.top-header {
    background-color: var(--main-color);
}

.navbar {
    background-color: #555;
}

nav {
    width: 700px;
}

nav a {
    padding: 5px;
    font-weight: bold;
    border-radius: 10px;
    transition: all .3s ease;
}



nav a:hover {
    background-color: rgb(20, 164, 247);
    color: #fff;
}

.btm-header {
    background-image: url("http://razblog.ir/assets/img/banner.jpg");
    height: 160px;
    background-size: cover;
    background-position: center;
}

.ad-one {
    direction: ltr;
}


.ad-one img {
    border: 3px solid black;
    margin: 40px 0 0 140px;
    width: 50%;
    height: 90px;
    /* object-fit: cover; */
}

.ad-two {
    background-color: var(--man-bg-color);
}

.ad-two div:nth-child(1) {
    background-color: var(--main-color);
    padding: 10px;
    text-align: center;
    color: #fff;
}

.ad-two div:nth-child(2) {
    padding: 15px 0;
}

.ad-two img {
    width: 100%;
    object-fit: cover;
}

.side-menu {
    background-color: var(--man-bg-color);
}

.side-menu img {
    width: 20px;
    margin-left: 1px;
}

.side-menu a {
    width: 90%;
    background-color: rgb(46, 46, 46);
    padding: 2px 3px 7px 0;
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: bold;
    transition: all .3s ease;
}

.side-menu a:hover {
    background-color: rgb(20, 164, 247);
    color: #fff;
}

.side-menu div {
    background-color: var(--main-color);
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    text-align: center;
    color: #fff;
}

.category .top {
    background-color: var(--main-color);
    padding: 10px;
    text-align: center;
    color: #fff;
}

.category .list-group .list-group-item {
    background-color: var(--man-bg-color);
}

.content {
    background-image: linear-gradient(109.6deg, rgba(156, 252, 248, 1) 11.2%, rgba(110, 123, 251, 1) 91.1%);
}

.all-blogs img {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 8px;
}

.blog{
    position: relative;
}


.all-blogs .row .blog span {
    color: #fff;
    padding: 2px;
    border-radius: 8px;
    position: absolute;
    bottom: 4%;
    right: 45%;
    background-color: var(--main-color);
}



.heading img {
    width: 30px;
}

.top-content p:nth-child(1) {
    color: rgb(6, 109, 6);
}

.top-content p:nth-child(2) {
    color: rgb(177, 9, 140);
}

.pagination a {
    color: black;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .3s;
}

.pagination a:hover {
    background-color: #5ab6e4;
}

.pagination {
    background-color: rgb(83, 136, 136);
}

.all-posts {
    margin-top: 5rem;
}

.card {
    background-image: linear-gradient(to right, #00b4db, #0083b0);
}


.card img {
    margin: 8px 8px 0 0;
    width: 150px;
    aspect-ratio: 1/1;
    border-radius: 5px;
}

.card p {
    text-align: justify;
}

.post .top {
    background-color: var(--main-color);
    padding: 10px;
    text-align: center;
    color: #fff;
}

.post .list-group .list-group-item {
    background-color: var(--man-bg-color);
}

.blog-img {
    display: flex;
    justify-content: center;
}

.blog-img img {
    width: 45%;
    aspect-ratio: 1/1;
    border-radius: 8px;
}


.card-title {
    background-color: #555;
}

.blog-type img {
    width: 20%;
} 

.blog-type a {
    background-color: rgb(58, 58, 70);
    border-radius: 10px;
    transition: all .5s;
}


.blog-type a:hover {
    color: #fff;
    background-color: #0083b0;
}

.code {
    height: 320px;
}

.code img {
    width: 60px;
    aspect-ratio: 1/1;
    border-radius: 10px;
}

.music ul {
    list-style-type:decimal;
}

.each-img img{
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
}

.each-img, .each-post p {
    text-align: justify;
}

.each-post img {
    width: 100%;
}

footer {
    background-color: #313030;
    margin-top: 3rem;
}

footer .text-ad {
    background-color: #272727;
}

footer .ad-section .each-ad:hover {
    background-color: rgb(20, 164, 247);
}

footer a:hover {
    color: #fff;
}

.ad p {
    text-align: center;
}



.ad a {
    color: rgb(14, 139, 14);
}