@import url('font.css');
@import url('color.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.film_serial_section{
    padding: 0px;
    padding-left: 1rem;
    padding-right: 1rem;
    
   
  
}
.image_film_small{
    display: none;
}
.item_film_serial{
   
    padding-top: 0px!important;
    padding-top: 1rem;
    width: 100%;
    padding-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
  position: relative;
    justify-content: space-between;
}
.content_film{
    background-color: #eee;
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1); /* سایه باکس */
    margin: 0px;
    margin-bottom: 0.7rem;
    padding: 1.5rem;
    border-radius: 1.5rem;
    width: 85%;
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: start;
    
   
    
}
.content_film .explain_film{
    width: 80%;
  
    
}
.content_film .explain_film p img{
    display: none;
}

.item_film_serial .image_film_big {
    width: 33%;
    height: 305px;
    object-fit: fill;
    position: absolute;
    right: 67%;
    box-shadow: 0 6px 6px rgba(12, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1); /* سایه باکس اولیه */
    border-radius: 1.5rem;
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out; /* انیمیشن برای تغییر سایه و حرکت */
    animation: orangeGlow 5s infinite; /* انیمیشن هاله نارنجی */
}

/* انیمیشن هاله نارنجی با حرکت */
@keyframes orangeGlow {
    0% {
        transform: translateY(0); /* شروع از موقعیت اولیه */
    
    }
    50% {
        transform: translateY(-10px); /* حرکت به بالا */
       
    }
    100% {
        transform: translateY(0); /* بازگشت به موقعیت اولیه */
       
    }
}


.content_film h6{
    font-size: 1.2rem;
    color: var(--titer);
}
.content_film p{
    font-size: 0.95rem;
    margin-top: 1.5rem;
    line-height: 1.6;
    font-family: 'vazir';
    font-weight: 300!important;
    margin-right: 1rem;
    margin-bottom: 1.5rem;
    color: var(--dark_gray);
}
.content_film a{
    text-decoration: none;
    font-size: 0.88rem;

}
.content_film button{
    background-color: var(--blue_two);
    padding: 0.5rem;
    margin-top: 0rem;
    border-radius: 0.5rem;
    color: var(--wight_syte);
    border:none;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-right: 1rem;
    transition: all 1000ms;
}
.content_film button:hover{
    background-color: var(--titer);
}

@media screen and (max-width: 1200px) {
    .content_film .explain_film{
        width: 75%;
        
        
    }
    .content_film{

        height: 320px;
        border-radius: 0.75rem;
        
       
        
    }


    
    .item_film_serial .image_film_big{
        width: 35%;
        height: 240px;
        right: 65%;
        border-radius: 0.75rem;
    }


    .content_film h6{
        font-size: 1.1rem;
      
    }
    .content_film p{
        font-size: 0.86rem;
       
    }
    .content_film a{
        text-decoration: none;
        font-size: 0.85rem;
    
    }
    .content_film button{
        background-color: var(--blue_two);
        padding: 0.35rem;
        margin-top: 0rem;
        border-radius: 0.3rem;
       
    }
}
@media screen and (max-width: 992px) {
    
    .film_serial_section {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        
    }


    .item_film_serial {
        flex-direction: column; /* تغییر جهت به عمودی */
        align-items: center;
        margin-bottom: -1200px!important;
    }

    .content_film {
        padding: 0.85rem;
        width: 100%; /* عرض کامل */
        height: auto; /* ارتفاع خودکار */
        padding: 1rem;
        margin-bottom: 1rem; /* فاصله بین محتوا و تصویر */
    }

    .content_film .explain_film {
        width: 100%; /* عرض کامل */
    }

    .item_film_serial .image_film_big {
        position: static; /* حذف موقعیت مطلق */
        width: 100%; /* عرض کامل */
        height: auto; /* ارتفاع خودکار */
        margin-top: 1rem; /* فاصله از محتوا */
        border-radius: 0.75rem;
    }

    .content_film h6 {
        font-size: 1rem; /* کاهش اندازه فونت */
    }

    .content_film p {
        font-size: 0.85rem; /* کاهش اندازه فونت */
        margin-top: 1rem;
        line-height: 1.5;

    }

    .content_film button {
        font-size: 0.8rem; /* کاهش اندازه فونت */
        padding: 0.4rem 0.8rem;
    }
}

@media screen and (max-width: 768px) {
    .slider_2{
        margin-bottom: 5rem;
    }
    .content_film{ 
        height: 280px;
    }
    .item_film_serial {
        flex-direction: column; /* تغییر جهت به عمودی */
        align-items: center;
        margin-bottom: -160px!important;
    }
    .content_film {
        padding: 0.8rem;
    }

    .content_film h6 {
        font-size: 1rem;
    }

    .content_film p {
        font-size: 0.85rem;
    }

    .content_film button {
        font-size: 0.7rem;
        padding: 0.3rem 0.7rem;
        margin-bottom: 0.85rem;
    }
}

@media screen and (max-width: 576px) {
    .content_film{

       
        height: 340px;
 
    }

    .item_film_serial {
        flex-direction: column; /* تغییر جهت به عمودی */
        align-items: center;
        margin-bottom: -100px!important;
    }
    .content_film {
        padding: 0.5rem;
    }

    .content_film h6 {
        font-size: 0.92rem;
        margin-top: 0.5rem;
        margin-right: 0.5rem;
    }

    .content_film p {
        font-size: 0.83rem;
    }

    .content_film button {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }
}
@media screen and (max-width: 400px) {
    .content_film h6 {
        font-size: 0.89rem;
        margin-top: 0.5rem;
        margin-right: 0.5rem;
    }
    
    .item_film_serial {
        flex-direction: column; /* تغییر جهت به عمودی */
        align-items: center;
        margin-bottom: -80px!important;
    }
    .content_film p {
        font-size: 0.8rem;
    }

}