/* 
==================================================
- Template Name: Smary - Personal Portfolio
- Author: MountainTheme 
- Description: Smary - Personal Portfolio
- Version: 1.0.0
==================================================
*/

@media screen and (max-width: 1200px) {

    /*** Common CSS ***/
    html[dir=rtl] body #main-wrapper {
        margin-right: auto;
    }

    body #main-wrapper {
        margin-left: auto;
    }

    /*** Desktop Navigation ***/
    html[dir=rtl] #header .primary-menu {
        left: auto;
        right: -255px;
    }

    #header .primary-menu {
        left: -255px;
    }

    html[dir=rtl] #header .primary-menu.active {
        left: auto;
        right: 0;
    }

    #header .primary-menu.active {
        left: 0;
    }

    /*** Mobile Navigation ***/
    .mobile-nav {
        display: block;
    }

    /*** About ***/
    .about .about-img-wrap {
        margin: 0 auto;
        text-align: center;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1400px) {

    /*** Common CSS ***/
    html[dir=rtl] body #main-wrapper {
        margin-left: auto;
        margin-right: 230px;
    }

    body #main-wrapper {
        margin-left: 230px;
    }

    /*** Desktop Navigation ***/
    #header .primary-menu {
        width: 230px;
    }

    .primary-menu .navbar-nav .nav-link {
        padding: 12px 30px;
    }
}

@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;
    }

    /*** 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;
    }

    /*** 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: 767px) {

    /*** 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-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;
    }

    /*** 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-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
    }
}