header.dark_theme {
    --drk_bdy_color: #1f2024;
    --body_color: #333;
    --primary_color: #fff;
    --bg_color: #27292d;
    --secondary_color: #b8b8b8;
    --tertiary_color: #fff;
    --border_color: #fff;
    --border_color1: #fff;
    --eee_color: #666;
    --navbg: #000000e0;
    --icon: #fff;
    --btn_orange: #ff9f6e;
}

header * {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    text-transform: capitalize;
    outline: none;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    box-sizing: border-box;
    transition: all 0.2s;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

header #btn_up {
    position: fixed;
    bottom: 12px;
    right: 12px;
    z-index: 1000;
    border: none;
    outline: none;
    background: none;
    opacity: 0;
}

header #btn_up i {
    font-size: 2.4rem;
    color: var(--icon);
    font-weight: bold;
}

header #btn_up i:hover {
    scale: 0.95;
    color: #ffb300;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.2rem 5.4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 0.3rem 0.6rem rgba(0, 0, 0, 0.1);
    background: #000;
    color: #fff;
    transition: top 0.3s;
}

header .hidden {
    opacity: 0;
    transform: translateY(-100%);
}

header .logo {
    font-size: 1.5rem;
    color: var(--primary_color);
    font-weight: bolder;
}

header span {
    color: var(--orange);
}

header .navbar {
    background: #000;
}

header .navbar a {
    font-family: 'Poppins';
    font-size: 1.2rem;
    color: var(--secondary_color);
    padding: 0 0.9rem;
    position: relative;
}

header .navbar a:nth-child(4)::after {
    content: 'New';
    color: #fff;
    background: #2af31d;
    border-radius: 0.6rem;
    padding: 0.12rem 0.42rem 0.18rem;
    font-size: 0.6rem;
    margin-left: 0.18rem;
    line-height: 0.6rem;
    position: relative;
    top: -0.18rem;
}

header .navbar > span {
    position: relative;
    margin-left: 0.12rem;
}

header .navbar .search {
    width: 9.6rem;
    height: 2.04rem;
    font-size: 0.78rem;
    border: 0.06rem solid #fff;
    border-radius: 0.48rem;
    transition: 0.6s;
    text-transform: none;
    background-color: #F0F2F5;
    margin-left: 1.2rem;
    padding: 0.6rem;
    outline: none;
}

header .search::placeholder {
    color: #4f4f4f;
    margin: 0 1.8rem;
}

header .navbar span i {
    position: absolute;
    display: flex;
    align-items: center;
    top: -1px;
    right: 0px;
    margin-right: 0.72rem;
    font-size: 0.9rem;
    height: 100%;
    color: #696969;
    transition: 0.6s;
}

header .navbar span:hover .search {
    background: #fff1e6;
    transform: scale(1.2);
}

header .navbar span:hover i {
    transform: scale(1.2);
}

header .navbar a:hover {
    color: #ff4800;
}

header .icons a:hover {
    color: var(--orange);
}

header .icons i {
    font-size: 1.5rem;
}

header .icons a:hover {
    transform: scale(1.1);
}

header #toggler {
    display: none;
}

header .fa-bars {
    font-size: 1.5rem;
    padding: 0.3rem 0.9rem;
    color: var(--primary_color);
    border: 0.06rem solid var(--border_color);
    border-radius: 0.3rem;
    display: none;
}

header h5 .text-xl {
    font-size: 0.9rem;
    line-height: 1.5rem;
}

header .text-xl p {
    font-size: 0.9rem;
}

header .slider .slide_cont {
    width: 100%;
    height: 27rem;
    margin: auto;
    margin-top: 4.8rem;
    position: relative;
    overflow: hidden;
}

header .slider .arrow:first-child {
    position: absolute;
    top: 45%;
    left: 0;
    z-index: 4;
    color: var(--primary_color);
    background: var(--bg_color);
    width: 1.44rem;
    text-align: center;
    border-top-right-radius: 0.12rem;
    border-bottom-right-radius: 0.12rem;
    display: none;
    cursor: pointer;
    transition: 0.2s;
}

header .slider .arrow:first-child:hover {
    background: #ff4000;
    color: #fff;
}

@media (max-width:1052px) {
    header html {
        font-size: 57%;
    }

    header {
        padding: 1.2rem 3%;
    }

    header .content .head_content .img {
        flex: 1 1 20rem;
        width: 3rem;
        height: 12rem;
        position: relative;
    }
}

@media (max-width:820px) {
    header .fa-bars {
        display: block;
    }

    header .navbar {
        height: 100vh;
        position: absolute;
        top: 100%;
        right: -100%;
        left: 0;
        border-top: 0.06rem solid rgba(0, 0, 0, 0.1);
        background: #000;
        clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
        opacity: 0.9;
        transition: 0.6s cubic-bezier(0.55, 0, 0.1, 1) 0s;
    }

    header .navbar a {
        font-weight: bold;
        display: block;
        padding: 0.9rem;
        margin: 0.9rem;
        color: var(--primary_color);
    }

    header #toggler:checked ~ .navbar {
        clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
    }

    header .navbar .search {
        margin: 0.9rem;
        width: 12rem;
        height: 2.4rem;
    }

    header .navbar .search {
        margin-right: 0.6rem;
    }
    header .navbar .search:hover {
        transform: scale(1.1);
    }

    header .slide_cont .img_box a {
        font-size: 0.96rem;
        margin: 0.78rem;
    }

    header .content .head_content a {
        margin-top: 0.6rem;
    }

    header .content .head_content .img {
        height: 10.8rem;
    }

    header .content .head_content a {
        font-size: 1.32rem;
    }

    header .box_container .sub_boxes {
        height: 16vh;
    }

    header .end_content .movie .card-box .cards {
        height: 27.6rem;
    }

    header .end_content .movie .card-box .cards::before {
        margin-top: 18rem;
    }

    header .navbar > span:hover .search {
        background: #ffe0cc;
        transform: scale(1.1);
        border: 0.06rem solid var(--orange);
        box-shadow: var(--shadow);
    }

    header .navbar > span:hover input::placeholder {
        color: #393939;
    }
}

@media only screen and (max-width: 480px) {
    header {
        padding: 0.6rem 3%;
    }
    header .logo {
        font-size: 1.32rem;
    }
    header .navbar a {
        font-size: 1.08rem;
        padding: 0 0.72rem;
    }
    header .navbar .search {
        width: 24%;
        font-size: 0.78rem;
        margin-left: 0.9rem;
    }
    header .icons a,
    header .icons i {
        font-size: 1.5rem;
    }
}

@media only screen and (min-width: 481px) and (max-width: 768px) {
    header {
        padding: 0.48rem 2.4%;
    }
    header .logo {
        font-size: 1.2rem;
    }
    header .navbar a {
        font-size: 0.9rem;
        padding: 0 0.6rem;
    }
    header .navbar .search {
        width: 36%;
        font-size: 0.72rem;
        margin-left: 0.6rem;
    }
    header .icons a,
    header .icons i {
        font-size: 1.32rem;
    }
}

@media only screen and (min-width: 769px) and (max-width: 1024px) {
    header {
        padding: 0.6rem 3%;
    }
    header .logo {
        font-size: 1.32rem;
    }
    header .navbar a {
        font-size: 1.08rem;
        padding: 0 0.72rem;
    }
    header .navbar .search {
        width: 24%;
        font-size: 0.78rem;
        margin-left: 0.9rem;
    }
    header .icons a,
    header .icons i {
        font-size: 1.5rem;
    }
}

@media only screen and (min-width: 1025px) {
    header {
        padding: 0.9rem 4.2%;
    }
    header .logo {
        font-size: 1.5rem;
    }
    header .navbar a {
        font-size: 1.2rem;
        padding: 0 0.9rem;
    }
    header .navbar .search {
        width: 12rem;
        font-size: 0.78rem;
        margin-left: 1.2rem;
    }
    header .icons a,
    header .icons i {
        font-size: 1.5rem;
    }
}
