@media only screen and (max-width: 767px) {
    .hero-txt {
        padding: 223px 0px 100px 0px;
    }
    .hero-txt h4 {
        font-size: 20px;
    }
    .hero-txt h1 {
        font-size: 40px;
    }
    .hero-area span#typed {
        font-size: 20px;
    }   
    .home-demo div[class*='col-']:nth-last-child(2) {
        margin-bottom: 30px;
    }    
    .home-demo .single-demo.mt-sm-30 {
        margin-top: 24px;
    }
    a.hero-boxed-btn {
        width: 165px;
        height: 50px;
        line-height: 50px;
        margin-top: 38px;
    }
}

@media only screen and (max-width: 550px) {
    .hero-txt h4 {
        font-size: 18px;
    }
    .hero-txt h1 {
        font-size: 32px;
    }
    .hero-area span#typed {
       font-size: 18px; 
    }    
    h2.section-title {
        font-size: 36px;
    }
}

@media only screen and (max-width: 414px) {
    .hero-txt h1 {
        font-size: 30px;
    }
    a.hero-boxed-btn {
        width: 150px;
        height: 45px;
        line-height: 45px;
        margin-top: 28px;
    }
    .single-demo {
        height: 440px;
    } 
    a.boxed-btn {
        padding: 13px;
        margin-top: 0px;
    } 
    .logo-wrapper img {
        max-width: 150px;
        max-height: 60px;
    }    
}

@media only screen and (max-width: 380px) {
    .hero-txt h4 {
        font-size: 16px;
    }
    .hero-area span#typed {
       font-size: 16px; 
    }    
    .hero-txt h1 {
        font-size: 24px;
    }
    .single-demo {
        height: 390px;
    }    
}

@media only screen and (max-width: 320px) {
    .hero-txt h4 {
        font-size: 16px;
    }
    .hero-area span#typed {
       font-size: 16px; 
    }    
    .hero-txt h1 {
        font-size: 24px;
    }
    .single-demo {
        height: 340px;
    }    
}