/* tablet Responsive */
@media screen and (max-width: 1100px) {
    header nav{
        width: 300px;
        height: 100vh;
        background: #212121;
        background: transparent;
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: 0;
        right: -300px;
        gap: 20px;
        transition: all .4s ease;
    }
    
    header button{
        display: none;
    }
    
    header{
        padding: 0 30px;
    }
    
    /* .fa-xmark{
        display: block;
        color: #acacac;
        position: absolute;
        top: 10px;
        left: 10px;
        padding: 5px;
        border-radius: 100px;
        width: 30px;
        height: 30px;
        cursor: pointer;
    } */
    
    .hero-section{
        overflow: hidden;
    }
    
    #menu{
        
        cursor: pointer;
        width: 40px;
        height: 40px;
        background: #ea0340;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    #menu i{
        color: #ffffff;

    }
}

/* mobile responsive */
@media screen and (max-width: 477px) {
    header nav{
        width: 270px;
        height: 100vh;
        background: #fafafa;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        position: absolute;
        top: 0;
        right: -300px;
        gap: 30px;
        transition: all .4s ease;
        padding-top: 75px;
        padding-left: 30px;
    }


    
    
    header button{
        display: none;
    }

    header #nav-tbn{
        display: block;
    }
    
    header{
        padding: 0 30px;
    }
    
    #hide-nav{
        width: 35px;
        height: 35px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 100px;
        box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.2);
        color: #161616;
        position: absolute;
        top: 20px;
        left: 20px;
        cursor: pointer;
        font-size: 20px;
        background: #fff;
    }

    
    .hero-section{
        overflow: hidden;
    }
    
    #menu{
        cursor: pointer;
        width: 30px;
        height: 30px;
        background: #ea0340;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        color: #ffffff;
        font-size: 20px;
        border-radius: 5px;
    }

    .heading{
        font-size: 35px;
    }

    .hero-section{
        padding: 20px 20px;
        padding-top: 70px;
        height: fit-content;
        flex-direction: column-reverse;
        align-items: center;
    }

    .hero-section .hero-content{
        width: 100%;
        height: fit-content;
    }

    .hero-section .hero-content h2{
        font-size: 30px;
    }

    .hero-section .hero-img{
        width: 100%;
    }

    .hero-section .social-icon{
        width: 100%;
        justify-content: center;
    }

    .about-me{
        flex-direction: column-reverse;
        padding: 20px;
        height: fit-content;
        overflow: hidden;
    }
    .about-me .about-img{
        display: none;
    }

    .about-me .about-content{
        width: 100%;
    }
    .about-btns{
        width: 100%;
    }

    .services, .skills, .discuss, .contact{
        height: fit-content;
        padding: 20px;
        text-align: center;
    }

    .main-discuss{
        
        overflow: hidden;
        height: 700px;
        align-items: flex-end;
        margin-top: 30px;
    }

    .discuss{
        padding-bottom: 10px;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding-top: 50px;
        height: 500px;
    }

    .p-c-content h2{
        font-size: 30px;
    }

    .discuss-card{
        width: 95%;
        height: 280px;
    }

    .discuss-card .d-card{
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .discuss .first-card{
        top: -170px;
    }

    .p-c{
        height: 100px;
    }
    .portfolio{
        height: fit-content;
        padding: 20px;
    }

    .contact-form{
        width: 100%;
        gap: 10px;
    }


    .form-img{
        width: 100%;
        padding: 20px;
    }

    .contact-form input{
        width: 100%;
    }
    .name-emil, .subject-file{
        gap: 10px;
    }

    .file{
        width: 100%;
    }

    .contact-img{
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

