* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: 0;
    outline: 0;
    scroll-behavior: smooth;
    font-family: "poppins", sans-serif;
}

:root {
    /* --bg-color: #1f242d; */
    --bg-color: #e3e6e6;
    /* --second-bg-color: #323946; */
    --second-bg-color: #d0d1d1;
    --text-color: #0c0c0c;
    /* --main-color: #0ef; */
    --main-color: #08c9c9;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
}

section {
    min-height: 100vh;
    padding: 10rem 9% 2rem;
    /* display: flex; */
    justify-content: space-between;
}


.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    background: var(--bg-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.header.sticky {
    border-bottom: 0.1rem solid rgba(0, 0, 0, 0.2);
}

.pf {
    color: var(--text-color);
    font-size: 2.5rem;
    font-weight: 600;
    /* cursor: default; */
}
.navbar a {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-left: 4rem;
    transition: 0.3s linear;
}

.navbar a:hover,
.navbar a:active {
    color: var(--main-color);
}
#menu {
    font-size: 3.6rem;
    color: var(--text-color);
    display: none;
}




/*This is home page*/ 




.home {
    display:inline-flex;
    justify-content: center;
    align-items: center;
    top:20%;
}
#home{
    position: relative;
    padding-bottom:15%;
}


@keyframes floatImage {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2.4rem);
    }

    100% {
        transform: translateY(0);
    }
}

.home-content h3 {
    font-size: 3.2rem;
    font-weight: 700;
}

.home-content h3:nth-of-type(2) {
    margin-bottom: 2rem;
}

span {
    color: var(--main-color);
}

.home-content h1 {
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.3;
}

.home-content p {
    font-size: 1.6rem;
}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: 0.2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--main-color);
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.5s ease;
}

.social-media a:hover {
    background-color: var(--main-color);
    color: var(--second-bg-color);
    box-shadow: 0 0 1rem var(--main-color);
}

.btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    background: var(--main-color);
    border-radius: 4rem;
    box-shadow: 0 0 1rem var(--main-color);
    font-size: 1.6rem;
    color: var(--second-bg-color);
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: 0.5s ease;
}

.btn:hover {
    box-shadow: none;
}

@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }
}

@media (max-width: 991px) {
    .header {
        padding: 2rem 3%;
    }

    section {
        padding: 10rem 3% 2rem;
    }

   
}

@media (max-width: 768px) {
    #menu {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 3%;
        background-color: var(--bg-color);
        border-top: 0.1rem solid rgba(0, 0, 0, 0.2);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
        display: none;
    }

    .navbar.active {
        display: block;
    }

    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }

    .home {
        flex-direction: column;
    }

    .home-content h3 {
        font-size: 2.6rem;
    }

    .home-content h1 {
        font-size: 5rem;
    }

}
.home-img img {
    width: 25vw;
    border-radius: 25px;
    height: 35vw;
    animation: floatImage 4s ease-in-out infinite;
}

.home .hone-img{
    position: relative;
    height: 20%;
    padding-top: 2%;
}

@media (max-width: 450px) {
    html {
        font-size: 50%;
    }

   
}



/*this is about*/



.section-header {
    position: relative;
    margin-bottom: 45px;
}

@media (max-width: 767.98px) {
    .section-header h2 {
        text-align: center;
        color:rgb(0, 0, 0);
        font-size: 35px;
        font-weight: 700;
        padding-top: 0%;
    }
}

.about {
    background-color: #ffffff;
    width: 100%;
    height: inherit;
    margin: -45px 0 45px 0;
}

#about{
    position: relative;
    padding-bottom:75%;
}

.about .about-img {
    position: relative;
    height: 20%;
    padding-top: 2%;
}

.about .about-img img {
    width: 25vw;
    border-radius: 25px;
    height: 35vw;
}

.about-content{
    position: absolute;
    box-sizing: content-box;
    color: #0c0c0c;
    padding-right: 120px;
    padding-left: 5px; 

}

.about .about-text p {
    font-size: 16px;
    text-align: center;
}

.about .skills {
    margin-bottom: 15px;
    margin-top: 0%;
}

.about .skill-name {
    margin-top: 15px;
}

.about .skill-name p {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 300;
}

.about .skill-name p:last-child {
    float: right;
}

.about .progress {
    height: 10px;
    border-radius: 5px;
    background: rgb(103, 156, 165);
}

.about-content .btn{
    margin-top: 50px;
    cursor: pointer;
}


@media (max-width: 991.98px) {
    .about .about-content {
        padding: 0;
    }
}







/*This is skill*/






.accomplishments h2 {
    margin-bottom: 5rem;
}
.headings{
    text-align: center;
    color:rgb(0, 0, 0);
    font-size: 35px;
    font-weight: 700;
    padding-top: 0%;
}

.acmp-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.accomplishments {
    display: block;
}

.acmp-container .acmp-box {
    flex: 1 1 30rem;
    background-color: var(--second-bg-color);
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    text-align: center;
    border: 0.2rem solid var(--bg-color);
    transition: 0.5s ease;
}

.acmp-container .acmp-box:hover {
    border-color: var(--main-color);
    transform: scale(1.02);
}

.acmp-box i {
    font-size: 7rem;
    color: var(--main-color);
}

.acmp-box h3 {
    font-size: 2.6rem;
}

.acmp-box p {
    font-size: 1.6rem;
    margin: 1rem 0 3rem;
}






/*This is Portfolio*/









.portfoliopage {
    margin-bottom: 5rem;
    
}

#portfoliopage{
    background-color: #ffffff;
    padding-bottom: 20%;
}

.heading{
    text-align: center;
    color: rgb(0, 0, 0);
    font-size: 35px;
    font-weight: 700;
    padding-bottom: 10%;
}

.port-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.portfoliopage{
    display: block;
}

.port-container .port-box {
    flex: 1 1 30rem;
    background-color: var(--second-bg-color);
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    text-align: center;
    border: 0.2rem solid var(--bg-color);
    transition: 0.5s ease;
}

.port-container .port-box:hover {
    border-color: var(--main-color);
    transform: scale(1.02);
}

.port-box i {
    font-size: 7rem;
    color: var(--main-color);
}

.port-box h3 {
    font-size: 2.6rem;
}

.port-box p {
    font-size: 1.6rem;
    margin: 1rem 0 3rem;
}








/* This is contect*/








.contact{
    background-color: val(--bg-color);
    ;
}
.heading{
    text-align: center;
    color: rgb(0, 0, 0);
    font-size: 35px;
    font-weight: 700;
}
.contact form {
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
}

.contact form .input-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact form .input-box input,
.contact form textarea {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: var(--text-color);
    background-color: var(--second-bg-color);
    border-radius: 0.8rem;
    margin: 0.7rem 0;
}

.contact form .input-box input {
    width: 49%;
}

.contact form textarea {
    resize: none;
}

.contact form .btn {
    margin-top: 2rem;
    cursor: pointer;
}

