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

:root {
    --first-color: #191825;
    --second-color: #865DFF;
    --third-color: #E384FF;
    --fourth-color: #FFA3FD;
    --fifth-color: #ffffff;
    --sixth-color: #000000;
  }
        
    *{
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'poppins', sans-serif;
    }

    body{
        overflow: hidden;
    }

    h2{
        text-align: center;
        color: var(--first-color);
        text-transform: capitalize;
    }
    
    /* Floating Objects */
    .floating-object {
        position: absolute;
        width: 40px;
        height: 40px;
        background: linear-gradient(35deg,var(--fourth-color),var(--second-color)); 
        border-radius: 50%;
        pointer-events: none;
        transform-style: preserve-3d; /* Enable 3D transformations */
        transform: translateZ(0); /* Ensure proper rendering in some browsers */
    }


    /* Navigation Bar */
    .navBar{
        width: 100%;
        height: 100vh;
    }

    nav{
        display: flex;
        width: 100%;
        height: 70px;
        justify-content: space-around;
        line-height: 70px;
        z-index: 111;
        background-color: var(--fourth-color);
    }

    .logo{
        display: flex;
        color: var(--fifth-color);
        font-weight: 800;
        font-size: 30px;
        text-transform: capitalize;
        letter-spacing: 3px;
        cursor: pointer;
    }

    b{
        font-size: 50px;
        color: var(--second-color);
    }

    .navItem{
        display: flex;
    }
    .navItem ul{
        display:flex;
    }

    .navItem li{
        list-style: none;
        margin: 0 15px;
    }

    .navItem li a{
        font-size: 25px;
        color: var(--fifth-color);
        text-decoration: none;
        text-transform: capitalize;
        letter-spacing: 3px;
    }

    .navItem li:hover a{
        opacity: 0.5;
    }

    .socal a{
        color: var(--fifth-color);
        font-size: 35px;
        letter-spacing: 4px;
    }

    .socal a:hover{
        opacity: 0.5;
    }

    /* HomePage */
    /* Parent Container styling  */

    .home-container{
        display:flex;
        width: 100%;
        height: 100vh;
        justify-content: center;
        align-items: center;
        padding: 0 10%;
        overflow: hidden;
        /* background-image: url(Images/watersplash.jpn);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover; */
    }

    /* conatiner child left side */


    .home-child{
        width: 100%;
        float: left;
        padding: 20px;
        z-index: 7;
    }

    /* .imgbacksplash{
        position: relative;
        width: 100%;
        height: 100%;
    }

    .imgbacksplash #splash{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        width: 60%;
        filter: saturate(200%);
        
    } */

    .home_child0 .topline{
        display: block;
        position: relative;
        font-size: 35px;
        letter-spacing: 5px;
        font-weight: 600;
        color: var(--sixth-color);
    }

    .home_child0 .topline::after{
        position: absolute;
        content: '';
        height: 4px;
        width: 45px;
        bottom: 10px;
        background-color: var(--second-color);
    }

    .home_child0 h1{
        display: block;
        font-size: 7em;
        font-weight: 900;
        color: var(--first-color);
    }

    .home_child0 .multiText{
        color: var(--sixth-color);
        text-transform: capitalize;
    }

    .home_child0 p{
        display: block;
        width: 90%;
        font-size: 23px;
        font-weight: 600;
        color: var(--sixth-color);
    }

    

    /* .home_child0 .btn button{
        outline: none;
        border: none;
        cursor: pointer;
        font-size: 15px;
        font-weight: 600;
        color: var(--sixth-color);
        background-color: var(--second-color);
        padding: 8px 14px;
        margin: 40px 5px;
        letter-spacing: 2px;
        text-transform: capitalize;
        box-shadow: 0 15px 10px rgb(0, 0, 0,0.6);
    } */

    /* button:hover{
        opacity: 0.5;
    } */

    /* From Uiverse.io by Na3ar-17 */ 
    /* .container {
        padding: 0;
        margin: 0;
        box-sizing: border-box;
        font-family: Arial, Helvetica, sans-serif;
        display: flex;
        justify-content: center;
        align-items: center;
    } */
    
    .home_child0 .btn{
        width: 100%;
        display: flex;
        justify-content: left;
        left: 150px;
        
    }

    .label {
        background-color: transparent;
        border: 2px solid rgb(91, 91, 240);
        display: flex;
        color: #000000  ;
        align-items: center;
        border-radius: 50px;
        width: 200px;
        cursor: pointer;
        transition: all 0.4s ease;
        padding: 5px;
        position: relative;
    }
    
    .label::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: #fff;
        width: 8px;
        height: 8px;
        transition: all 0.4s ease;
        border-radius: 100%;
        margin: auto;
        opacity: 0;
        visibility: hidden;
    }
    
    .label .input {
        display: none;
    }
    
    .label .title {
        font-size: 17px;
        color: var(--sixth-color);
        transition: all 0.4s ease;
        position: absolute;
        right: 18px;
        bottom: 14px;
        text-align: right;
    }
    
    .label .title:last-child {
        opacity: 0;
        visibility: hidden;
    }
    
    .label .circle {
        height: 45px;
        width: 45px;
        border-radius: 50%;
        background-color: rgb(91, 91, 240);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: all 0.4s ease;
        position: relative;
        box-shadow: 0 0 0 0 rgb(255, 255, 255);
        overflow: hidden;
    }
    
    .label .circle .icon {
        color: #fff;
        width: 30px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: all 0.4s ease;
    }
    
    .label .circle .square {
        aspect-ratio: 1;
        width: 15px;
        border-radius: 2px;
        background-color: #fff;
        opacity: 0;
        visibility: hidden;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: all 0.4s ease;
    }
    
    .label .circle::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        background-color: #3333a8;
        width: 100%;
        height: 0;
        transition: all 0.4s ease;
    }
    
    .label:has(.input:checked) {
        width: 57px;
        animation: installed 0.4s ease 3.5s forwards;
    }
    
    .label:has(.input:checked)::before {
        animation: rotate 3s ease-in-out 0.4s forwards;
    }
    
    .label .input:checked + .circle {
        animation:
        pulse 1s forwards,
        circleDelete 0.2s ease 3.5s forwards;
        rotate: 180deg;
    }
    
    .label .input:checked + .circle::before {
        animation: installing 3s ease-in-out forwards;
    }
    
    .label .input:checked + .circle .icon {
        opacity: 0;
        visibility: hidden;
    }
    
    .label .input:checked ~ .circle .square {
        opacity: 1;
        visibility: visible;
    }
    
    .label .input:checked ~ .title {
        opacity: 0;
        visibility: hidden;
    }
    
    .label .input:checked ~ .title:last-child {
        animation: showInstalledMessage 0.4s ease 3.5s forwards;
    }
    
    @keyframes pulse {
        0% {
        scale: 0.95;
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
        }
        70% {
        scale: 1;
        box-shadow: 0 0 0 16px rgba(255, 255, 255, 0);
        }
        100% {
        scale: 0.95;
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
        }
    }
    
    @keyframes installing {
        from {
        height: 0;
        }
        to {
        height: 100%;
        }
    }
    
    @keyframes rotate {
        0% {
        transform: rotate(-90deg) translate(27px) rotate(0);
        opacity: 1;
        visibility: visible;
        }
        99% {
        transform: rotate(270deg) translate(27px) rotate(270deg);
        opacity: 1;
        visibility: visible;
        }
        100% {
        opacity: 0;
        visibility: hidden;
        }
    }
    
    @keyframes installed {
        100% {
        width: 150px;
        border-color: rgb(35, 174, 35);
        }
    }
    
    @keyframes circleDelete {
        100% {
        opacity: 0;
        visibility: hidden;
        }
    }
    
    @keyframes showInstalledMessage {
        100% {
        opacity: 1;
        visibility: visible;
        right: 56px;
        }
    }
  
    a{
        text-decoration: none;
        color: var(--sixth-color);
    }





    /* AboutPage */

    .about-container{
        padding: 20px;
    }

    .about-child{
        width: 50%;
        float: left;
        padding: 20px;
    }

    .about-child p{
        display: block;
        width: 100%;
        font-size: 14px;
        font-weight: 600;
        color: var(--sixth-color);
    }
    /* left Side */


    /* right Side */


    .profile_pic img {
        width: 100px;
        height: auto;
    }

    #java{
        position: relative;
        top: 10px;
        right: -50px;
        animation: animate 10s ease infinite;
    }

    #Cplus{
        position: relative;
        top: 10px;
        left: -50px;
        animation: move-right_logo 6s ease infinite;
    }

    #C{
        position: relative;
        top: 10px;
        right: -50px;
        animation: move-right2 6s ease infinite;
    }

    #git{
        position: relative;
        top: 10px;
        left: -50px;
        animation: animate 6s ease infinite;
    }

    #html{
        position: relative;
        top: 10px;
        right: -50px;
        animation: move-right_logo 9s ease infinite;
    }

    @keyframes animate {
        0%{
        transform: scale(.9)
        }
        50% {
        transform: scale(1.2)
        }
        100% {
            transform: scale(.9);
        }
    }

    @keyframes move-right_logo {
        0%{
        transform: translateX(0);
        }
        50% {
        transform: translate(20px,-20px);
        }
        100%{
            transform: translateX(0);
        }
    }

    @keyframes move-right2 {
        0%{
        transform: translateX(0);
        }
        50% {
        transform: translate(-20px,-20px);
        }
        100%{
            transform: translateX(0);
        }
    }  

    .about-child1 .pLogo{
        display: flex;
    }
    .pLogo ul{
        display: flex;
    }

    .pLogo li{
        list-style: none;
        margin: 0 15px;
    }

    .pLogo img{
        bottom: 100px;
        width: 50;
        height: auto;
    }

    /* projects Page  */

    .project-container{
        padding: 20px;
    }

    .project{
        overflow: auto;
    }

    ul {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin: 0;
        padding: 0;
    }
    
    li {
        display: inline;
        text-align: center;  
    }

    li:hover{
        opacity: 0.5;
    }
    
    a {
        text-decoration: none;
    }
    
    img {
        display: block;
        margin: 0 auto;
        width: 300px;
        height: 175px;
    }
    
    h3 {
        margin: 10px 0 0;
        font-size: 1.2rem;
        text-transform: capitalize;
    }

    .project-container .btn{
        width: fit-content;
        position: relative;
    }

    .project-container .btn button{
        outline: none;
        border: none;
        cursor: pointer;
        font-size: 15px;
        font-weight: 600;
        color: var(--sixth-color);
        background-color: var(--second-color);
        padding: 8px 14px;
        margin: 40px 5px;
        letter-spacing: 2px;
        text-transform: capitalize;
        box-shadow: 0 15px 10px rgb(0, 0, 0,0.6);
    }

    button:hover{
        opacity: 0.5;
    }
  









/* my pforile pic

.imgbox img {
    position: absolute;
    height: 100%;
    width: auto;
    bottom: -10px;
    right: 70px;
    transform: rotateY(180deg) scale(1);
    animation: move-right 2s ease-in-out infinite alternate;
}
 
@keyframes move-right {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(10px);
    }
  }  */






/* @keyframes animate {
    0% {
        transform: rotateY(180deg) scale(1);
        right: -50px;
    }
    50% {
        transform: rotateY(180deg) scale(1.2);
        right: -100px;
    }
    100% {
        transform: rotateY(180deg) scale(1);
        right: -50px;
    }
} */






/* .imgbox{
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.imgbox img{
    position: relative;
    height: 100%;
    width: calc(130% - 100px);
    top: -100px;
    right: -50px;
    transform: rotateY(180deg);
    animation: zoomInOut 5s ease-in-out infinite alternate;
    animation: move-right 2s ease-in-out infinite alternate;
    
}
  
  @keyframes move-right {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(10px);
    }
  } */
  


  /* @keyframes zoomInOut {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.2);
    }
    100% {
      transform: scale(1);
    }
  } */
  

/* @keyframes animate {
    50%{
        top: -49%;
        left: 51%;
        width: 100%;
    }
    
} */

/* @keyframes zoom-in-zoom-out {
    0% {
      transform: scale(1, 1);
    }
    50% {
      transform: scale(1.2, 1.2);
    }
    100% {
      transform: scale(1 , 1);
    }
  } */



