*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

body html{
    width: 100%;
    height: auto;
    font-family: sans-serif;
}

/* header-box */
header{
    top: 0;
    z-index: 1000;
    position: fixed;
    padding: 1.5rem 0;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background: linear-gradient( to right ,rgb(232, 194, 182), rgb(240, 155, 121));
}

header .logo a{
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;

}

.logo a img{
    width: 3.5rem;
    height: auto;
}

.logo a h3{
    font-size: 2rem;
    color: orangered;
}

.logo a h3 span{
    color: whitesmoke;
}


/* nav-box */
header nav{
    
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

nav ul li{
    list-style: none;
}

nav ul li a{
    margin-right: 2rem;
    font-size: 1.2rem;
    color: black;
    text-decoration: none;
}

nav ul li a:hover{
    color: aliceblue;
    transition: all 0.5s ease-in-out ;
}

#check{
    display: none;
}

#checkbtn{
    display: none;
    cursor: pointer;
    font-size: 4vmin;
}

#check:checked ~ ul{
    left: 0;
}



@media (max-width:850px) { 


    body{
        width: 100%;
        height: auto;
    }
    
    header{
        margin: 0;
        width: 100%;
        height: auto;
        padding: 1rem 2rem; 
        display: flex;
        justify-content: space-between;
    }

    header nav #checkbtn{
        display: block;
        color: rgb(17, 16, 16);
    }

    #check:checked ~ .menu i:before{
        content: "\f00d";
    }

    nav ul{
        
        width: 200px;
        height: 50vh;
        background-color: rgb(214, 189, 189);
        position: fixed;
        top: 0px;
        left: -100%;
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: space-evenly;
        transition: all 0.5s ease-in;
        border-bottom-right-radius: 80px;

    }

    nav ul li {
        display: block;
        text-align: center;
    }


}



/*---- main-box ----*/
main{
    width: 100%;
    height: auto;
    margin-top: 2rem;
}


main .home{
    margin-top: 5rem;
    padding: 5rem 3rem 4rem 7rem;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    
   
}

/* home-image */
.home .home-image{
    margin: 2rem 0 2rem 0;
    padding: 1.5rem; 
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
   

} 

.home-image img{
    width:22rem;
    height: auto;
    border-radius: 50%;
    background-color: rgb(219, 223, 221);
    box-shadow: 0.5px 0.5px 15px rgb(255, 82, 2);
}


/* home-infrom */
.home .home-infrom{
    margin: 2rem 1rem;
}

.home-infrom h1{
    margin: 3rem 0 0 5rem;
    font-size: 2.5rem;
}

.home-infrom h1 span{
    color: orangered;
}

.home-infrom h2{
    margin-left: 5rem;
    font-size: 2.5rem;
}

.home-infrom p{
    margin: 1rem 0 0 5rem;
    font-size: 1.5rem;
}


/* button-box */
.button{
    margin: 2rem 0 0 5rem;

}


.button a{
    margin-left: 1rem;
    font-size: 1rem;
    color: black;
    text-decoration: none;
    padding: 0.5rem 1rem;
    width: 100%;
    height: 2rem;
    background-color: rgb(250, 112, 62);
    border-radius: 10px;
    box-shadow: 0.5px 0.5px 5px black;
}

.button a:hover{
    color: aliceblue;
    background-color: rgb(50, 46, 46);
}



/* =====about-box====== */

main #about{
    width: 100%;
    height: auto;
    padding: 6.5rem 8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(57, 59, 59);
}

/* about-infrom */

#about .about-infrom h1{
    font-size: 2rem;
    color: orangered;
}

#about .about-infrom p{
    margin-top: 2rem;
    font-size: 1.5rem;
    color: aliceblue;
}


/* about-image */

#about .about-image{
    margin-left: 5rem;
    width: auto; 
    height: auto;
    
}


#about .about-image img{
    width: 22rem;
    height: auto;
    border-radius: 50%;
    background-color: rgb(133, 125, 125);
    box-shadow: 0.5px 0.5px 15px orangered;
}





/* =====services-box===== */
main #services{
    width: 100%;
    height: auto;
    padding: 5rem 0rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#services h2{
    font-size: 1.7rem;
    color: orangered;
    text-decoration: underline;
}







#services .ser-main{
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* flex-wrap: wrap; */
}






#services .srvs-box{
    margin: 3rem 1rem;
    width: 20rem;
    height: 15rem;
    padding: 1rem;
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    background-color: rgb(238, 236, 232);
    border: 2px solid orangered;
    border-radius: 10px;
    box-shadow: 0.5px 0.5px 10px orangered;
}


#services .srvs-box:hover{
    scale: 1.1;
    transition: all 0.3s ease-in-out;
    background-color: rgb(213, 202, 202);
}

.srvs-box h3{
    color: orangered;
    font-size: 1.2rem;
}

.srvs-box p{
    margin-top: 1rem;
    font-size: 1rem;
}




/* =======projects-box ====== */
main #projects{
    padding: 4rem 4rem;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(205, 205, 205);
}


#projects h2{
    color: orangered;
    font-size: 2rem;
    text-decoration: underline;
}



/* main-pjt */
#projects .main-pjt{
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(4, 15rem);
    grid-template-rows: auto;
    gap: 20px;
}


#projects .main-pjt .pjt-box{ 
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(251, 251, 255);
    box-shadow: 0.5px 0.5px 10px rgb(97, 95, 100);
    /* border: 2px solid black; */
    border-radius: 10px;
}

.pjt-box a{
    width: 15rem;
    height: 10rem;
    padding: 1rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.pjt-box a img{
    width: 50px;
    height: auto;
}

.pjt-box a h4{
    margin-top: 0.5rem;
    color: black;
}




/* ======skils-box======= */

main #skills{
    padding: 3rem 4rem;
    width: 100%;
    height: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#skills .heading h2{
    margin-top: 2rem;
    color: orangered;
    font-size: 1.5rem;
    text-decoration: underline;
}

/* skill-home */
#skills .skill-home{
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 30px 50px;
    
}

.skill-home .box-1{
    
    width: 12rem;
    height: 12rem;
    border-radius: 50%;
    background-color: rgb(230, 230, 230);
    box-shadow: 0.5px 0.5px 10px rgb(110, 109, 107);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.skill-home .box-1:hover{
    scale: 1.1;
    transition: all 0.3s ease-in-out;
}


.skill-home .box-1 img{
    width: 50px;
    height: auto;
}

.skill-home .box-1 h3{
    font-size: 1.2rem;
    color: rgb(255, 98, 36);
}

.skill-home .box-1 h2{
    font-size: 1.2rem;
    color: black;
}






/* ========contact-page========= */
main #contact{
    padding: 3rem 0;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(226, 237, 234);
}

#contact h2{
    color: orangered;
    font-size: 1.6rem;
    text-decoration: underline;
}

#contact form{
    margin-top: 2rem;
}

#contact form fieldset{
    text-align: center;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    background-color: rgb(255, 255, 255);
    box-shadow: 0.5px 0.5px 15px rgb(64, 60, 60);
}

form fieldset input{
    margin: 0.5rem;
    padding: 2px 5px;
    width: 15rem;
    height: 2rem;
    outline: none;
    border: none;
    border-radius: 5px;
    box-shadow: 0.5px 0.5px 5px rgb(66, 57, 57);

}


form fieldset textarea{
    margin: 1rem 0;
    padding: 0.5rem;
    width: 31.5rem;
    height: 10rem;
    border-radius: 5px;
    box-shadow: 0.5px 0.5px 5px rgb(108, 108, 108);
    outline: none;
    border: none;
}


form fieldset a{
    margin-top: 2rem;
    padding: 0.5rem 2rem;
    color: aliceblue;
    text-decoration: none;
    background-color: rgb(32, 30, 30);
    border-radius: 5px;
    box-shadow: 0.5px 0.5px 5px black;
}

form fieldset a:hover{
    color: rgb(247, 94, 11);
    background-color: rgb(44, 44, 45);
}







/* footer-page */
footer{  
    text-align: center;
    padding: 3rem 0;
    background-color: rgb(47, 47, 47);
}

footer .icon a i{
    margin: 1rem;
    padding: 0.3rem 0.4rem;
    color: rgb(224, 209, 209);
    font-size: 1.7rem;
    border-radius: 50%;
    background-color: rgb(8, 8, 8);
    box-shadow: 0.5px 0.5px 15px orangered;
}

footer .icon a i:hover{
    scale: 1.2;
    transition: all 0.3s ease-in-out;
}


footer .link{
    margin-top: 1rem;
}

footer .link a{
    margin: 1rem;
    color: aliceblue;
    text-decoration: none;
}

footer .link a:hover{
    color: orangered;
}

footer p{
    margin: 1rem 0;
    color: aliceblue;
    font-size: 1.2rem;
}






/* ======= media queries===== */

/* home-page */
@media only screen and (min-width: 1052px) and (max-width: 1150px) {
    main .home{
        width: 100%;
        padding: 2rem 1rem 3rem 6rem;
    } 

    .home .home-image img{
        width: 21rem;
    }

    .home-infrom h1{
        font-size: 2.5rem;
    }

    .home-infrom h2{
        font-size: 2.5rem;
    }

    .home-infrom p{
        font-size: 1.2rem;
    }
} 


@media only screen and (min-width:952px) and (max-width:1052px) {
     main .home{
        padding: 2rem 3rem 3rem 5rem;
    } 

    .home .home-image img{
        width: 20rem;
    }

    .home-infrom h1{
        margin-left: 2rem;
        font-size: 2.4rem;
    }

    .home-infrom h2{
        margin-left: 2rem;
        font-size: 2.4rem;
    }

    .home-infrom p{
        margin-left: 2rem;
        font-size: 1.2rem;
    }
}



@media only screen and (min-width:852px) and (max-width:952px) {
     main .home{
        padding: 2rem 1rem 3rem 3rem;
    } 

    .home .home-image img{
        width: 19rem;
    }

    .home-infrom h1{
        margin-left: 1.5rem;
        font-size: 2.3rem;
    }

    .home-infrom h2{
        margin-left: 1.5rem;
        font-size: 2.3rem;
    }

    .home-infrom p{
        margin-left: 1.5rem;
        font-size: 1.1rem;
    }
}




@media only screen and (min-width:752px) and (max-width:852px) {
     main .home{
        padding: 2rem 1rem 3rem 3rem;
    } 

    .home .home-image img{
        width: 14rem;
    }

    .home-infrom h1{
        margin-left: 1.2rem;
        font-size: 2.3rem;
    }

    .home-infrom h2{
        margin-left: 1.2rem;
        font-size: 2.3rem;
    }

    .home-infrom p{
        margin-left: 1.2rem;
        font-size: 1.1rem;
    }

    .button{
        margin-left: 2rem;
    }
}




@media only screen and (min-width:652px) and (max-width:752px) {
     main .home{
        padding: 2rem 1rem 3rem 2rem;
    } 

    .home .home-image img{
        width: 13rem;
    }

    .home-infrom h1{
        margin-left: 1.2rem;
        font-size: 2.1rem;
    }

    .home-infrom h2{
        margin-left: 1.1rem;
        font-size: 2.1rem;
    }

    .home-infrom p{
        margin-left: 1.1rem;
        font-size: 1.1rem;
    }

    .button{
        margin-left: 1.5rem;
    }
}




@media only screen and (min-width:552px) and (max-width:652px) {
     main .home{
        margin-top: 2rem;
        text-align: center;
        flex-direction: column;
        padding: 2rem 1rem 0rem 2rem;
    } 

    .home .home-image{
        margin-bottom: 0;
    }

    .home .home-image img{
        width: 18rem;
    }

    .home .home-infrom{
        margin-top: 0rem;
        text-align: center;
    }

    .home-infrom h1{
        margin-left: 0rem;
        font-size: 2.4rem;
    }

    .home-infrom h2{
        margin-left: 0rem;
        font-size: 2.4rem;
    }

    .home-infrom p{
        margin-left: 0rem;
        font-size: 1.5rem;
    }

    .button{
        margin-left: 0rem;
    }
}



@media only screen and (min-width:452px) and (max-width:552px) {
    

    header .logo a img{
        width: 3rem;
        height: auto;
    }


    header .logo a h3{
        font-size: 1.8rem;
    }

    main .home{
        margin-top: 2rem;
        text-align: center;
        flex-direction: column;
        padding: 2rem 1rem 0rem 2rem;
    } 

    .home .home-image{
        margin-bottom: 0;
    }

    .home .home-image img{
        width: 15rem;
    }

    .home .home-infrom{
        margin-top: 0rem;
        text-align: center;
    }

    .home-infrom h1{
        margin-left: 0rem;
        font-size: 2.3rem;
    }

    .home-infrom h2{
        margin-left: 0rem;
        font-size: 2.3rem;
    }

    .home-infrom p{
        margin-left: 0rem;
        font-size: 1.3rem;
    }

    .button{
        margin-left: 0rem;
    }
}




@media only screen and (min-width:352px) and (max-width:452px) {
    

    header .logo a img{
        width: 2.7rem;
        height: auto;
    }


    header .logo a h3{
        font-size: 1.6rem;
    }

    main .home{
        margin-top: 1.7rem;
        text-align: center;
        flex-direction: column;
        padding: 2rem 1rem 0rem 2rem;
    } 

    .home .home-image{
        margin-bottom: 0;
    }

    .home .home-image img{
        width: 13rem;
    }

    .home .home-infrom{
        margin-top: 0rem;
        text-align: center;
    }

    .home-infrom h1{
        margin-left: 0rem;
        font-size: 2rem;
    }

    .home-infrom h2{
        margin-left: 0rem;
        font-size: 1.8rem;
    }

    .home-infrom p{
        margin-left: 0rem;
        font-size: 1rem;
    }

    .button{
        margin-left: 0rem;
    }
}



@media only screen and (min-width:300px) and (max-width:352px) {


    header .logo a img{
        width: 2.5rem;
        height: auto;
    }


    header .logo a h3{
        font-size: 1.2rem;
    }

    main .home{
        margin-top: 1rem;
        text-align: center;
        flex-direction: column;
        padding: 2rem 1rem 0rem 2rem;
    } 

    .home .home-image{
        margin: 1rem 0 0;
    }

    .home .home-image img{
        width: 11rem;
    }

    .home .home-infrom{
        margin-top: 0rem;
        text-align: center;
    }

    .home-infrom h1{
        margin-left: 0rem;
        font-size: 1.4rem;
    }

    .home-infrom h2{
        margin-left: 0rem;
        font-size: 1.3rem;
    }

    .home-infrom p{
        margin-left: 0rem;
        font-size: 0.8rem;
    }

    .button{
        margin-left: 0rem;
        margin-bottom: 2rem;
    }

    .button a{
        margin-left: 1rem;
        
        padding: 0.3rem 0.8rem;
    }
}






/* =======about-box===== */
@media only screen and (min-width: 1052px) and (max-width: 1150px) {
    main #about{
        padding: 6rem 7rem;
    }

    #about .about-infrom h1{
        font-size: 2rem;
    }

    #about .about-infrom p{
        font-size: 1.5rem;
    }

    #about .about-image{
        margin-left: 4.5rem;

    }

    #about .about-image img{
        width: 21rem;
        height: auto;

    }
}



@media only screen and (min-width: 952px) and (max-width: 1052px) {
    main #about{
        padding: 6rem 5rem;
    }

    #about .about-infrom h1{
        font-size: 2rem;
    }

    #about .about-infrom p{
        font-size: 1.5rem;
    }

    #about .about-image{
        margin-left: 3rem;

    }

    #about .about-image img{
        width: 20rem;
        height: auto;
        
    }
}




@media only screen and (min-width: 852px) and (max-width: 952px) {
    main #about{
        padding: 5rem 4rem;
    }

    #about .about-infrom h1{
        font-size: 2rem;
    }

    #about .about-infrom p{
        font-size: 1.3rem;
    }

    #about .about-image{
        margin-left: 2.5rem;

    }

    #about .about-image img{
        width: 18rem;
        height: auto;
        
    }
}




@media only screen and (min-width: 752px) and (max-width: 852px) {
    main #about{
        padding: 5rem 3.5rem;
    }

    #about .about-infrom h1{
        font-size: 2rem;
    }

    #about .about-infrom p{
        font-size: 1.2rem;
    }

    #about .about-image{
        margin-left: 2.2rem;

    }

    #about .about-image img{
        width: 16rem;
        height: auto;
        
    }
}




@media only screen and (min-width: 652px) and (max-width: 752px) {
    main #about{
        padding: 5rem 3.3rem;
    }

    #about .about-infrom h1{
        font-size: 2rem;
    }

    #about .about-infrom p{
        font-size: 1.2rem;
    }

    #about .about-image{
        margin-left: 2.2rem;

    }

    #about .about-image img{
        width: 15rem;
        height: auto;
        
    }
}





@media only screen and (min-width: 552px) and (max-width: 652px) {
    main #about{
        text-align: center;
        padding: 5rem 3.3rem;
        flex-wrap: wrap-reverse;
    }

    #about .about-infrom h1{
        margin-top: 2rem;
        font-size: 2rem;
    }

    #about .about-infrom p{
        font-size: 1.5rem;
    }

    #about .about-image{
        margin-left: 0;

    }

    #about .about-image img{
        width: 16rem;
        height: auto;
        
    }
}



@media only screen and (min-width: 452px) and (max-width: 552px) {
    main #about{
        text-align: center;
        padding: 5rem 3.3rem;
        flex-wrap: wrap-reverse;
    }

    #about .about-infrom h1{
        margin-top: 2rem;
        font-size: 2rem;
    }

    #about .about-infrom p{
        font-size: 1.5rem;
    }

    #about .about-image{
        margin-left: 0;

    }

    #about .about-image img{
        width: 15rem;
        height: auto;
        
    }
}



@media only screen and (min-width: 300px) and (max-width: 352px) {
    main #about{
        text-align: center;
        padding: 3rem 3.1rem;
        flex-wrap: wrap-reverse;
    }

    #about .about-infrom h1{
        margin-top: 2rem;
        font-size: 1.8rem;
    }

    #about .about-infrom p{
        font-size: 1.1rem;
    }

    #about .about-image{
        margin-left: 0;

    }

    #about .about-image img{
        width: 12rem;
        height: auto;
        
    }
}




@media only screen and (min-width: 352px) and (max-width: 452px) {
    main #about{
        text-align: center;
        padding: 3rem 3rem;
        flex-wrap: wrap-reverse;
    }

    #about .about-infrom h1{
        margin-top: 2rem;
        font-size: 2rem;
    }

    #about .about-infrom p{
        font-size: 1.1rem;
    }

    #about .about-image{
        margin-left: 0;

    }

    #about .about-image img{
        width: 13rem;
        height: auto;
        
    }
}





/* ========services-box======= */
@media only screen and (min-width: 1052px) and (max-width: 1150px){
    main #services{
       padding: 5rem 2rem;
    }

    #services h2{
        font-size: 1.7rem;
    }

    #services .srvs-box{
        width: 17rem;
        height: 14rem;

    }
}


@media only screen and (min-width: 952px) and (max-width: 1053px){
    main #services{
       padding: 5rem 2rem;
    }

    #services h2{
        font-size: 1.7rem;
    }

    #services .srvs-box{
        width: 15rem;
        height: 14rem;

    }
}



@media only screen and (min-width: 852px) and (max-width: 953px){
    main #services{
       padding: 5rem 2rem;
    }

    #services h2{
        font-size: 1.7rem;
    }

    #services .srvs-box{
        width: 14rem;
        height: 13rem;

    }

    .srvs-box p{
        font-size: 0.8rem;
    }
}



@media only screen and (min-width: 752px) and (max-width: 853px){
    main #services{
       padding: 4rem 2rem;
    }

    #services h2{
        margin-top: 0.5rem;
        font-size: 1.7rem;
    }

    #services .srvs-box{
        width: 13rem;
        height: 12rem;

    }

    .srvs-box p{
        margin-top: 0.5rem;
        font-size: 0.7rem;
    }
}



@media only screen and (min-width: 652px) and (max-width: 753px){
    main #services{
       padding: 3.5rem 2rem;
    }

    #services h2{
        margin-top: 0.5rem;
        font-size: 1.7rem;
    }

    #services .srvs-box{
        width: 10rem;
        height: 10rem;

    }

    .srvs-box h3{
        font-size: 1rem;
    }

    .srvs-box p{
        margin-top: 0.5rem;
        font-size: 0.5rem;
    }
}




@media only screen and (min-width: 552px) and (max-width: 653px){
    main #services{
       padding: 3.5rem 2rem;
    }

    #services h2{
        margin-top: 0.5rem;
        font-size: 1.7rem;
    }

    #services .ser-main{
        flex-direction: column;
    }

    #services .srvs-box{
        text-align: center;
        width: 16rem;
        height: 15rem;

    }

    .srvs-box h3{
        font-size: 1.2rem;
    }

    .srvs-box p{
        margin-top: 0.5rem;
        font-size: 1rem;
    }
}






@media only screen and (min-width: 452px) and (max-width: 553px){
    main #services{
       padding: 3.5rem 2rem;
    }

    #services h2{
        margin-top: 0.5rem;
        font-size: 1.7rem;
    }

    #services .ser-main{
        flex-direction: column;
    }

    #services .srvs-box{
        text-align: center;
        width: 14rem;
        height: 15rem;

    }

    .srvs-box h3{
        font-size: 1.2rem;
    }

    .srvs-box p{
        margin-top: 0.5rem;
        font-size: 1rem;
    }
}



@media only screen and (min-width: 352px) and (max-width: 453px){
    main #services{
       padding: 3.5rem 2rem;
    }

    #services h2{
        margin-top: 0.5rem;
        font-size: 1.7rem;
    }

    #services .ser-main{
        flex-direction: column;
    }

    #services .srvs-box{
        text-align: center;
        width: 13rem;
        height: 14rem;

    }

    .srvs-box h3{
        font-size: 1.2rem;
    }

    .srvs-box p{
        margin-top: 0.5rem;
        font-size: 0.8rem;
    }
}



@media only screen and (min-width: 300px) and (max-width: 353px){
    main #services{
       padding: 3rem 2rem;
    }

    #services h2{
        margin-top: 0;
        font-size: 1.7rem;
    }

    #services .ser-main{
        flex-direction: column;
    }

    #services .srvs-box{
        padding: 0.2rem 0.5rem;
        text-align: center;
        width: 12rem;
        height: 10rem;

    }

    .srvs-box h3{
        margin-top: 0rem;
        font-size: 1.2rem;
    }

    .srvs-box p{
        margin-top: 0.5rem;
        font-size: 0.7rem;
    }
}








/* ========projects-box========= */
@media only screen and (min-width: 1050px) and (max-width: 1150px) {
    main #projects{
        width: 100%;
        padding: 4rem;
    }

    #projects h2{
        font-size: 2rem;
    }

    #projects .main-pjt{
        grid-template-columns: repeat(4, 12rem);
        grid-template-rows: auto;
    }
}



@media only screen and (min-width: 950px) and (max-width: 1050px) {
    main #projects{
        width: 100%;
        padding: 4rem;
    }

    #projects h2{
        font-size: 2rem;
    }

    #projects .main-pjt{
        grid-template-columns: repeat(4, 11rem);
        grid-template-rows: auto;
    }
}




@media only screen and (min-width: 850px) and (max-width: 950px) {
    main #projects{
        width: 100%;
        padding: 3.5rem;
    }

    #projects h2{
        font-size: 2rem;
    }

    #projects .main-pjt{
        grid-template-columns: repeat(4, 10rem);
        grid-template-rows: auto;
    }

    .pjt-box a img{
        width: 50px;
        height: auto;
    }
}





@media only screen and (min-width: 750px) and (max-width: 850px) {
    main #projects{
        width: 100%;
        padding: 4rem;
    }

    #projects h2{
        font-size: 2rem;
    }

    #projects .main-pjt{
        grid-template-columns: repeat(4, 9.5rem);
        grid-template-rows: auto;
    }

    .pjt-box a img{
        width: 50px;
        height: auto;
    }
}





@media only screen and (min-width: 650px) and (max-width: 750px) {
    main #projects{
        width: 100%;
        padding: 4rem;
    }

    #projects h2{
        font-size: 2rem;
    }

    #projects .main-pjt{
        grid-template-columns: repeat(2, 13rem);
        grid-template-rows: auto;
    }

    .pjt-box a img{
        width: 50px;
        height: auto;
    }
}





@media only screen and (min-width: 550px) and (max-width: 650px) {
    main #projects{
        width: 100%;
        padding: 4rem;
    }

    #projects h2{
        font-size: 2rem;
    }

    #projects .main-pjt{
        grid-template-columns: repeat(2, 12rem);
        grid-template-rows: auto;
    }

    .pjt-box a img{
        width: 50px;
        height: auto;
    }
}





@media only screen and (min-width: 450px) and (max-width: 550px) {
    main #projects{
        width: 100%;
        padding: 4rem;
    }

    #projects h2{
        font-size: 2rem;
    }

    #projects .main-pjt{
        grid-template-columns: repeat(2, 10rem);
        grid-template-rows: auto;
    }

    .pjt-box a img{
        width: 50px;
        height: auto;
    }
}




@media only screen and (min-width: 400px) and (max-width: 450px) {
    main #projects{
        width: 100%;
        padding: 4rem;
    }

    #projects h2{
        font-size: 2rem;
    }

    #projects .main-pjt{
        grid-template-columns: repeat(1, 13rem);
        grid-template-rows: auto;
    }

    .pjt-box a img{
        width: 50px;
        height: auto;
    }
}




@media only screen and (min-width: 350px) and (max-width: 400px) {
    main #projects{
        width: 100%;
        padding: 4rem;
    }

    #projects h2{
        font-size: 2rem;
    }

    #projects .main-pjt{
        grid-template-columns: repeat(1, 13rem);
        grid-template-rows: auto;
    }

    .pjt-box a img{
        width: 50px;
        height: auto;
    }
}





@media only screen and (min-width: 300px) and (max-width: 349px) {
    main #projects{
        width: 100%;
        padding: 4rem;
    }

    #projects h2{
        font-size: 2rem;
    }

    #projects .main-pjt{
        grid-template-columns: repeat(1, 12rem);
        grid-template-rows: auto;
    }

    .pjt-box a img{
        width: 50px;
        height: auto;
    }
}









/* =======skills-box======= */
@media only screen and (min-width: 750px) and (max-width: 850px) {
    main #skills{
        padding: 3rem;
    }

    #skills .skill-home{
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
    }

    .skill-home .box-1{
        width: 11rem;
        height: 11rem;
    }

    .skill-home .box-1 img{
        width: 45px;
        height: auto;
    }

}



@media only screen and (min-width: 650px) and (max-width: 750px) {
    main #skills{
        padding: 3rem;
    }

    #skills .skill-home{
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
    }

    .skill-home .box-1{
        width: 9rem;
        height: 9rem;
    }

    .skill-home .box-1 img{
        width: 40px;
        height: auto;
    }

}




@media only screen and (min-width: 550px) and (max-width: 650px) {
    main #skills{
        padding: 3rem;
    }

    #skills .skill-home{
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
    }

    .skill-home .box-1{
        width: 8rem;
        height: 8rem;
    }

    .skill-home .box-1 img{
        width: 35px;
        height: auto;
    }

    .skill-home .box-1 h3{
        font-size: 1rem;
    }

    .skill-home .box-1 h2{
        font-size: 1rem;
    }

}




@media only screen and (min-width: 450px) and (max-width: 550px) {
    main #skills{
        padding: 3rem;
    }

    #skills .skill-home{
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
    }

    .skill-home .box-1{
        width: 6rem;
        height: 6rem;
    }

    .skill-home .box-1 img{
        width: 30px;
        height: auto;
    }

    .skill-home .box-1 h3{
        font-size: 1rem;
    }

    .skill-home .box-1 h2{
        font-size: 1rem;
    }

}




@media only screen and (min-width: 400px) and (max-width: 450px) {
    main #skills{
        padding: 3rem;
    }

    #skills .skill-home{
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
        gap: 30px;
    }

    .skill-home .box-1{
        width: 5rem;
        height: 5rem;
    }

    .skill-home .box-1 img{
        width: 22px;
        height: auto;
    }

    .skill-home .box-1 h3{
        font-size: 0.7rem;
    }

    .skill-home .box-1 h2{
        font-size: 0.7rem;
    }

}



@media only screen and (min-width: 300px) and (max-width: 400px) {
    main #skills{
        padding: 3rem;
    }

    #skills .skill-home{
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 30px;
    }

    .skill-home .box-1{
        width: 6rem;
        height: 6rem;
    }

    .skill-home .box-1 img{
        width: 25px;
        height: auto;
    }

    .skill-home .box-1 h3{
        font-size: 0.7rem;
    }

    .skill-home .box-1 h2{
        font-size: 0.7rem;
    }


}







/* =========contact-page========= */
@media only screen and (min-width: 700px) and (max-width: 800px) {
    main #contact{
        padding: 3rem 0;
    }

    form fieldset input{
        width: 13rem;
        height: 2rem;
    }

    form fieldset textarea{
        width: 27.5rem;
        height: 10rem;
    }
}



@media only screen and (min-width: 600px) and (max-width: 700px) {
    main #contact{
        padding: 3rem 0;
    }

    form fieldset input{
        width: 12rem;
        height: 2rem;
    }

    form fieldset textarea{
        width: 25rem;
        height: 9rem;
    }
}




@media only screen and (min-width: 500px) and (max-width: 600px) {
    main #contact{
        padding: 3rem 0;
    }

    form fieldset input{
        width: 11rem;
        height: 2rem;
    }

    form fieldset textarea{
        width: 24rem;
        height: 8rem;
    }
}




@media only screen and (min-width: 400px) and (max-width: 500px) {
    main #contact{
        padding: 3rem 0;
    }

    #contact form fieldset{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    form fieldset input{
        width: 15rem;
        height: 2rem;
    }

    form fieldset textarea{
        width: 15rem;
        height: 8rem;
    }

    form fieldset a{
        margin-top: 0rem;
    }
}



@media only screen and (min-width: 300px) and (max-width: 400px) {
    main #contact{
        padding: 3rem 0;
    }

    #contact form fieldset{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    form fieldset input{
        width: 12rem;
        height: 1.8rem;
    }

    form fieldset textarea{
        width: 12rem;
        height: 5rem;
    }

    form fieldset a{
        margin-top: 0rem;
    }
}








/* ==========footer-page======== */
@media only screen and (min-width: 400px) and (max-width: 500px) {
    footer{
        padding: 2rem 0;
    }

    footer .link{
        margin-top: 0.5rem;
    }

    footer .link a{
        margin: 0.3rem;
    }

    footer p{
        font-size: 1rem;
    }
}


@media only screen and (min-width: 300px) and (max-width: 399px) {
    footer{
        padding: 1rem 0;
    }

    footer .icon a i{
        padding: 0.3rem 0.4rem;
        font-size: 1.5rem;
    }

    footer .link{
        margin-top: 0.3rem;
    }

    footer .link a{
        margin: 0.2rem;
        font-size: 0.8rem;
    }

    footer p{
        font-size: 0.9rem;
    }
}