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

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

}

:root {
    --main-text-color: #ffffff;
    --second-text-color: #26b4fc;
    --bg-main: #080e1e;
    --second-bg: #030a1e;
    --third-bg: #030e2c;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
    background: var(--second-text-color);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--second-text-color);
}

body {
    overflow-x: hidden;
}

/* header section  */
header {
    position: relative;
    height: 90px;
    width: 100%;
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 150px 0 100px;
    background: transparent;
    z-index: 100;
    transition: .5s ease;

}

header a {
    position: relative;
    font-size: 1.8rem;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--main-text-color);
    /* animation: fadeleft 1.5s ease; */


}

/* @keyframes fadeleft {
    0% {
        transform: translateY(-200px);
        opacity: 0;
    }

    0% {
        transform: translateX(-2000px);
        opacity: 0;
    }

    60% {
        transform: translateY(400px);
        opacity: 0.2;
    }

    80% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes faderight {
    0% {
        transform: translateY(-200px);
        opacity: 0;
    }

    0% {
        transform: translateX(2000px);
        opacity: 0;
    }

    60% {
        transform: translateY(400px);
        opacity: 0.2;
    }

    80% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(0px);
    }
} */

header a img {
    height: 50px;
}

nav ul {
    display: flex;
    list-style: none;
    animation: faderight 1.5s ease-in-out;
    /* transition: .5s ease-in-out; */
}

nav ul li a {
    font-size: 1rem;
    margin-left: 25px;
    transition: .5s ease;
}

nav ul li a:hover,
nav .active {
    color: #26b4fc;
}
.panel-open{
    left:0px;
}
header .bx{
    color: var(--main-text-color);
    display: none;
    font-size: 2rem;
    cursor: pointer;
    margin-right: 10px;
}

header.sticky {
    background-color: var(--second-bg);
    height: 60px;
    position: fixed;
}

.sticky2 {
    background-color: var(--third-bg);
    height: 60px;
    position: fixed;
}
/* header end  */
/* home section  */
.home {
    position: relative;
    padding: 0 100px;
    height: 110vh;
    width: 100%;
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: left;
    align-items: center;
}

.home .left-text-section {
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    height: 100%;
    width: 50%;
    /* background-color: red; */
}

.home .left-text-section h1 {
    color: var(--main-text-color);
    font-size: 3.5rem;
    /* animation: fadeleft 1.5s ease-in-out; */
}

.home .left-text-section h3 {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--main-text-color);
    /* animation: fadeleft 1.5s ease-in-out; */
}

.home .left-text-section h3 span {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--second-text-color);
    /* animation: fadeleft 1.5s ease-in-out; */
}

.home .left-text-section p {
    color: var(--main-text-color);
    font-size: 1.1rem;
    font-weight: 400;
    /* animation: fadeleft 1.5s ease-in-out; */
}

.left-text-section-hire-btn {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.left-text-section-hire-btn a {
    height: 45px;
    width: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 5px;
    transition: 0.7s ease;
    /* animation: fadeleft 1.5s ease-in-out; */
}

.left-text-section-hire-btn a:nth-child(1) {
    border: 3px solid var(--second-text-color);
    background-color: var(--second-text-color);
    color: var(--bg-main);
}

.left-text-section-hire-btn a:nth-child(1):hover {
    background-color: transparent;
    color: var(--main-text-color);
}

.left-text-section-hire-btn a:nth-child(2) {
    border: 3px solid var(--second-text-color);
    color: var(--main-text-color);
}

.left-text-section-hire-btn a:nth-child(2):hover {
    background-color: var(--second-text-color);
    color: var(--bg-main);
}

.social-icons {
    position: absolute;
    left: 70.5%;
    display: flex;
    gap: 20px;
    top: 80%;
    animation: faderight 1.5s ease-in-out;
}

.social-icons a i {
    font-size: 1.2rem;
    border: 2px solid var(--second-text-color);
    border-radius: 50%;
    padding: 5px;
    transition: .5s ease;
}

.social-icons a i:hover {
    transform: scale(1.2);
}

.right-image-section {
    height: 100%;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: faderight 1.5s ease-in-out;
    /* background-color: blue; */
}

.right-image-section img {
    height: 350px;
    position: relative;
    width: 350px;
    margin-left: 150px;
    border: 4px solid var(--second-text-color);
    border-radius: 50%;
    box-shadow: 0px 0px 20px 1px var(--second-text-color);
    filter: opacity(1);
}

.spin {
    position: absolute;
    top: 25%;
    left: 33%;
    height: 380px;
    width: 380px;
    border-radius: 50%;
    border-left: 5px solid var(--second-text-color);
    border-right: 5px solid var(--second-text-color);
    border-bottom: 5px solid transparent;
    border-top: 5px solid transparent;
    animation: spin 10s 1.5s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* home end  */
/* about section  */
.about {
    padding: 0 100px;
    height: 100vh;
    width: 100vw;
    background-color: var(--second-bg);
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 10%;
}

.about-image-section {
    background-color: var(--second-bg);
    height: 100%;
    width: 30%;
    display: flex;
    justify-content: start;
    align-items: center;
    /* background-color: red; */
}

.about-image-section img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 5px solid var(--second-text-color);
    box-shadow: 0px 0px 20px 1px var(--second-text-color);
    transition: .5s ease-in-out;
    animation: fadeleft 1.5s ease;

}

.about-image-section img:hover {
    box-shadow: 0px 0px 50px 1px var(--second-text-color);
}


.about-text-section {
    padding-left: 50px;
    /* background-color: red; */
    height: 100%;
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    align-items: start;
}

.about-text-section h1 {
    font-size: 3rem;
    color: var(--main-text-color);
}
.about-detial{
    /* background-color: red; */
    /* height: 50%; */
    width: 60%;
    border-left: 2px solid var(--second-text-color);
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
/* .about-detial .detial-content{
    background-color: blue;
} */
.detial-content h2{
    position: relative;
    font-size: 1rem;
    display: flex;
    color: var(--main-text-color);
    align-items: center;
    gap: 6px;
}
.detial-content h2::after{
    position: absolute;
    content: "";
    height: 10px;
    width: 10px;
    left: -6%;
    border-radius: 50%;
    background-color: var(--second-text-color);

}
.detial-content h3 a{
    font-size: 0.8rem;
    text-decoration: none;
    color: var(--main-text-color);

}
.detial-content h3{
    color: var(--main-text-color);
    font-size: 0.8rem;
    display: flex;
    gap: 10px;
    margin-left: 25px;

}
.about-btn{
    /* background-color: red; */
    height: 4.5%;
    width: 40%;
    display: flex;
    justify-content: space-around;
}
.about-btn a{
    border: 2px solid var(--second-text-color);
    border-radius: 7%;
    height: 100%;
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;;
    color: var(--main-text-color);
    transition: .5s ease-in-out;
}
.about-btn a:hover{
    box-shadow: 0px 0px 10px 1px var(--second-text-color);
    background-color: var(--second-text-color);
    color: var(--bg-main);
}


/* about section end  */

.myJourney {
    height: 100vh;
    width: 100%;
    background-color: var(--third-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.myJourney h1 {
    font-size: 3rem;
    color: var(--main-text-color);
    font-weight: 600;
}

.myJourney h1 span {
    color: var(--second-text-color);

}

.myJourney-mainBox {
    /* background-color: red; */
    height: 70%;
    width: 95%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.myJourney-mainBox .myJourney-education {
    /* background-color: blueviolet; */
    padding: 0 1%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100%;
    width: 45%;
    gap: 2%;
    border-left: 2px solid var(--second-text-color);
}

.myJourney-mainBox .myJourney-experince {
    /* background-color: blueviolet; */
    padding: 0 1%;
    height: 100%;
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 2%;
    border-left: 2px solid var(--second-text-color);
}

.myJourney-content {
    position: relative;
    height: 23%;
    width: 95%;
    border-radius: 0.5rem;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    border: 1px solid var(--second-text-color);
    z-index: 1;
}

.myJourney-content::before {
    position: absolute;
    content: " ";
    height: 15px;
    left: -6.9%;
    width: 15px;
    border-radius: 50%;
    background-color: var(--second-text-color);
}

.myJourney-content::after {
    position: absolute;
    content: "";
    height: 100%;
    width: 0;
    background-color: var(--second-text-color);
    border-radius: 0.3rem;
    z-index: -1;
    transition: .5s ease-in-out;
}

.myJourney-content:hover::after {
    width: 100%;
}

.myJourney-content h3 {
    font-size: 0.7rem;
    color: var(--main-text-color);
    display: flex;
    justify-content: start;
    align-items: center;
}

.myJourney-content h3 i {
    font-size: 0.9rem;
    margin-left: 2%;
    margin-right: 1%;
}

.myJourney-content h2 {
    color: var(--main-text-color);
    font-size: 1rem;
    margin-left: 2%;
    margin-top: 1%;
}

.myJourney-content p {
    color: var(--main-text-color);
    font-size: 0.8rem;
    margin-left: 2%;
}


/* project section started  */

.project-section{
    background-color:var(--second-bg);
    height: 120vh;
    width: 100%;
    padding: 20px 0px;
}
.project-section .title{
    margin-top: 30px;
    text-align: center;
    font-size: 2rem;
    color: var(--main-text-color);
}
.project-section .title h1 span{
    color: var(--second-text-color);
}
.projects {
    margin: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.card{
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
    border:4px solid var(--second-text-color);
    border-radius: 20px;
    transition: all cubic-bezier(0.19, 1, 0.22, 1).5s;
}
.card:hover{
    box-shadow: 0px 0px 20px var(--second-text-color);
    background-color: var(--second-text-color);
}
.projects{
    margin:60px;
}
.card img{
    border-radius: 5px;
    border-radius: 20px;
    width: 400px;
    height: 200px;
    /* margin-bottom: 10px; */
}
.card a{
    text-decoration: none;
    color: var(--main-text-color);
    padding: 10px;
    transition: all cubic-bezier(0.19, 1, 0.22, 1).5s;
    
}
.card a:hover{
    color: var(--second-bg);

}




























/* media  */
@media screen and (max-width: 425px) {
    header {
        padding: 0 10px 0 10px;
        position: fixed;
        height: 50px;
    }

    header a {

        font-size: 1.2rem;
    }

    header a img {
        height: 35px;
    }

    nav ul {
        /* display: none; */
        display: inline;
        position: absolute;
        background-color: var(--bg-main);
        /* background-color: transparent; */
        height: 100vh;
        left: -300px;
        top: 0;
        width: 60%;
        opacity: 0.99;
        /* padding: 200px; */


    }
    nav ul li a {
        margin-top: 50px;
        margin-right: 20px;
    }

    header.sticky {
        height: 50px;
    }

    .home {
        background-color: var(--bg-main);
        display: block;
        padding: 0 20px;
        height: 130vh;
    }

    .home .left-text-section {
        height: 50%;
        width: 100%;
        /* background-color: red; */
        /* background-color: red; */
    }

    .home .left-text-section h1 {
        font-size: 1.8rem;
    }

    .home .left-text-section h3 {
        font-size: 1.5rem;
    }

    .home .left-text-section h3 span {
        font-size: 1.5rem;
    }

    .home .left-text-section p {
        color: var(--main-text-color);
        font-size: 0.9rem;
    }

    .left-text-section-hire-btn {
        display: flex;
        gap: 20px;
        margin-top: 10px;
    }

    .left-text-section-hire-btn a {
        height: 35px;
        width: 90px;
        font-size: 0.9rem;
        font-weight: 600;
        border-radius: 3px;
        border: 1.5px solid var(--second-text-color)
    }

    .right-image-section {
        height: 40%;
        width: 100%;
        align-items: center;
        /* background-color: blue; */
    }

    .right-image-section img {
        height: 250px;
        width: 250px;
        margin-left: 0px;
        transition: .5s ease-in-out;
    }

    .spin {
        top: 14%;
        left: 9%;
        height: 280px;
        width: 280px;
    }

    .social-icons {
        left: 27%;
        top: 90%;
    }

    header .bx{
        display: block;
    }
    .about {
        padding: 0 20px;
        height: 120vh;
        display: block;
        flex-direction: column;
        justify-content: center;
    }
    .about-image-section {
        height: 40%;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .about-image-section img {
        width: 250px;
        height: 250px;
        border-radius: 50%;
    }
    .about-text-section {
        padding-left: 0px;
        height: 50%;
        width: 100%;
    }
    .about-text-section h1 {
        width: 100%;
        text-align: center;
    }
    .about-detial{
        margin-left:  20px
}
.detial-content h2::after{
    left: -12.5%;
}
.about-btn{
    margin-left: 20px;
    margin-top: 20px;
    height: 6%;
    width: 60%;
}
.about-btn a{
    border: .8px solid var(--second-text-color);
    font-size: 0.6rem;
}
.myJourney {
    height: 150vh;
    gap: 0px;
}
.myJourney-mainBox {
    height: 90%;
    display: block;
}
.myJourney-mainBox .myJourney-education {
    height: 500px;
    width: 100%;
}
.myJourney-mainBox .myJourney-experince {
    height: 400px;
    width: 100%;
}
.myJourney-content {
    position: relative;
    height: 100px;
    border: 1px solid var(--second-text-color);
}
.myJourney-content::before {
    position: absolute;
    content: " ";
    height: 10px;
    left: -5.5%;
    width: 10px;
    border-radius: 50%;
    background-color: var(--second-text-color);
}
}



 /*given an array of integer nums and integer target , return indices of the two number such that they add upto target*/
