@import url('color.css');
@import url('fonts.css');


.book_block{
    display: flex;
    justify-content: space-between;
    margin-top: 110px;
    margin-bottom: 0px!important;
}
.list_book{
  
    height: auto;
    margin-top: 60px;
}
.book_block .item_book{
    display: flex;
    object-fit: fill;
    width: 24.5%;
    justify-content: start;
    align-items: end;
    border-radius: 0.3rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    height: 150px;
    background-color: #3299fa6d;
      box-shadow: 0 6px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1); /* سایه باکس */
}
.book_block .item_book:nth-child(1) {
    background-color: rgba(246, 90, 246, 0.29) !important;
}

.book_block .item_book:nth-child(2) {
    background-color: rgba(72, 242, 163, 0.307) !important;
}

.book_block .item_book:nth-child(3) {
    background-color: rgba(101, 149, 253, 0.334) !important;
}

.book_block .item_book:nth-child(4) {
    background-color: rgba(255, 166, 0, 0.197) !important;
}




.book_block .item_book .content_book{
   
    margin-top: 1.5rem;
    height: 100%;
    width: 100%;
    padding-right: 0.4rem;
  
 
}
.book_block .item_book img{
    width: 140px;
    height: 180px;
    border-radius: 0.3rem;
    margin-left: 0.5rem;
    transition: all 1000ms;
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1); /* سایه باکس */
}
.book_block .item_book img:hover{
   margin-bottom: 1rem;
}
.book_block .item_book h6{
    font-size: 0.95rem;
    line-height: 1.6;
    font-family: "vazir-bold";
    color: var(--blue_one);
}
.book_block .item_book a{
    text-decoration: none;
}
.writer_book{
    display: flex;
    justify-content: start;
    align-items: center;

}
.writer_book label{
    font-size: 0.85rem;
    color: var(--dark_gray);
   
   
}
.writer_book .icon_writer_book{
    width: 15px;
    height: 15px;
    color: var(--dark_gray);
    margin-left: 0.3rem;
}


@media screen and (max-width: 1350px) {
    .book_block {
        flex-wrap: wrap; /* اجازه می‌دهد آیتم‌ها به ردیف بعدی بروند */
        justify-content: space-between; /* فاصله مناسب بین آیتم‌ها */
    }
    .book_block .item_book{
        display: flex;
        width: 49%;
        justify-content: start;
        border-radius: 0.3rem;
        margin-bottom: 65px;
       
    }
    @media screen and (max-width: 768px) {
        .book_block .item_book h6{
            font-size: 0.85rem;
            line-height: 1.6;
            font-family: "vazir-bold";
            color: var(--blue_one);
        }
        .writer_book label{
            font-size: 0.8rem;
            color: var(--dark_gray);
           
           
        }
        .writer_book .icon_writer_book{
            width: 14px;
            height: 14px;
            color: var(--dark_gray);
            margin-left: 0.3rem;
        }
        
    }
    @media screen and (max-width: 668px) {
        .book_block {
            flex-wrap: wrap; /* اجازه می‌دهد آیتم‌ها به ردیف بعدی بروند */
            justify-content: space-between; /* فاصله مناسب بین آیتم‌ها */
        }
        .book_block .item_book{
            display: flex;
            width: 100%;
            
        }
        .book_block .item_book{
     
            height: 120px;
        }
        .book_block .item_book img{
            width: 100x;
            height: 160px;
            border-radius: 0.3rem;
            margin-left: 0.5rem;
            transition: all 1000ms;
            box-shadow: 0 6px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1); /* سایه باکس */
        }
       
    
    }





}



