@media screen and (max-width: 1445px){

    header {
        padding: 10px 5% 10px 8%;
    }


    .logo{
        font-size: 30px;
    }
    .navigation a{
        font-size: 20px;
    }
    .navigation a:hover{
        font-size: 24px;
    }


    .Home{
        padding: 10px 5% 10px 8%;
    }
    .hContent h1{
        margin:200px auto auto 1px;
        width: auto;
        max-width: 16ch;
        font-size: 65px;
    }
    .hContent h3{
        font-size: 40px;
        font-weight: 700;
        padding-bottom: 10px;

    }
    .hContent p{

    }
    .resumebutton{
        top: 0;
        width: auto;
        margin:1px auto auto   auto;
        height: fit-content;
        max-width: 100%;
    }

    .resumebutton button{
        font-size: 20px;
        margin: auto auto 150px auto;
    }

    .social-media{
        bottom: 10px;
        width: fit-content;
    }

    .social-media a{
        width:50px ;
        height: 50px;
    }
    .social-media i{
        font-size: 25px;
    }

    .hContent .image {
        margin: 2px 2px auto auto;
        width: 500px;
        outline: 40px solid #021925;
        outline-offset: -30px;

    }

    /*.About-section{*/
    /*    !*border: 2px solid greenyellow;*!*/
    /*    height: auto;*/
    /*    margin:  auto;*/
    /*    padding: 10px 5% 10px 8%;*/
    /*    width: auto;*/
    /*    max-width: 100%;*/

    /*}*/

    /*.about-title{*/
    /*    margin: 100px auto 50px 1px;*/
    /*    font-size: 55px;*/
    /*    width: auto;*/
    /*    max-width: 100%;*/
    /*}*/

    /*.sub-title{*/
    /*    font-size: 30px;*/
    /*    top: 50px;*/
    /*    margin-bottom: 40px;*/
    /*}*/
    /*.about-para{*/
    /*    font-size: 20px;*/
    /*    top: 50px;*/
    /*    max-width: 60vw;*/
    /*    width: auto;*/
    /*    height: auto;*/
    /*}*/


    /*.my-detailabout{*/
    /*    font-size: 20px;*/
    /*    font-weight: bolder;*/
    /*    margin:150px auto 10px 2px;*/
    /*    height: auto;*/
    /*    top: 0;*/
    /*}*/


    /*.my-detailabout p{*/
    /*    margin-bottom: 30px;*/
    /*    margin-right:auto ;*/
    /*    margin-left:auto;*/
    /*    width: 40vw;*/
    /*}*/


    .project-section{

        padding: 10px 5% 10px 8%;
    }

    .project-section .title{
        font-size: 50px;
        font-weight: 300;
        margin: 100px auto 20px 1px;
    }







    .skills-section{
        /*border: 4px solid yellow;*/
        padding: 10px 5% 10px 8%;
        margin: auto;

    }

    .skills-section .title{
        max-width: 100%;
        width: auto;
        margin:100px auto 50px 1px;

    }




    .skills-section #Skills{
        font-size: 50px;
        font-weight: 700;
    }
    .skill-set{
        width: auto;
        font-size: 20px;
        margin: auto;
    }

    .education-section{
        /*border: 4px solid #c679f3;*/
        padding: 10px 5% 10px 8%;
    }


    .education-title{
        margin:100px auto 50px 1px;
        font-size: 50px;
        font-weight: 300;
    }

    .service-section{
        /*border: 4px solid #90f6d2;*/
        padding: 10px 5% 10px 8%;


    }

    .service-title{
        margin:100px auto 50px 1px;
        font-size: 50px;
        font-weight: 300;
    }

    .Gallery-section{
        /*border: 4px solid #f3c679;*/
        padding: 10px 5% 10px 8%;
    }


    .Gallery-section .Gallery-title{
        margin:100px auto 50px 1px;
        font-size: 50px;
        font-weight: 300;

    }




    footer{
        height: auto;
        /*border: 2px solid #6f0c72;*/
    }


}


@media screen and (max-width: 1024px) {


    .navigation a {
        font-size: 16px;
    }

    .logo {
        font-size: 16px;
        font-weight: 600;
    }

    header {
        padding: 10px 2% 10px 5%;

    }

    .Home {
        padding: 10px 2% 10px 5%;
    }

    .hContent h1 {
        font-size: 40px;
    }


    .hContent h3 {
        font-size: 25px;
    }

    .hContent p {
        font-size: 15px;
        width: auto;
    }

    .hContent .image {
        width: 420px;
    }


    .resumebutton button {
        font-size: 12px;
        font-weight: 500;
    }


    /*.About-section {*/
    /*    padding: 10px 2% 10px 5%;*/
    /*}*/

    /*.about-title {*/
    /*    font-size: 30px;*/
    /*}*/

    /*.about-para {*/
    /*    font-size: 15px;*/
    /*}*/

    /*.sub-title {*/
    /*    font-size: 25px;*/
    /*}*/

    /*.my-detailabout {*/
    /*    font-size: 14px;*/
    /*}*/

    .project-section {
        padding: 10px 2% 10px 5%;
    }

    .project-section .title {
        font-size: 30px;
    }


    .project-section .cards {

    }


    .skills-section{
        padding: 10px 2% 10px 5%;
    }
    .skills-section .title{
        font-size: 30px;
        width: auto;
        height: auto;
    }
    .skill-set{
        height: auto;
        max-width: 100%;
        width: auto;
        font-size: 20px;
    }
    .education-section{
        padding: 10px 2% 10px 5%;
    }
    .education-title{
        font-size: 30px;
        font-weight: 500;
    }
    .timeline{
        margin-bottom: 50px;
        /*margin: 100px auto;*/
    }
    .service-section{
        padding: 10px 2% 10px 5%;
    }
    .service-title {
        font-size: 30px;
        font-weight: 300;
    }
    .cards-services{
        margin: auto 10% auto auto;
    }
    .scards p{
        font-size: 15px;
    }





    .Gallery-section{
        padding: 10px 2% 10px 5%;
    }
    .Gallery-section .Gallery-title{
        font-size: 30px;
    }
    .Gallery-section .photos img{
        width: 200px;
    }
    .lastphoto1{
        height: 270px;
    }


    footer{
        padding: 10px 2% 10px 5%;
    }

}


@media  screen and (max-width: 900px) {
    .education-section .timeline{
        max-width: 350px;
        height: auto;
    }
}


@media screen and (max-width:768px) {


    header {
        padding:2px 5% 2px 5%;

    }

    .logo{
        font-size: 20px;
    }



    .navigation a{
        font-size: 12px;
        margin-left: 10px;
    }


    .Home{
        padding: 0 0 0 5%;

    }



    .About-section{
        padding: 0 0 0 5%;
    }


    .project-section {
        padding: 0 0 0 5%;

    }



    .skills-section{
        padding: 0 0 0 5%;
    }



    .education-section{
        padding: 0 0 0 5%;
    }


    .service-section{
        padding: 0 0 0 5%;
    }



    .scards{
        width: 200px;
    }





    .scards p {
        font-size: 12px;
    }




    .Gallery-section{
        padding: 0 0 0 5%;
    }



    .Gallery-section .photos img{
        width: 180px;
        border: #081b29 solid 2px;
    }

    .lastphoto1{
        height: 240px;
    }

    .contact-content {
        flex-direction: column;
        align-items: center;
    }

    .ContactForm {
        width: 100%;
    }

    .contact-links {
        align-items: center;
    }


    footer{
        padding: 0 0 0 5%;
    }






}

@media screen and (max-width: 715px) {

    .hContent image{
        position: absolute;
        z-index: -1;
    }
    .hContent img{
        z-index: -1;
    }
    /*.skillSub-content img{*/
    /*    width: 30px;*/
    /*    height: auto;*/
    /*    margin-right: 0;*/
    /*    margin-bottom: 0;*/
    /*    object-fit: cover;*/
    /*}*/

    .hContent p{
        z-index: 300;
    }

}

@media screen and (max-width: 426px) {

    header {
        display: flex;
        align-content: space-between;
        justify-content: space-between;
        padding: 10px 5% 10px 5%;
    }



    body{
        /*border: 2px solid yellow;*/
    }

    .menu-icon {
        font-size: 24px;
        display: inline-flex;
    }


    .navigation {
        display: none;
        position: absolute;
        top: 50px;
        left: 0;
        height: 100vh;
        background-color: #333;
        flex-direction: column;
        width: 100%;
        padding: 16px 0 16px 0;
        box-shadow: #073750 0 0 10px;
    }

    .navigation.active {
        display: flex;
        background: #021925;
        width: 50%;
    }

    .navigation li {
        width: 100%;
        padding: 10px 0;
        margin-bottom: 20px;
        text-align: start;
        box-shadow: #56eaef 0 0 10px;
    }





    .Home{
        padding: 3% 2% 5% 2%;
    }


    .hContent{
        text-align: center;
        top: 0;

    }

    .hContent .image{
        position: absolute;
        top: 0;
        bottom: 100px;
        width: 100%;
        margin: 0;
        right: 20%;
        height: 30%;

    }

    .image img {
        width:100%;
        height: 70%;
        margin: 0;
    }

    .hContent h1{
        margin: 250px auto auto auto;
        font-size:35px ;
        letter-spacing: .3px;
    }


    .hContent h3{
        font-size: 22px;
        margin-bottom: 40px;
    }


    .hContent p{
        position: relative;
        margin:auto ;
        width: auto;
        max-width: 100%;
    }

    .resumebutton{
        position: relative;
        bottom: 0;
        right: 0;
        margin: auto;
        top: 0;
        height: auto;
        max-width: 100%;
    }

    .resumebutton button{
        position: relative;
        margin: 30px auto;
        height: auto;
        max-width: 100%;
        bottom: 0;
        right: 0;
        left: 0;
        top: 0;
        font-size: 12px;
        font-weight: 500;
    }



    .social-media{
        position: relative;
        top: 0;
        bottom: 0;
        /*text-align: center;*/
        left: 0;
        width: 40vw;
        display: flex;
        align-content: space-between;
        justify-content: center;
        margin: 10px auto 20px auto;
    }

    .social-media a{
        height: 30px;
        width: 30px;
        margin: auto;

    }

    .social-media i{
        font-size: 17px;
        top: 4px;
        left: 5.6px;

    }

    /*.About-section {*/
    /*    padding: 3% 2% 5% 2%;*/
    /*}*/

    .about-title{
        margin:auto;
        position: relative;
        max-width: 100%;
        width: auto;
        font-size: 20px;
        text-align: center;
    }

    .sub-title{
        font-size: 17px;
        /*position: relative;*/
        /*margin: auto auto 100px auto;*/
    }

    /*.about-para{*/
    /*    max-width: 100%;*/
    /*    width: auto;*/
    /*}*/

    /*.about-para p{*/
    /*    margin-bottom: 30px;*/
    /*}*/

    /*.my-detailabout{*/
    /*    display: flex;*/
    /*    flex-direction: column;*/
    /*    max-width:80vw;*/
    /*    width: auto;*/
    /*    margin:80px auto auto 1px;*/
    /*    letter-spacing: .8px;*/
    /*    height: auto;*/
    /*    padding: 0;*/
    /*}*/

    /*.my-detailabout p{*/
    /*    max-width: 100%;*/
    /*    width: auto;*/
    /*    margin: auto auto 40px 0;*/
    /*}*/

    .project-section{
        padding: 3% 2% 5% 2%;
    }

    .project-section .title{
        font-size: 20px;
        margin:50px auto auto  auto;
        text-align: center;
    }



    .project-section .morebtn{
        margin: auto;
        position: relative;
        top: 3px;
        left: 2%;
    }
    .skills-section{
        padding: 3% 2% 5% 2%;

    }

    .skills-section .title{
        margin: 10% auto 10% auto;
        font-size: 20px;
    }

    #Skills {
        font-size: 20px;
    }


    /*.skillSub-content img{*/
    /*    width: 30px;*/
    /*    height: auto;*/
    /*    margin-right: 0;*/
    /*    margin-bottom: 0;*/
    /*    object-fit: cover;*/
    /*}*/

    /*.skills-section .skillSub-content{*/
    /*    margin: auto auto auto 40%;*/
    /*}*/

    .education-section{
        padding: 3% 2% 5% 2%;
    }

    .education-title{
        padding: 0;
        width: auto;
        max-width: 100%;
        margin: 20% auto auto auto;
        font-size: 20px;
        font-weight: 500;
    }

    .timeline {
        position: relative;
        padding-left: 0;
        width: auto;
        height: auto;
        margin: auto;
        left: 5%;
        bottom: 0;
        right: 0;
        top: 0;
    }
    .timeline p{
        width: auto;
        height: auto;
    }


    .timeline-item{
        max-width: 250px;
        width: auto;
        height: auto;
    }

    .timeline-content{
        width: auto;
        height: auto;
    }

    .timeline-content p{
        width: auto;
        height: auto;
    }

    .timeline::before {
        left: -20px;
        top: 0;
        width: 2px;
        /*background-color: #56eaef;*/
    }
    .service-section {
        padding: 0 2% 0 2%;
    }
    .service-title{
        font-size: 40px;
        font-weight: 500;
        width: auto;
        height: auto;
        margin:30%  auto 30% auto;
    }
    .cards-services{
        right: 0;
        left: 0;
        margin: auto;

    }


    .Gallery-section{
        padding: 0 2% 0 2%;

    }

    .Gallery-section .Gallery-title{
        margin: 30% auto 10% auto;
        width: auto;
        height: auto;

    }




    .Gallery-section .photos img{
        width: auto;
        max-width:50% ;
        height: auto;
        border: #081b29 solid 2px;
    }





    .footer-socialLinks{
        top: 10px;
        width: auto;
        position: relative;
        gap: 15px;
        margin:auto;

    }

    .pfooter p{
        font-size: 15px;
        margin: auto;
        width: auto;
        max-width: 100%;
    }

    footer{
        padding: 0 2% 0 2%;

        width: 100%;
    }

    .contacts-section .contact-title{
        margin: auto;
        font-size:40px ;
    }

    footer a{
        width: 10px;
        height: 10px
    }

    footer i{
        font-size: 15px;
    }


}


@media screen and (max-width:876px) {

    .hContent .image{
        margin-right: -10px;
        width: 300px;
        height: 80vh;
    }
}

@media screen and (max-width: 613px){
    .education-section{
        padding: 0 2% 0 2%;
    }

    .timeline{
        width: auto;
    }


    .timeline-year{
        width: auto;
    }
    .timeline-content div{
        width: auto;
    }

    .timeline-content p{
        width: auto;
    }
}

@media screen and (max-width: 376px){

    .hContent h1{
        margin: 300px auto auto auto;
        overflow: hidden;
        font-size: 20px;
        width: auto;
    }


    .hContent h3{
        font-size: 15px;
        margin: 4px auto;
    }

    .hContent p{
        margin: auto;
        font-size: 10px;
    }



    .hContent .image{
        left: 1%;
        margin: auto;
    }

    /*.image  img{*/
    /*    width: fit-content;*/
    /*    height: 100%;*/
    /*}*/

    .social-media{
        max-width: 50%;
        width: auto;
        display: flex;
        align-content: space-between;
        gap: 5px;
        justify-content: start;
    }



    .project-section .title{
        font-size: 20px;
    }

    .project-section .morebtn{
        min-width: 100px;
        height:40px;
    }

    .morebtn span{
        width: 30px;
        height: 30px;
    }

    .skills-section .title{
        font-size: 20px;
    }

    .skill-set{
        font-size: 12px;
    }


    .education-title{
        font-size: 20px;
    }

    .timeline{
        position: relative;
        left:12%;
        width: 200px;
    }

    .timeline-item h3 {
        font-size:10px;
    }

    .timeline p{
        margin: auto;
        font-size: 12px;
    }

    .service-title{
        font-size: 20px;
    }

    .scards p{
        font-size: 12px;
    }

    .Gallery-section .Gallery-title{
        font-size: 20px;
    }

    .Gallery-section .photos img{
        width: 150px;
    }

    .lastphoto1{
        height: 200px;
    }


    footer{
        padding: 0 2% 0 2%;
    }

    .pfooter{
        margin: 30px auto;
        font-size: 12px;
    }

    .footer-socialLinks{
        gap: 5px;
    }
    .copyrights p{
        font-size: 12px;
    }
}

@media screen and   (max-width: 391px){

    /*.hContent .image{*/
    /*    bottom: 300px;*/
    /*    height: 50vh;*/
    /*}*/

    .hContent h1{
        margin: 200px auto auto auto;
        font-size: 35px;
    }

    .hContent h3{
        font-size: 20px;
        margin-bottom: 10px;
    }

    .skill-set{
        font-size: 15px;
    }

    .timeline{
        margin-left: 25%;
    }


}