@media (max-width:1140px) {
    .intro {
        height: 640px;
    }

    .intro__box {
        height: 640px;
    }
}

@media (max-width:1000px) {
    .collect__box {
        flex-wrap: wrap;
        justify-content: center;
    }

    .widow {
        max-width: 1000px;
        width: 100%;
        background: #ffffff5c;
    }

    .title {
        display: block;
        text-align: center;
        width: max-content;
        margin: 20px auto;
    }

    .film__box {
        max-width: 600px;
        width: 100%;
        flex-wrap: wrap;
        margin: 0 auto 30px;
        justify-content: space-between;
    }

    .film__play,
    .film__time,
    .film__text,
    .film__title {
        transform: none;
    }

    .intro {
        height: 600px;
    }

    .intro__box {
        height: 600px;
    }

    .intro__title {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .intro__btns {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .intro__text {
        margin-left: auto;
        margin-right: auto;
        gap: 50px;
    }
}

@media (max-width:800px) {
    .footer{
        margin-top: 20px;
    }
    .footer__text{
        font-size: 16px;
    }
    .footer__imgs{
        gap: 10px;
    }
    .footer__box{
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
    }
    .series__box{
        grid-template-columns: repeat(2,1fr);
        grid-template-rows: repeat(4,1fr);
    }
    .series__play{
        width: 35px; 
        height: 37px;
    }
    .game{
        height: 400px;
    }
    .game__title{
        font-size: 35px;
    }
    .game__text{
        font-size: 15px;
    }
    .collect__title {
        font-size: 17px;
    }

    .collect__title,
    .collect__play {
        transform: none;
    }

    .collect__card:hover {
        box-shadow: none;
    }

    .collect__box {
        flex-wrap: nowrap;
        gap: 10px;
        overflow: hidden;
        overflow-x: scroll;
        justify-content: flex-start;
    }

    .collect__box::-webkit-scrollbar {
        height: 0;
    }

    .collect__card {
        flex-shrink: 0;
        max-width: 250px;
        height: 150px;
    }

    .widow__btn {
        margin: 0 auto;
        display: block;
    }

    .widow__title {
        width: 400px;
        height: 80px;
        margin: 0 auto;
        display: block;
    }

    .widow__text {
        margin: 40px auto;
        text-align: center;
    }

    .title {
        font-size: 30px;
        margin: 15px auto;
    }

    .intro__title {
        font-size: 55px;
    }

    .intro__text {
        font-size: 15px;

    }

    .intro {
        height: 500px;
    }

    .intro__box {
        height: 500px;
    }
}

@media (max-width:600px) {
    .series__title{
        font-size: 18px;
    }
    .game{
        margin-bottom: 10px;    
    }
    .series__box{
        display: flex;
        overflow: hidden;
        overflow-x: scroll;
        gap: 10px;
    }
    .series__card{
        flex-shrink: 0;
        width: 150px;
        min-height: 150px;
    }
    .game{
        gap: 15px;
        height: 350px;
    }
    .game__text{
        display: -webkit-box;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
        overflow: hidden;
        overflow-y: scroll;
    }
    .collect__title {
        font-size: 16px;
    }

    .collect__play img {
        width: 30px;
        height: 35px;
    }

    .widow {
        height: 400px;
    }

    .widow__title {
        width: 300px;
        height: 70px;
    }

    .widow__text {
        max-width: 500px;
        width: 100%;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        overflow-y: scroll;
    }

    .title {
        font-size: 25px;
        margin: 10px auto;
    }

    .film__play {
        width: 30px;
        height: 35px;
    }

    .film__card:hover {
        box-shadow: none;
    }

    .film__box {
        flex-wrap: nowrap;
        overflow: hidden;
        overflow-x: scroll;
    }

    .film__box::-webkit-scrollbar {
        background-color: var(--dark);
        height: 5px;
    }

    .film__box::-webkit-scrollbar-thumb {
        background: linear-gradient(90.09deg, #3800AF 0%, #BF7204 97.52%, #C27500 100%, #C27500 100%);
        border-radius: 5px;
    }

    .film__card {
        flex-shrink: 0;
        width: 200px;
        height: 300px;
        gap: 15px;
        padding: 0 5px;
    }

    .film__text {
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        overflow-y: scroll;
        line-height: 130%;
        font-size: 13px;
    }

    .menu {
        display: block;
    }

    .header {
        overflow: hidden;
    }

    .nav__list {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 99;
        padding-top: 50px;
        padding: 30px;
        height: 100vh;
        background-color: var(--dark);
        transform: translateX(100%);
        flex-direction: column;
        transition: 0.3s;
        position: fixed;
    }

    #check:checked+.nav__list {
        transform: translate(0);
        transition: 0.3s;
    }

    .close {
        position: absolute;
        right: 15px;
        top: 15px;
        display: block;
    }

    .nav__logo img {
        width: 90px;
        height: 30px;
    }

    .nav__logo span {
        font-size: 15px;
    }

    .header__top__text {
        font-size: 15px;
    }

    .header__top__img {
        width: 40px;
        height: 30px;
    }

    .btn {
        padding: 10px 25px;
    }

    .header__top {
        padding: 10px 0;
    }

    .intro__title {
        font-size: 35px;
    }

    .intro__text {
        text-align: center;
        max-width: 550px;
        width: 100%;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        overflow-y: scroll;
    }

    .nav {
        padding: 10px 0;
    }

    .intro {
        height: 400px;
    }

    .intro__box {
        height: 400px;
        gap: 10px;
    }
}

@media (max-width:400px) {
    .series__title{
        font-size: 14px;
    }
    .series__play{
        width: 25px;
        height: 30px;
    }
    .game{
        height: 250px;
        gap: 15px;

    }
    .game__title{
        font-size: 25px;
    }
    .game__text{
        font-size: 12px;
        line-height: 140%;
    }
    .collect__play img{
        width: 25px;
        height: 30px;
    }

    .collect__left,
    .collect__right {
        height: 105px;
    }

    .collect__card {
        width: 200px;
        height: 120px;
    }

    .collect__title {
        font-size: 14px;
    }

    .widow__title {
        width: 200px;
        height: 40px;
    }

    .widow {
        height: 300px;
    }

    .widow__text {
        margin: 25px auto;
        font-size: 16px;
        line-height: 130%;
    }

    .title {
        font-size: 25px;
        margin: 10px auto;
    }

    .film__box {
        gap: 10px;
    }

    .film__card {
        width: 170px;
        height: 270px;
    }

    .film__title {
        font-size: 18px;
    }

    .film__time {
        padding: 4px 15px;
    }

    .intro__title {
        font-size: 25px;
    }

    .intro__text {
        line-height: 120%;
    }

    .btn {
        padding: 8px 20px;
        font-size: 13px;
    }

    .header__top__text {
        font-size: 14px;
    }

    .nav__logo img {
        width: 65px;
        height: 25px;
    }

    .nav__logo span {
        font-size: 13px;
    }

    .intro {
        height: 300px;
    }

    .intro__box {
        height: 300px;
    }
}