@media(max-width:1750px){
    .list-films {
    grid-template-columns: repeat(5, 14em);
    }
}
@media(max-width:1550px){
    .list-films {
        grid-template-columns: repeat(4, 14em);
    }
    .block-list-films {
        margin-left: 19vw;
    }
    .list-news {
        grid-template-columns: repeat(5, 240px);
    }
    .block-pagination {
        margin-left: 22%;
    }
}
@media(max-width:1300px){
    .left-sidebar::-webkit-scrollbar {
        width: 10px; /* Ширина всего элемента навигации */
    }
    .left-sidebar::-webkit-scrollbar-track {
        /*background: #fff; *//* Цвет дорожки */
        background:-webkit-linear-gradient(144deg, #AF40FF, #5B42F3 50%, #00DDEB);
    }
    .left-sidebar::-webkit-scrollbar-thumb {
        background-color:#d6c4fd73; /* Цвет бегунка */
        border-radius: 20px; /* Округление бегунка */
        border: 2px solid #ffffff; /* Оформление границ бегунка */
    }
    .header{
       border-bottom:none;
    }
    .left-sidebar{
        display:none;
        z-index:15;
        top: 25vh;
        width:100%;
        height:51vh;
        border-top: 3px solid transparent;
        border-bottom: 3px solid transparent;
        border-image: linear-gradient(144deg, #AF40FF, #5B42F3 50%, #00DDEB);
        -moz-border-image: -moz-linear-gradient(144deg, #AF40FF, #5B42F3 50%, #00DDEB);
        -webkit-border-image: -webkit-linear-gradient(144deg, #AF40FF, #5B42F3 50%, #00DDEB);
        border-image-slice: 1;
    }
    .list-jenre{
        padding: 0 25px;
    }
    .item-jenre {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 6px 12px;
        min-height:50px;
    }
    .item-jenre:hover{
        border-radius:8px;
    }
    .block-list-films {
        margin-left: 0px;
    }
    .btn-janre{
        z-index: 16;
        position:fixed;
        align-items: center;
        background-image: linear-gradient(144deg, #AF40FF, #5B42F3 50%, #00DDEB);
        border: 0;
        border-radius: 8px;
        box-shadow: rgba(151, 65, 252, 0.2) 0 15px 30px -5px;
        box-sizing: border-box;
        color: #FFFFFF;
        display: flex;
        font-size: 18px;
        justify-content: center;
        line-height: 1em;
        max-width: 100%;
        min-width:91%;
        padding: 8px 20px;
        text-decoration: none;
        user-select: none;
        -webkit-user-select: none;
        touch-action: manipulation;
        white-space: nowrap;
        cursor: pointer;
    }
    .list-films {
        margin-top:55px;
    }
    .list-jenre {
        display: grid;
        grid-template-rows: repeat(6, 0.5fr);
        grid-template-columns: repeat(6, 1fr);
        gap: 18px;
        margin-bottom:0;
        margin-top:15px;
    }
    .list-news {
        grid-template-columns: repeat(4, 240px);
    }
    .block-pagination {
        margin-left: 0;
    }
    .title-item-news {
        height: 30%;
    }
    .title-item-news h1{
        font-size:22px;
    }
    .top-film a{
        font-weight:600;
    }
}
@media(max-width:1100px){
    .list-jenre {
        display: grid;
        grid-auto-rows:0.5fr;
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
        margin-bottom:0;
        margin-top:15px;
    }
    .block-list-films {
        width: 100%;
    }
    .list-news {
        grid-template-columns: repeat(3, 240px);
    }
    .img-news img {
        height: 80%;
    }
}
@media(max-width:990px){
    .list-films {
        grid-template-columns: repeat(3, 14em);
    }
    .nav{
        display:flex;
        justify-content: space-between;
        align-items: center;
        position:relative;
    }
    .search{
        display:none;
    }
    .list-nav{
        display:none;
    }
    .nav-mob-wrap{
        position: fixed;
        right: 0;
        top: 174px;
        display: flex;
        justify-content: flex-end;
        width: 100%;
        overflow: hidden;
        background: linear-gradient(183deg, rgb(12 12 13 / 92%) 32%, rgb(122 65 247 / 64%) 100%);
    }
    .list-nav-mob {
        padding: 18px 18px 0px 18px;
        display:  flex;
        flex-direction: column;
        gap:15px;
        width: 340px;
        height: 100vh;
        box-shadow: -8px 0px 15px -3px #ffffff;
        background: linear-gradient(183deg,rgba(12, 12, 13, 1) 32%, rgba(122, 65, 247, 1) 100%);
    }
    .item-nav-mob{
        border-bottom:1px solid #ffffff;
        padding-bottom:12px;
    }
    .burger-btn i{
        color:#FFFFFF;
        font-size:30px;
    }
    .search-mob{
        width:70%;
    }
    .search-form input {
        width: 100%;
        font-size: 12px;
    }
    .search-button {
        top: 13px;
    }
    .left-sidebar {
        top: 27vh;
    }
    .link-top-film {
        font-size: 16px;
        padding: 10px 20px;
    }
    .item-nav{
        display:flex;
        justify-content:flex-end;
    }
    .title-item-news {
        height:30%;
        font-size:14px;
    }
    .list-pagination {
        grid-template-columns: repeat(8, 50px);
        grid-template-rows: 0.5fr;
        grid-auto-rows: 0.5fr;
    }
    .info-item-film {
        width: 90%;
    }
    .detail-film {
        width: 90%;
    }
    .play-films-block{
        width: 90%;
    }

    .actors{
        display:grid;
        grid-template-columns: 1fr;
        grid-template-rows:0.5fr 0.5fr;
        gap:10px;
    }
    .table-torrent {
        width: 81vw;
    }
    .header-table-torrent{
        display:none;
    }
    .info-torrent{
        display:grid;
        grid-template-columns:repeat(5,1fr);
        grid-template-rows:0.5fr 0.5fr 0.5fr;
        width:100%;
    }
    .translate{
        grid-row:1/2;
        grid-column:1/6;
        border-right:none;
        border-bottom:1px solid #ffffff;
        width:100%;
    }
    .quality-header, .files-header, .sizes-header, .magnet-header, .download-torrent-header, .quality-body, .files-body, .sizes-body, .magnet-body, .download-torrent-body {
        width: auto;
    }
    .translate, .translate-block {
        width: auto;
    }
    .more-detailed{
        display:none;
    }
    .more-detailed-mob{
        grid-row:3/4;
        grid-column:1/6;
        border-top:1px solid #ffffff;
        width:100%;
        display: flex;
        justify-content: flex-end;
    }
    .btn-detail {
        align-items: center;
        background-image: linear-gradient(144deg, #AF40FF, #5B42F3 50%, #00DDEB);
        border: 0;
        border-radius: 8px;
        box-shadow: rgba(151, 65, 252, 0.2) 0 15px 30px -5px;
        box-sizing: border-box;
        color: #FFFFFF;
        display: flex;
        font-size: 14px;
        justify-content: center;
        line-height: 1em;
        max-width: 100%;
        min-width: 64px;
        padding: 9px 20px;
        text-decoration: none;
        user-select: none;
        -webkit-user-select: none;
        touch-action: manipulation;
        white-space: nowrap;
        cursor: pointer;
        margin:10px 0;
    }
   .item-torrent:last-child .info-torrent{
        border-bottom:none;
    }
    .sizon-block,.episode-block{
        width:90%;
    }
    .item-nav-mob a{
        display:flex;
        width:100%;
    }
    .img-news img {
        height: 88%;
    }

}
@media(max-width:768px){
    .list-films {
        grid-template-columns: repeat(2, 14em);
    }
    .list-jenre {
        grid-template-columns: repeat(3, 1fr);
        font-size: 14px;
    }
    .left-sidebar {
        top: 26vh;
    }
    .list-news {
        grid-template-columns: repeat(2, 230px);
    }
    .header-news {
        height: 250px;
    }
    .block-news{
        margin-top:50px;
    }
    .title-item-news{
        top: 70%;
        padding:15px;
        height: 196px;
        z-index: 10;
    }
    .title-item-news h1{
        font-size: 22px;
    }
    .content-news {
        margin-top: 120px;
    }
    .info-item-film,.detail-film  {
        width: 100%;
    }
    .wrap-description {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 35px;
        margin-top: 20px;
        width: 100%;
    }
    .table-torrent {
        width: 90vw;
    }
    .sizon-block,.episode-block {
        width: 100%;
    }
    .sizon{
        width:95%;
    }
    .swiper-button-prev, .swiper-rtl .swiper-button-next,.swiper-button-prev-episode{
        left: 4px !important;
        right: auto !important;
    }
    .swiper-button-next, .swiper-rtl .swiper-button-prev,.swiper-button-prev-episode {
        right: 4px !important;
        left: auto !important;
    }
    .play-films-block{
        width: 90vw;
    }
    .content-footer {
        flex-direction:column;
        gap:8px;
        height:65px;
    }
    .img-film-page{
        display: flex;
        flex-direction:column;
        width: 100%;
        align-items:center;
        justify-content: center;
        gap: 5px;
    }
    .header-item-news {
        height: auto;
    }
    .img-news {
        width: 100%;
        height: auto;
        background: #8080807a;
        backdrop-filter: blur(22px);
        border-radius: 20px;
    }
    .img-news img {
        height: 90%;
    }
    .nav {
        margin: 23px 0 20px 0;
    }
}
@media(max-width:500px){
    .list-nav-mob {
        right: -25px;
    }
    .list-films {
        grid-template-columns: 100%;
        justify-items: center;
    }
    .list-jenre {
        grid-template-columns: repeat(2, 1fr);
        font-size: 14px;
        padding:10px;
    }
     .list-news {
        grid-template-columns:300px;
    }
    .block-news{
        margin-top:25px;
    }
    .content-news {
        margin-top: 180px;
    }
    .title-item-news {
        top: 80%;
        padding: 15px;
        /height: auto;
        min-height: 200px;
        overflow: hidden;
    }
    .title-item-news h1 {
        font-size: 18px;
    }
    .img-news img {
        border-radius: 20px 20px 0 0;
    }
    .list-pagination {
        grid-template-columns: repeat(5, 50px);
    }
    .actors {
        gap: 0px;
    }
    .link-quality,.translate,.files-body,.sizes-body{
        font-size:10px;
    }
    .magnet-body a img, .download-torrent-body a img {
        width: 20px;
    }
    .btn-detail{
        padding: 9px 10px;
    }
    .actors {
        grid-template-rows: 0.5fr;
    }
    .swiper {
        margin-left: 7% !important;
        margin-right: 0px  !important;
    }
    .swiper-button-next-episode i {
        right: 5px;
    }
    .swiper-button-prev-episode i {
        left: 5px;
    }
    .content-footer {
        gap:8px;
        height:75px;
        text-align:center;
    }
    .search_block {
        width: 91vw;
    }
    .left-sidebar {
        top: 292px;
    }
    .info-news {
        padding: 10px;
        height: 110px;
    }
    .top-header {
        flex-direction: column;
    }
    .top-film{
        width: 100%;
        margin-top: 26px;
    }
    .swiper-button-next, .swiper-button-prev{
        top:16% !important;
    }
    .swiper-button-prev i, .swiper-button-prev-episode i {
        left: 2px;
        right: auto;
        top: 24px;
    }
    .swiper-button-next i,.swiper-button-next-episode i{
        right:2px;
        left:auto;
        top:24px;
    }
    .list-jenre {
        gap: 0px;
    }
    .more-info {
        padding: 8px 0 10px 0;
    }
    .nav-mob-wrap {
        top: 219px;
    }
}
@media(min-width:640px){
       .swiper-wrapper{
         justify-content:center;
       }

}
@media(min-width:991px){
    .search-mob,.burger-btn,.mob-col,.btn-detail{
        display:none;
    }
    .list-nav{
        display:flex;
    }
    .list-nav-mob{
        display:none;
    }
}
@media(min-width:1301px){
    .btn-janre{
        display:none;
    }
    .left-sidebar{
        display:block;
    }

}
@media(min-width:1990px){
    .block-content{
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .top-header {
        display: flex;
        justify-content: center;
        gap: 175px;
    }
    .block-list-films {
        width: 100vw;
        margin-left: 13%;
    }
    .list-films {
        justify-content: left;
        grid-template-columns: repeat(6, 260px);
    }
    .top-header,.nav{
        width:100%;
    }
    .title-banner h1{
        font-size:300px;
    }
    .header-news {
        width: 99vw;
        height: 365px;
        display: flex;
        align-items: center;
    }
    .left-sidebar {
        display: block;
        width:310px;
    }
    .block-pagination {
        width: 1558px;
    }
    .list-pagination {
        width: 100%;
    }
    .search-form input {
        width: 520px;
    }
}
