@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;
}


:root {
    --bg-color: #081b29;
    --second-bg-color: #112e42;
    --text-color: #ededed;
    --main-color: #00abf0;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.header {
    width: 100%;
    border: 1px solid black;
    background-color: #011524fb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 9%;
    z-index: 100;
    position: fixed;
    top: 0;
    left: 0;
}

.name {
    font-size: 2.5rem;
    color: var(--text-color);
    font-weight: 600;
}



.navbar a {
    font-size: 1.7rem;
    color: var(--text-color);
    font-weight: 500;
    margin-left: 3.5rem;
    transition: .4s;
}

.navbar a.click,
.navbar a:hover {
    color: #00abf0;
}

#menu-icon {
    font-size: 3.6rem;
    color: var(--text-color);
    cursor: pointer;
    display: none;
}

section {
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}

.home {
    width: 100%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    padding: 0 9%;
    justify-content: space-between;
    align-items: center;
}

.home-content {
    max-width: 70rem;
}

.image {
    margin-left: 20px;
    border: 1px solid white;
    height: 500px;
    width: 500px;
    border-radius: 50%;
    background: url(./asset/my\ photo2.png) no-repeat;
    background-size: cover;
    background-position: center;
}

.image img {
    height: 100%;
    width: 100%;
}

.home-content h1 {
    font-size: 5.1rem;
    font-weight: 700;
    line-height: 1.3;
}

.home-content .title {
    position: relative;
    width: 32.8rem;
}

.home-content .title h3 {
    font-size: 3.2rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: .7px var(--main-color);
}

.home p {
    font-size: 1.6rem;
    margin: 2rem 0 4rem;
}

.home-logo {
    display: flex;
    justify-content: flex-start;
    gap: 25px;
}

.home-logo a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background-color: transparent;
    border: .2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--main-color);
    z-index: 1;
}


.about {
    width: 100%;
}

.about h2,
.projects h2,
.skills h2,
.contact h2 {
    font-size: 4rem;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 5rem;
}

.about p {
    font-size: 2rem;
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.7);
}

.span-heading {
    color: #00abf0;
}

.last-para {
    margin-bottom: 30px;
}


.about-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.about-box .about-box-content {
    height: 40rem;
    width: 48rem;
}

.resume-div {
    display: flex;
    justify-content: center;
}

.resume {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 5rem;
    width: 20rem;
    border: .2rem solid var(--main-color);
    border-radius: .8rem;
    background-color: var(--main-color);
}

.resume a {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: .1rem;
    color: var(--bg-color);
}

.portfolio-container {
    height: 100%;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* .portfolio-container {
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
} */


.portfolio-box {
    flex-grow: 0;
    max-width: 32.3%;
    flex-basis: 32.3%;
    height: 360px;
    padding: 4px;
}

.portfolio-container .portfolio-box {
    position: relative;
    border: 2rem;
    box-shadow: 0 0 1rem var(--bg-color);
    overflow: hidden;
    display: flex;

}

.portfolio-box img {
    width: 100%;
    border-radius: 1rem;
    opacity: 0.7;

}

.portfolio-box :hover img {
    transform: scale(1.1);

}

.portfolio-box .portfolio-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 0 4rem;
    transform: translateY(100%);
    transition: .5s ease;

}

.portfolio-box:hover .portfolio-layer {
    transform: translateY(0);

}

.portfolio-layer h4 {
    font-size: 3rem;
}

.portfolio-layer p {
    font-size: 1.6rem;
    margin: .3rem 0 1rem;
}

.project-link-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.project-link-btn a {
    width: 5rem;
    height: 5rem;
    background-color: transparent;
    border: .2rem solid var(--main-color);
    background-color: var(--main-color);
    border-radius: 50%;
    font-size: 3rem;
    color: var(--bg-color);
    overflow: hidden;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    margin: 0 5rem;
    gap: 3rem;
}

.skill-box {
    flex-grow: 0;
    max-width: 31.9%;
    flex-basis: 31.9%;
    background-color: white;
    color: black;
}

.skills h2 {
    margin-bottom: 13rem;
}

.skill-heading {
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #F8FAFC;
    height: fit-content;
    padding: 0.7rem;
    padding-bottom: 0.8rem;
    border-bottom: 0.1rem solid rgba(8, 145, 178, 0.4);
}

.skill-heading img {
    height: 24px;
    width: 24px;
}

.skill-heading h5 {
    font-size: 2rem;
}

.skill-text-box {
    padding: 4px 16px 4px 11px;
}

.skill-text-box p {
    font-size: 1.6rem;
}

.contact h3 {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 10rem;
}

.contact-section {
    display: flex;
    flex-wrap: wrap;
}

.contact-section .img {
    height: 350px;
    width: 350px;
}

.img img {
    width: 100%;
    height: 100%;
}

.contact-box {
    text-align: center;
    margin: auto 0;
    width: calc(100% - 450px);
}

.contact-box p {
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.5;
    margin: 24px 0;
    padding: 0 24px;
}

.email {
    margin: 24px 0;
}

.email a {
    font-size: 1.6rem;
    padding: 8px 18px;
    color: var(--main-color);
    border: 1px solid var(--main-color);
    border-radius: 5px;
}

.email a span {
    font-size: 1.8rem;
    margin-right: 4px;
}

.contact-logo {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.contact-logo a {
    font-size: 3rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    border: .2rem solid var(--main-color);
    background-color: var(--main-color);
    color: white;
}


@media screen and (min-width: 1950px) and (max-width: 2560px) {
    section{
        padding: 10rem 11% 2rem;
    }
}


@media screen and (max-width: 1900px) {
    .header {
        padding: 4rem 15%;
    }

    .name {
        font-size: 3.5rem;
    }

    .navbar a {
        font-size: 2.8rem;
    }

    section {
        padding: 16rem 15% 4rem;
    }

    .home {
        flex-direction: column;
        justify-content: center;
        gap: 16rem;
    }

    .image {
        height: 700px;
        width: 700px;
    }

    .home-content h1 {
        font-size: 6rem;
    }

    .home-content .title {
        width: 70rem;
    }

    .home-content .title h3 {
        font-size: 4rem;
    }

    .home p {
        font-size: 2.2rem;
    }

    .home-logo a {
        height: 6rem;
        width: 6rem;
        font-size: 3rem;
    }

    .about h2,
    .projects h2,
    .skills h2,
    .contact h2 {
        font-size: 5.5rem;
    }

    .about p {
        font-size: 2.6rem;
    }

    .resume {
        height: 6rem;
        width: 25rem;
    }

    .resume a {
        font-size: 2rem;
    }

    .portfolio-box {
        max-width: 48%;
        flex-basis: 48%;
    }

    .portfolio-layer h4 {
        font-size: 4rem;
    }

    .portfolio-layer p {
        font-size: 2rem;
    }

    .project-link-btn a {
        height: 6rem;
        width: 6rem;
        font-size: 4rem;
    }

    .skills-container {
        justify-content: center;
    }

    .skill-box {
        max-width: 46%;
        flex-basis: 46%;
    }

    .skill-heading {
        gap: 1.5rem;
    }

    .skill-heading img {
        height: 34px;
        width: 34px;
    }

    .skill-heading h5 {
        font-size: 3rem;
    }

    .skill-text-box p {
        font-size: 1.8rem;
    }

    .contact h3 {
        font-size: 4rem;
    }

    .contact-section .img {
        height: 450px;
        width: 450px;
    }

    .contact-box p {
        font-size: 2.8rem;
    }

    .email a {
        font-size: 1.8rem;
    }

    .email a span {
        font-size: 2rem;
    }

    .contact-logo a {
        height: 6rem;
        width: 6rem;
        font-size: 4rem;
    }
}

@media screen and (max-width: 1440px) {
    .header {
        padding: 2rem 9%;
    }

    .name {
        font-size: 3rem;
    }

    .navbar a {
        font-size: 2.2rem;
    }

    section {
        padding: 10rem 9% 2rem;
    }

    .image {
        height: 500px;
        width: 500px;
    }

    .home-content h1 {
        font-size: 5rem;
    }

    .home-content .title h3 {
        font-size: 3.5rem;
    }

    .home p {
        font-size: 1.8rem;
    }

    .home-logo {
        /* width: 25rem; */
    }

    .home-logo a {
        height: 5rem;
        width: 5rem;
        font-size: 2.5rem;
    }

    .about h2,
    .projects h2,
    .skills h2,
    .contact h2 {
        font-size: 4.5rem;
    }

    .about p {
        font-size: 2.2rem;
    }

    .resume {
        height: 5rem;
        width: 22rem;
    }

    .resume a {
        font-size: 1.8rem;
    }

    .portfolio-layer h4 {
        font-size: 3.5rem;
    }

    .portfolio-layer p {
        font-size: 1.8rem;
    }

    .contact h3 {
        font-size: 3.5rem;
    }

    .contact-section .img {
        height: 400px;
        width: 400px;
    }

    .contact-box p {
        font-size: 1.8rem;
    }

    .email a {
        font-size: 1.6rem;
    }

    .email a span {
        font-size: 1.8rem;
    }

    .contact-logo a {
        height: 5rem;
        width: 5rem;
        font-size: 3rem;
    }
}

@media screen and (max-width: 1090px) {
    .header {
        padding: 1.5rem 9%;
    }

    .navbar{
        display: flex;
        white-space: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .navbar a {
        font-size: 1.8rem;
    }

    .name {
        font-size: 2rem;
    }

    .image {
        height: 350px;
        width: 350px;
    }

    .home{
        padding: 10rem 9%;
        gap: 5rem;
    }

    .home-content{
        border: 1px solid re;
    }

    .home-content h1 {
        text-align: center;
        font-size: 4rem;
    }

    .home-content .title h3 {
        text-align: center;
        font-size: 2.8rem;
    }

    .home-logo{
        justify-content: center;
    }

    .about h2,
    .projects h2,
    .skills h2,
    .contact h2 {
        font-size: 3.3rem;
    }

    .about p{
        font-size: 1.8rem;
    }

    .resume{
        width: 20rem;
    }

    .resume a{
        font-size: 1.6rem;
    }

    .portfolio-box{
        height: 300px;
    }

    .portfolio-layer h4{
        font-size: 2.8rem;
    }

    .portfolio-layer p{
        font-size: 1.4rem;
    }

    .project-link-btn a{
        height: 5rem;
        width: 5rem;
        font-size: 3rem;
    }

    .skills h2{
        margin: 0;
        margin-bottom: 4rem;
    }

    .skill-heading img{
        height: 30px;
        width: 30px;
    }

    .skill-heading h5{
        font-size: 2.3rem;
    }

    .skill-text-box p{
        font-size: 1.5rem;
    }

    .contact h3{
        font-size: 3rem;
    }

    .contact-section .img{
        height: 300px;
        width: 300px;
    }

    .contact-box{
        width: calc(100% - 310px);
    }

    .contact-box p{
        font-size: 1.4rem;
    }

    .email a span{
        font-size: 1.6rem;
    }

    .contact-logo a{
        height: 4rem;
        width: 4rem;
        font-size: 2rem;
    }

}

@media screen and (max-width: 910px) {
    .home{
        flex-direction: column;
    }

    .navbar a{
        font-size: 1.6rem;
    }

    .image{
        height: 250px;
        width: 250px;
    }

    .home-content h1{
        font-size: 3rem;
    }

    .home-content .title h3{
        font-size: 2.2rem;
    }

    .home p{
        font-size: 1.4rem;
    }

    .home-logo a{
        height: 4rem;
        width: 4rem;
        font-size: 2.2rem;
    }

    .home-content{
        width: 50rem;
    }

    .title h3{
        width: 50rem;
    }

    .about h2,
    .projects h2,
    .skills h2,
    .contact h2 {
        font-size: 3rem;
    }

    .about h2{
        margin: 0;
        margin-bottom: 2rem;
        
    }

    .about p{
        font-size: 1.4rem;
    }

    .resume{
        height: 5rem;
        width: 15rem;
    }

    .resume a {
        font-size: 1.2rem;
    }

    .portfolio-box{
        height: 280px;
    }

    .portfolio-layer h4{
        font-size: 2.2rem;
    }

    .portfolio-layer p{
        font-size: 1.2rem;
    }

    .project-link-btn a{
        height: 4rem;
        width: 4rem;
        font-size: 2.5rem;
    }

    .skill-heading{
        gap: 1rem;
    }

    .skill-heading img{
        height: 25px;
        width: 25px;
    }

    .skill-heading h5{
        font-size: 1.8rem;
    }

    .skill-text-box p{
        font-size: 1.2rem;
    }

    .contact h3{
        font-size: 2.5rem;
    }

    .contact-section .img{
        height: 250px;
        width: 250px;
    }

    .contact-box p{
        font-size: 1rem;
        margin: 12px 0;
        padding: 12px 0;
    }

    .email{
        margin: 0;
        padding: 0;
    }

    .email a{
        padding: 4px;
        font-size: 1rem;
    }
    

    .email a span{
        font-size: 1.2rem;
    }

    .contact-logo{
        gap: 1.5rem;
    }

    .contact-logo a{
        height: 3rem;
        width: 3rem;
    }
}

@media screen and (min-width: 600px) and (max-width: 768px) {
    .header {
        padding: 1.2rem 5%;
    }

    section{
        padding: 7rem 5% 2rem;
    }

    .home{
        padding: 7rem 5%;
    }

    .image{
        height: 200px;
        width: 200px;
    }

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

    .home-content .title h3{
        font-size: 2rem;
    }

    .home p{
        font-size: 1.1rem;
        margin: 20px 0;
    }

    .home-logo a{
        height: 3rem;
        width: 3rem;
        font-size: 1.4rem;
    }

    .about h2,
    .projects h2,
    .skills h2,
    .contact h2 {
        font-size: 2.5rem;
    }

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

    .resume {
        height: 3.5rem;
        width: 12rem;
    }

    .resume a{
        font-size: .9rem;
    }

    .portfolio-container{
        gap: 1rem;
    }

    .portfolio-box{
        height: 230px;
    }

    .portfolio-layer h4{
        font-size: 1.8rem;
    }

    .portfolio-layer p{
        font-size: 1rem;
    }

    .project-link-btn a{
        height: 3rem;
        width: 3rem;
        font-size: 1.6rem;
    }

    .skill-heading img{
        height: 20px;
        width: 20px;
    }

    .skill-heading h5{
        font-size: 1.2rem;
    }

    .skill-text-box p{
        font-size: 1rem;
    }

    .contact h3{
        font-size: 3rem;
    }
}

@media screen  and (max-width: 600px){
    
    .header{
        gap:2rem;
        padding-right: 2rem;
        padding-top: 1rem;
        padding-bottom: .8rem;
    }

    .name{
        font-size: 1.2rem;
        text-wrap: wrap;
    }
    
    .navbar a{
        display: inline-flex;
        font-size: 1.2rem;
        line-height: 30px;
    }
    
    .image{
        margin: 0;
        height: 200px;
        width: 200px;

    }

    .home-content h1{
        font-size: 2rem;
    }

    .home-content .title h3{
        font-size: 1.7rem;
    }

    .home-content{
        width: 25rem;
    }

    .title h3{
        width: 25rem;
    }

    .home p{
        font-size: .8rem;
        margin-bottom: 1.5rem;
    }

    .home-logo{
        gap: 0.8rem;

    }

    .home-logo a{
        height: 2.5rem;
        width: 2.5rem;
        font-size: 1.2rem;
    }

    section {
        padding-top: 7rem;
    }

    .portfolio-container{
        gap: 1.5rem;
    }

    .portfolio-box{
        max-width: 100%;
        flex-basis: 100%;
    }

    .about h2,
    .projects h2,
    .skills h2,
    .contact h2 {
        font-size: 2rem;
    }

    .about p{
        font-size: 1rem;
    }

    .resume{
        height: 2rem;
        width: 9rem;
        border-radius: .4rem;
    }

    .resume a{
        font-size: .6rem;
    }

    .portfolio-box{
        height: 180px;
    }

    .portfolio-layer h4{
        font-size: 1.4rem;
    }

    .portfolio-layer p{
        font-size: .8rem;
    }

    .project-link-btn{
        gap: 1rem;
    }

    .project-link-btn a{
        height: 2rem;
        width: 2rem;
        font-size: 1rem;
    }

    .skills-container{
        gap: 1.5rem;
        margin: 0;
        padding: 0;
    }

    .skill-box{
        max-width: 100%;
        flex-basis: 100%;
    }

    .skill-heading img{
        height: 15px;
        width: 15px;
    }

    .skill-heading h5{
        font-size: 1rem;
    }

    .skill-text-box p{
        font-size: 1rem;
    }

    .contact{
        padding-top: 9rem;
    }

    .contact-section{
        flex-direction: column;
        margin: 0;
        padding: 0;
        gap: 2rem;
    }

    .contact-box{
        margin: 0;
        width: 100%;
    }

    .contact-logo a{
        height: 2rem;
        width: 2rem;
        font-size: 1rem;
    }
}