/*** media query for mobile responsive  ***/

/* menu-bar and close expend button */
@media only screen and (max-width: 768px) {
    .menu, .resume {
       display: none;
    }

    .nav_bar {
        justify-content: space-between;
        padding: 13px 15px;
        position: fixed;
        background: var(--light);
        width: 100%;
        z-index: 999;
        overflow: hidden;
    }

    .threeline {
        display: block;
    }

    .logo {
        display: block;
    }

    .home-wrapper {
        overflow-x: hidden;
    }

}

/* home section */
@media only screen and (max-width: 768px) {
    .home-image {
        display: none;
    }

    .dot-img, .dot-img1, .dot-img2, .dot-img3, .dot-img4 {
        display: none;
    }

    .intro-text h2 {
        font-size: 30px;
    }

    .contact_btn {
        font-size: 12px;
    }

    .intro-text p {
        font-size: 15px;
        font-family: "open sans", sans-serif;
        color: #e7e7e7;
        line-height: 1.4rem;
        padding: 15px 0;
    }

    .tech-img-wrapper {
        display: flex;
        align-items: start;
        justify-content: center;
        gap: 1rem;
    }
    
    .tech-img {
        width: 35px;
        height: 35px;
        background-repeat: no-repeat;
        background-size: cover;
        border-radius: 8px;
        box-shadow: 0px 2px 19px #891f1f;
        transition: all .3s;
    }

/* about section */ 
    #about {
        flex-direction: column;
        align-items: center;
        overflow-x: hidden;
    }

    .about-img {
        margin-bottom: 0px;
        overflow-x: hidden;
    }

    .about-text h3 {
        padding-top: 0px;
        font-size: 30px;
    }

    .about-text {
        width: 100%;
        padding: 50px;
        overflow-x: hidden;
    }
    .about-text p {
        font-size: 15px;
    }

 /* portfolio section design */
   .portfolio-wrapper h3 {
        font-size: 30px;
   }

   .portfolio_s_row {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .view_more button {
        padding: 10px 20px;
        font-size: 15px;
    }

    /* service section */
    #service h3 {
        font-size: 30px;
    }

    .service_wrapper {
        flex-direction: column;  
        gap: 1rem;  
        overflow-x: hidden;
    }

    /* experience section */
    #experience h3 {
        padding-bottom: 30px;
        font-size: 30px;
    }

    .ex_wrapper {
        margin: 0 50px;
    }

    .ex_tab {
        padding: 7px 0;
    }

    .ex_tab strong {
        padding: 8.3px;
        font-size: 15px;
    }

    .ex_text .ex_title {
        padding: 20px 0px 30px;
    }

    .ex_text .ex_title h4 {
        font-size: 17px;
        line-height: 1.4rem;
    }

    .ex_text .ex_title h4 a {
        font-size: 15px;
    }

    .ex_text .ex_title span {
        font-size: 13px;
    }

    .ex_text div li {
        font-size: 15px;
    }

    /* contact section  */
    .section-title .title {
        font-size: 30px;
       
    }

    /* footer section */
    .footer .footer-info-area .text p {
        font-size: 15px;
    }

    .footer .fotter-social-links ul li a {
        font-size: 15px;
        width: 30px;
        height: 30px;
        line-height: 27px;
    }

    .footer .copy-bg p, a {
        font-size: 15px;
    }
}

@media only screen and (max-width: 412px) {
    /* home section */
    .logo h3 {
        font-size: 16px;
    }

    .home-wrapper {
        padding: 30px 0px  50px;
    }

    .intro-text {
        margin-top: 100px;
        padding: 0 30px;
    }

    .intro-text h2 {
        font-size: 20px;
        line-height: 1.9rem;
    }

    .typewrite {
        font-size: 20px;
    }

    .intro-text p {
        padding: 10px 0px 0px 0px;
    }

    #home {
        padding-bottom: 80px;
        
    }
    /* about section */
    .about-img {
        width: 300px;
        height: 400px;
        margin-top: 0px;
    }
   
    .portfolio_s_row .portfolio_s {
        width: 300px;
        height: 350px;
    }

    #about {
        padding: 80px 0;
    }

    .about-text {
        padding: 50px 30px;
        padding-bottom: 0px;
    }

    /* service section */
    .card {
        width: 20rem !important;
    }

    /* experience section */
    .ex_wrapper {
        margin: 0px 5px;
        padding: 0px;
    }

    .ex_tab strong {
        padding: 5.8px;
        padding-top: 8.9px;
        font-size: 14px;
        border-top: none;
    }

    /* footer section */
    .footer {
        padding-top: 0px;
    }

    .footer .copy-bg p {
        font-size: 13px;
    }

    .footer .copy-bg a {
        font-size: 13px;
    }

    .footer .copy-bg {
        padding: 10px;
    }
}


