/*==============================================================================

 * Template Name: Zuman - Creative Personal Portfolio
 * Template URI: 
 * Author: ixtheme - (https://themeforest.net/user/ixtheme)
 * Description: Personal Portfolio Template
 * Version: 1.0
 * Copyright 2018 ixtheme

 ==============================================================================*/

/* Extra large devices (large desktops, 1200px and up) */

@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

@media (max-width: 1199px) {
    .container {
        max-width: 100%;
    }
    html,
    body {
        overflow-x: hidden;
    }
    img,
    iframe,
    video {
        max-width: 100%;
    }
}

/* Large devices (desktops, 991px and down) */

@media (max-width: 991px) {
    .header_bg {
        background-color: #222329;
    }
    .nav-btn {
        position: absolute;
        top: 0;
        right: 20px;
        font-size: 30px;
        display: inline-block;
        cursor: pointer;
        z-index: 9999;
    }
    .menu_items {
        text-align: center;
        position: fixed;
        width: 100%;
        left: 0;
        background: rgb(34, 35, 41);
        padding-bottom: 20px;
        top: calc(-100% - 85px);
        transition: .3s;
        -webkit-transition: .3s;
        -moz-transition: .3s;
        -ms-transition: .3s;
        -o-transition: .3s;
        z-index: 9998;
        opacity: 0;
        visibility: hidden;
    }
    .menu_items.show {
        top: 85px;
        opacity: 1;
        visibility: visible;
    }
    .header_fixed .menu_items.show {
        top: 75px;
    }
    .menu_items li,
    .header_fixed .menu_items li {
        display: block;
        height: inherit;
        line-height: 45px;
        height: 45px;
    }
    .menu_item {
        padding: 0;
        display: inline-block;
    }
    .menu_items .menu_item::after {
        width: 4px;
        left: calc(50% - 2px);
    }
    .menu_items .menu_item.active::after {
        width: 50px;
        left: calc(50% - 25px);
    }
    .menu_items li:last-child .menu_item.active::after {
        left: calc(50% - 25px);
    }
    .detail-page-shell .detail-home-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 76px;
        line-height: 76px;
        z-index: 10020;
        background: rgba(17, 17, 17, 0.98);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(14px);
    }
    .detail-page-shell .detail-home-header .logo,
    .detail-page-shell .detail-home-header .nav-btn {
        z-index: 10025;
    }
    .detail-page-shell .detail-home-header .menu_items {
        position: fixed;
        top: -420px;
        left: 0;
        right: 0;
        width: 100%;
        max-height: calc(100vh - 76px);
        overflow-y: auto;
        padding: 14px 20px 20px;
        background: #141414;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 24px 55px rgba(0, 0, 0, 0.35);
        z-index: 10015;
    }
    .detail-page-shell .detail-home-header .menu_items.show,
    .detail-page-shell .detail-home-header.header_fixed .menu_items.show {
        top: 76px;
        opacity: 1;
        visibility: visible;
    }
    .detail-page-shell .detail-home-header .menu_items li,
    .detail-page-shell .detail-home-header.header_fixed .menu_items li {
        display: block;
        height: auto;
        line-height: normal;
        margin: 0;
    }
    .detail-page-shell .detail-home-header .menu_item {
        display: block;
        width: 100%;
        padding: 14px 0;
        color: #fff;
        font-size: 14px;
        line-height: 1.2;
        text-align: center;
    }
    .detail-page-shell .detail-home-header .menu_items .menu_item::after {
        display: none;
    }
    .detail-page-shell .project-detail-sec {
        padding-top: 132px;
    }
    .works .row > .col-lg-10,
    .services .row > .col-lg-10 {
        padding: 0 65px;
    }
    .work_wrapper,
    .contact_wrapper {
        padding: 100px 50px;
    }
    .about {
        padding: 0 50px;
    }
    .contact_item {
        display: inline-block;
        margin-right: 40px;
        margin-bottom: 30px;
    }
    .about_info h4 {
        font-size: 23px;
    }
    .landing_content h1 {
        font-size: 60px;
    }
    .section_title {
        line-height: 1.2;
    }
    .section_intro,
    .landing_seo_text,
    .detail-seo-lead {
        max-width: 92%;
    }
    .about_desc,
    .about_desc p,
    .timeline_detail,
    .timeline_detail p,
    .blog-card-txt p,
    .project-detail-copy,
    .project-detail-copy p {
        overflow-wrap: break-word;
        word-break: normal;
    }
}

/* Medium devices (tablets, 768px and down) */

@media (max-width: 767px) {
    .home_wrapper {
        height: 600px;
    }
    .about_info h4 {
        margin-top: 50px;
    }
    .services .row > .col-lg-10 {
        padding: 0 45px;
    }
    .counter,
    .testimonials,
    .work_wrapper,
    .contact_wrapper {
        padding: 100px 30px;
    }
    .counter .row .col-lg-10 .row .col-sm-6:nth-child(1), 
    .counter .row .col-lg-10 .row .col-sm-6:nth-child(2) {
        margin-bottom: 40px;
    }
    .work-popup {
    	padding: 60px 15px;
    }
    .about_img .about_img_1.bottom {
        top: -65px;
    }
    .about_img .about_img_2 {
        top: 12px;
    }
    .about {
        padding: 0 30px;
    }
    .section_title {
        font-size: 28px;
        margin-bottom: 104px;
        line-height: 1.25;
    }
    .experience_wrapper .section_title,
    .work_wrapper .section_title,
    .blog-sec .section_title {
        margin-bottom: 104px;
    }
    .section_intro {
        margin: -8px auto 44px;
        font-size: 15px;
        line-height: 1.75;
    }
    .landing_seo_text {
        margin-top: 16px;
        font-size: 15px;
        line-height: 1.7;
    }
    .about_desc,
    .about_desc p,
    .about_desc span {
        font-size: 15px !important;
        line-height: 1.75 !important;
    }
    .timeline_panel {
        padding: 28px 22px;
    }
    .timeline_heading {
        align-items: flex-start;
    }
    .timeline_item h4,
    .timeline_heading h3 {
        line-height: 1.3;
    }
    .blog-card-main {
        margin-bottom: 28px;
    }
    .blog-card-img {
        height: 220px;
    }
    .skills-txt {
        justify-content: flex-start;
        max-width: 320px;
        margin: 0 auto;
    }
    .detail-hero h1 {
        font-size: 34px;
        line-height: 1.16;
    }
    .detail-seo-lead {
        font-size: 14px;
        line-height: 1.65;
        padding: 13px 16px;
    }
}

/* Small devices (mobile, 575px and down) */
@media (max-width: 575px) {
    .home_wrapper {
        height: 450px;
    }
    .about_info p.about_desc {
        font-size: 16px;
    }
    .about_info p.about_desc span {
        font-size: 17px;
    }
    .landing_content h1 {
        font-size: 42px;
        margin-bottom: 15px;
    }
    .work_details_text h2 {
        font-size: 25px;
    }
    .work-popup {
    	padding: 60px 0px;
    }
    .work-popup .work-info h4 {
    	font-size: 25px;
    }
    .work-popup .work-details-2 .work-info {
    	margin-bottom: 60px;
    }
    .layout-fixed {
        padding-right: 0;
    }
    .layout-fixed header {
        width: 100%;
    }
    .about_img .about_img_1.bottom {
        top: -55px;
    }
    .about_img .about_img_2 {
        top: 20px;
    }
    .filter-buttons {
        margin-bottom: 40px;
    }
    .filter-buttons button {
        padding: 0 10px;
        display: block;
        margin-bottom: 5px;
    }
    header,
    .detail-page-shell .detail-home-header {
        height: 72px;
        line-height: 72px;
    }
    .menu_items.show {
        top: 72px;
    }
    .detail-page-shell .detail-home-header .menu_items.show,
    .detail-page-shell .detail-home-header.header_fixed .menu_items.show {
        top: 72px;
    }
    .home_wrapper {
        min-height: 520px;
        height: auto;
    }
    .landing_content {
        padding: 120px 12px 80px;
    }
    .landing_content h1 {
        font-size: 38px;
        line-height: 1.15;
        overflow-wrap: break-word;
    }
    .landing_content h4 {
        font-size: 18px;
        line-height: 1.4;
    }
    .landing_seo_text {
        max-width: 100%;
        font-size: 14px;
    }
    .about_wrapper,
    .experience_wrapper,
    .work_wrapper,
    .blog-sec,
    .skills,
    .contact_wrapper {
        padding-top: 72px;
        padding-bottom: 72px;
    }
    .work_wrapper,
    .contact_wrapper {
        padding-left: 18px;
        padding-right: 18px;
    }
    .section_title {
        font-size: 27px;
        margin-bottom: 92px;
        line-height: 1.22;
        word-break: normal;
        overflow-wrap: break-word;
    }
    .section_title::after {
        height: 42px;
        top: calc(100% + 20px);
    }
    .section_title::before {
        height: 30px;
        top: calc(100% + 20px);
    }
    .experience_wrapper .section_title,
    .work_wrapper .section_title,
    .blog-sec .section_title {
        margin-bottom: 92px;
    }
    .section_intro {
        max-width: 100%;
        margin: -4px auto 36px;
        font-size: 14px;
        line-height: 1.65;
    }
    .about {
        padding: 0 18px;
    }
    .about_info h4 {
        font-size: 22px;
        line-height: 1.3;
    }
    .about_desc,
    .about_desc p,
    .about_desc span {
        font-size: 14px !important;
        line-height: 1.7 !important;
    }
    .timeline_panel {
        padding: 24px 18px;
    }
    .timeline_heading span {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
    .timeline_item {
        padding-left: 20px;
    }
    .timeline_item h4 {
        font-size: 18px;
    }
    .timeline_detail,
    .timeline_detail p,
    .timeline_empty p {
        font-size: 14px;
        line-height: 1.7;
    }
    .work_single_item,
    .project_card,
    .blog-card-main {
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }
    .blog-card-txt-main {
        padding: 22px 18px;
    }
    .blog-card-heading h4 {
        font-size: 19px;
        line-height: 1.35;
    }
    .blog-card-txt p {
        font-size: 14px;
        line-height: 1.65;
    }
    .skills-txt {
        justify-content: center;
        flex-wrap: wrap;
        text-align: center;
    }
    .contact_item {
        display: block;
        margin-right: 0;
    }
    .input_field {
        margin-bottom: 18px;
    }
    .detail-page-shell .project-detail-sec {
        padding: 118px 0 58px;
    }
    .detail-hero {
        margin-bottom: 30px;
    }
    .detail-hero h1 {
        font-size: 30px;
        line-height: 1.18;
    }
    .detail-meta {
        gap: 10px;
    }
    .detail-seo-lead {
        max-width: 100%;
        margin-bottom: 22px;
    }
    .detail-side-card,
    .detail-page-shell .project-detail-body,
    .detail-page-shell .blog-detail-form {
        padding: 22px 18px;
    }
    .detail-side-card h2 {
        font-size: 23px;
    }
    .detail-page-shell .project-detail-copy h3 {
        font-size: 26px;
    }
    .detail-page-shell .project-detail-copy,
    .detail-page-shell .project-detail-copy p,
    .detail-page-shell .project-detail-copy li {
        font-size: 14px;
        line-height: 1.75;
    }
    .detail-page-shell .project-detail-image img {
        min-height: 220px;
        max-height: 360px;
    }
    .whatsapp-widget,
    .detail-page-shell .whatsapp-widget {
        right: 16px !important;
        bottom: 16px !important;
        width: 50px;
        height: 50px;
    }
}

/* extraSmall devices ( 400px and down) */
@media (max-width: 400px) {
    header {
        height: 70px;
        line-height: 70px;
    }
    .header_fixed .menu_items,
    .menu_items {
        top: calc(-100% - 70px);
    }
    .menu_items.show {
        top: 70px;
    }
    .detail-page-shell .detail-home-header {
        height: 70px;
        line-height: 70px;
    }
    .detail-page-shell .detail-home-header .menu_items.show,
    .detail-page-shell .detail-home-header.header_fixed .menu_items.show {
        top: 70px;
    }
    .section_title {
        margin-bottom: 110px;
    }
    .logo img {
        height: 16px;
    }
    .about_wrapper {
        padding: 75px 0;
        margin-top: 75px;
    }
    .counter,
    .testimonials,
    .work_wrapper,
    .contact_wrapper {
        padding: 75px 15px;
    }
    .clients,
    .services {
        padding: 75px 0;
    }
    .about {
        padding: 0 15px;
    }
    .services .row > .col-lg-10 {
        padding: 0 30px;
    }
    .landing_content h1 {
        font-size: 38px;
        margin-bottom: 15px;
    }
    .landing_content h4 {
        font-size: 21px;
    }
    .section_title {
        font-size: 25px;
    }
    .counter span {
        font-size: 25px;
        letter-spacing: 2px;
    }
    .counter h4 {
        margin-bottom: 12px;
        font-size: 16px;
    }
    .counter i {
        margin-bottom: 12px;
    }
    .testimonial_single_item p {
        line-height: 170%;
    }
    .no-bg-img .home_wrapper {
        padding-top: 120px;
    }
    .about_info h4 {
        font-size: 20px;
    }
    .section_title {
        font-size: 24px;
        margin-bottom: 86px;
    }
    .experience_wrapper .section_title,
    .work_wrapper .section_title,
    .blog-sec .section_title {
        margin-bottom: 86px;
    }
    .section_intro {
        font-size: 13.5px;
        line-height: 1.6;
    }
    .detail-hero h1 {
        font-size: 27px;
    }
    .detail-page-shell .project-detail-sec {
        padding-top: 108px;
    }
    .detail-meta a,
    .detail-meta span {
        font-size: 12px;
        padding: 10px 12px;
    }
    .detail-button,
    .blogs-form-btn .theme1 {
        width: 100%;
    }
}
