body{
    margin: 0px;
    padding: 0px;
    font-family: poppins;
    border: rgba(151, 151, 151, 0.03);
}
*{
    box-sizing: border-box;
}
ul{list-style: none;}
a{text-decoration: none;}
nav{
    display: flex;
justify-content: space-around;
align-items: center;
width: 100%;
border: 1px solid rgba(0,0,0, 0.04);
background-color: #ffffff;
position: fixed;
left: 0;
z-index: 100;
top: 0;


}
.logo img {
    height: 35px;
}
nav .menu{
    display: flex;
    /*تخليها مستقيمة*/
}
nav .menu li a{
    height: 40px;
    line-height: 43px;
    margin: 0px;
    padding: 0px 22px;
    display: flex;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 500;
    color: #585858;
    letter-spacing: 1px;
    
}
.search{
    width: 250px;
    height: 40px;
    background-color: rgba(245, 245, 245, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px 20px;
    border-radius: 20px;
}
.search input{
    width: 100%;
    height: 30px;
    border: none;
    outline: none;
    background-color: transparent;
}
.search i {
    color: #3a3a3a;
}
nav .menu li a:hover{
    background-color: #242424;
    color: #ffffff;
    box-shadow: 5px 10px 30px rgba(53, 53, 53, 0.1);
transition: all ease 0.2s;
}
#main{
    padding-top: 80px;
    background-color: #ffffff;
}
.showcase-box{
    width: 430px;
    height: 250px;
    box-shadow: 5px 15px 30px rgba(0,0,0,0.3);
border-radius: 10px;
margin: 0px 20px 10px 20px;
overflow: hidden;

}
.showcase-box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}
.showcase-heading{
    padding-left: 57px; 
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 1.2rem;
    color: #1a1a1a;

}
.cs-hidden{
    overflow: visible !important;
}
#latest{
    border-top: 1px solid rgba(53, 53, 53, 0.1);
}
.latest-heading{
    margin: 30px 30px 0px 30px;
    font-weight: 500;
    font-size: 1.3rem;
}
.latest-box{
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 2px 30px rgba(0, 0,0,0.2);
    margin: 20px 10px;
    border-radius: 10px;
    overflow: hidden;
    width: 200px;
    background-color: #ffffff;
}
.latest-b-img{
    width: 100%;
    height: 100%;
}
.latest-b-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.latest-b-text strong{
    color: #3a3a3a;
    margin: 0px;
}
.latest-b-text{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 10px;
}
.latest-b-text p{
    color: #979797;

    margin: 0px;
}
.movies-heading h2{
    font-weight: 400;
    margin: 0px;
    padding: 5px 20px;
    background-color: rgba(196, 182, 182, 0.01);
border: 1px solid rgba(196, 182, 182, 0.01);
font-size: 1.7rem;
letter-spacing: 1px;
text-transform: uppercase;
width: 100%;

}
.movies-heading{
    display: flex;
    margin: 0px 2%;
    border: 1px solid rgba(53, 53, 53, 0.1);

}
.movies-box{
    width: 300px;
display: flex;
justify-content: space-between;
align-items: center;
flex-direction: column;
box-shadow: 2px 2px 30px rgba(0,0, 0, 0.2);
margin: 20px;
overflow: hidden;
border-radius: 5px;
border-top: 3px solid #292929;

}
.movies-img{
    width: 100%;
    height: 400px;
    position: relative;
}
.movies-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.movies-box a{
    text-align: center;
    display: block;
    font-weight: 600;
    display: -webkit-box;
    max-width: 80%;
    -webkit-line-clamp: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #3a3a3a;
    margin: 20px;
}
.movies-box:hover{
    transform: translate(-10px);
    transition: all ease 0.2s;
}
#movis-list{
    display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;


}
.quality{
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1f1f1f;
    color: #ffffff;
    padding: 5px 20px;
    font-weight: 500;
    border-radius: 0px 0px 10px 10px;
    box-shadow: 5px 10px 30px rgba(0,0,0,0.2);
}

.btns{
    display: flex;
    justify-content: center;
    align-items: center;
}
.btns a{
    width: 130px;
    height: 40px;
    border: none;
    outline: none;
    color: #ffffff;
    background-color: #3963f0;
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
}
.btns a:hover{
    background-color: #284fd1;
}
footer{
    display: flex;
    justify-content: space-around;
    align-items: center;
    border: px solid rgba(53, 53, 53, 0.1); ;

   
}
footer p{
    color: #5e5e5e;
    margin: 10px 0px;
    font-size: 0.9rem;
}
nav .menu-btn{
    display: none;
}
/*RESPONSIVE*/
@media(max-width:1100px) {
    nav{
        justify-content: space-between;
        height: 70px;
        padding: 0px 10px;
    }
    nav .menu{
        display: none;
        position: absolute;
        top: 65px;
        left: 0px;
        background: #fff;
        border-bottom: 4px solid #242424;
        width: 100%;
        padding: 0px;
        margin: 0px;

    }
    .menu li{
        width: 100%;
    }
    nav .menu li a{
        width: 100%;
height: 40px;
align-items: center;
margin: 0px;
padding: 25px;
border: 1px solid rgba(38, 38, 38,0.03);


    }
    nav .menu-icon{
        cursor: pointer;
        float: right;
        padding: 28px 20px;
        position: relative;
        user-select: none;
        display: block;
    }
    nav .menu-icon .nav-icon{
        background-color: #333333;
    display: block;
    height: 2px;
    position: relative;
    transition: background 0.2s ease-out;
    width: 18px;
    
    
    }
    nav .menu-icon .nav-icon:before, nav .menu-icon .nav-icon:after{
        background: #333333;
        content: '';
        height: 100%;
        display: block;
        position: absolute;
        transition: all ease-out 0.2s;
        width: 100%;
    }
    nav .menu-icon .nav-icon:before{
        top:5px;
    }
    nav .menu-icon .nav-icon:after{
      top:-5px
    }
nav .menu-btn:checked ~ .menu-icon .nav-icon{
    background: transparent;
}
nav .menu-btn:checked ~ .menu-icon .nav-icon:before{
    transform: rotate(-45deg);
    top: 0;

}
nav .menu-btn:checked ~ .menu-icon .nav-icon:after{

    transform: rotate(45deg);
    top: 0;
}
nav .menu-btn{
    display: none;
}
nav .menu-btn:checked ~ .menu{
    /*لماتضغطعلى الخطوطتظهر القائمةمنسدلة*/
    display: block;

}

    
}
@media(max-width:680px) {
    .showcase-box{
        max-width: 300px;
        height: 180px;
        margin: 10px;
    }
    .latest-box{
        width: 190px;
        margin: 20px 5px;
    }
    .movies-box{
        flex-direction: row;
        width: 90%;
        border: 1px solid rgba(0,0,0,0.2);
    }
    .movies-box a{
        width: 65%;
    }
    footer{
        justify-content: space-between;
        padding: 0px 20px;
        text-align: center;
    }
}
@media(max-width:440px){
    .movies-box a, .movies-box{
        width: 100%;
    }
    .movies-box{
        flex-direction: column;
    }
    .logo img{
        height: 30px;
    }
    .search{
        width: 90%;
        height: 40px;
    }
}