/* 
==================================================
- Template Name: Smary - Personal Portfolio
- Author: MountainTheme 
- Description: Smary - Personal Portfolio
- Version: 1.0.0
==================================================
*/

@media screen and (max-width:1300px) {
    html {
        overflow-x: hidden;
    }
}

@media screen and (max-width: 1200px) {

    /*** About ***/
    .about .about-img-wrap {
        margin: 0 auto;
        text-align: center;
    }
}

@media screen and (max-width: 1199px) {

    /*** Section Title ***/
    .section-title h1 {
        font-size: 30px;
    }

    .section-title span {
        font-size: 75px;
    }

    /*** Home ***/
    .hero-area .hero-head strong {
        font-size: 53px;
    }
}

@media screen and (max-width: 991px) {

    /*** Common CSS ***/
    .section-ptb {
        padding: 62px 0;
    }

    /*** Hamburger Menu ***/
    .hamburger-menu {
        display: block;
    }

    /*** Modal ***/
    .modal-title,
    .news .modal .modal-title {
        margin-bottom: 25px;
    }

    .modal .modal-body {
        padding: 20px;
    }

    .modal-img {
        margin-bottom: 30px;
    }

    html[dir=rtl] .modal .modal-close {
        right: auto;
        left: 30px;
    }

    .modal .modal-close {
        top: 30px;
        right: 30px;
    }

    /* [ Header ] */
    #header .navbar-collapse {
        position: absolute;
        top: 99%;
        left: 0;
        right: 0;
        background: #212529;
        margin-top: 0;
        z-index: 1000;
    }

    #header .navbar-collapse .navbar-nav {
        padding: 15px;
    }

    #header .navbar-collapse .nav-item:not(:last-child) {
        border-bottom: 1px solid rgb(250 250 250 / 10%);
    }

    #header .navbar-collapse .nav-link {
        padding: 10px 0;
        height: auto;
        position: relative;
        color: #EFF2F6;
    }

    /*** Home ***/
    .hero-area .hero-content {
        padding-top: 110px;
        padding-bottom: 110px;
        align-items: end;
    }

    /*** About ***/
    .about .title {
        font-size: 35px;
    }

    .about .sub-title {
        font-size: 24px;
    }

    /* About -> Counter Box */
    .about .count-box .number {
        font-size: 40px;
    }

    /* Resume */
    .about .resume-row {
        margin-bottom: 20px;
    }

    .about .resume-box h5 {
        line-height: 1.5;
    }

    .about .skills-bar .ab-progress {
        overflow-x: clip;
    }

    /*** Services ***/
    .service .service-box p {
        margin-bottom: 20px;
    }

    /*  Portfolio Modal */
    .portfolio .modal-content-desc ul:not(:last-child) {
        margin-bottom: 12px;
    }

    /*** News ***/
    .news .post-content h3 {
        font-size: 20px;
        line-height: 29px;
    }

    /*  News Modal */
    .news .modal .modal-title {
        font-size: 21px;
        max-width: 395px;
    }

    .news .modal .modal-content-title {
        font-size: 19px;
    }

    .modal .modal-tags li:not(:last-child) {
        margin-bottom: 16px;
    }

    /* [ Footer ] */
    .footer {
        padding: 60px 0;
    }

    /* [ Terms & Policy, Disclaimer ] */
    html[dir=rtl] .termsPlicy-disclaimer .modal-close {
        right: auto;
        left: 10px;
    }

    .termsPlicy-disclaimer .modal-close {
        top: 10px;
        right: 10px;
    }
}

@media screen and (max-width: 912px) {

    /*** Home ***/
    .hero-area .hero-content {
        padding-top: 250px;
        padding-bottom: 250px;
    }
}

@media screen and (max-width: 820px) {

    /*** Home ***/
    .hero-area .hero-content {
        padding-top: 170px;
        padding-bottom: 170px;
    }
}

@media screen and (max-width: 768px) {

    /*** Common CSS ***/
    .section-ptb {
        padding: 55px 0;
    }

    /*** Section Title ***/
    .section-title {
        margin-bottom: 68px;
    }

    .section-title h1 {
        font-size: 26px;
    }

    .section-title span {
        font-size: 53px;
        letter-spacing: 1px;
    }

    /*** Home ***/
    .hero-area .hero-content {
        padding-top: 125px;
        padding-bottom: 125px;
    }

    .hero-area .hero-head small {
        font-size: 25px;
    }

    .hero-area .hero-head strong {
        font-size: 36px;
    }

    /*** About ***/
    .about .title {
        font-size: 29px;
    }

    .about .sub-title {
        font-size: 21px;
    }

    /* About -> Count Box */
    .about .count-box .number {
        font-size: 32px;
    }

    /*** Portfolio ***/
    .filter-button-group button {
        margin-bottom: 6px;
    }

    /*** Testimonial ***/
    .testimonial .testimonial-box {
        padding: 20px;
    }

    /*** News ***/
    .news .large-post .post-content,
    .news .medium-post .post-content {
        left: 17px;
        right: 17px;
        bottom: 17px;
    }

    .news .post-content h3,
    .news .large-post .post-content h3 {
        font-size: 23px;
        line-height: normal;
    }

    .news .medium-post .post-content h3 {
        font-size: 19px;
        line-height: normal;
    }

    /*  News Modal */
    .news .modal .modal-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .news .modal .modal-content-title {
        font-size: 17px;
    }

    /*** Contact ***/
    .contact .contact-address .contact-option {
        margin-top: 30px;
    }

    /* [ Footer ] */
    .footer {
        padding: 55px 0;
    }
}

@media screen and (max-width: 376px) {

    /*** Section Title ***/
    .section-title h1 {
        font-size: 25px;
    }

    .section-title span {
        font-size: 47px;
        letter-spacing: 1px;
    }

    /*** Home ***/
    .hero-area .hero-content {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    /*** About ***/
    .about .title {
        font-size: 32px;
    }

    .about .sub-title {
        font-size: 19px;
    }
}

@media screen and (max-width: 290px) {

    /*** Section Title ***/
    .section-title h1 {
        font-size: 16px;
    }

    .section-title span {
        font-size: 37px;
    }

    /*** Home ***/
    .hero-area .hero-content {
        padding-top: 90px;
        padding-bottom: 90px;
    }

    .hero-area .hero-head small {
        font-size: 21px;
    }

    .hero-area .hero-head strong {
        font-size: 25px;
    }

    .hero-area p {
        font-size: 16px;
    }

    /*** About ***/
    .about .exprience-year h1 {
        font-size: 32px;
    }

    .about .exprience-year p {
        font-size: 15px;
    }

    .about .title {
        font-size: 23px
    }

    .about .sub-title {
        font-size: 15px
    }
}