@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=JetBrains+Mono:wght@500&display=swap');
*{
    padding: 0;
    margin: 0;
    
    font-family: "Inter",sans-serif;
    text-decoration: none;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}

body{
    overflow-x: hidden;
}

.page1{
    width: 100%;
    min-height: 100%;
    display: flex;
    position: relative;;
}

nav h5{
    font-weight: 400;
}

.page1 nav{
    position: absolute;
    display: flex;
    width: 100%;
    height: 7vh;
    background-color: transparent;
    justify-content: space-between;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    border: 2px solid rgb(38, 38, 96);
    border-top: 0;
    border-left: 0;
    border-right: 0;
    
}

nav .logo{
    width: 10%;
    margin-left: 3%;
    height: 7vh;
    display: flex;
    align-items: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a; 
    cursor: pointer;
    letter-spacing: -1px; 
    user-select: none;
}

.bracket {
    color: #3b82f6; 
    transition: color 0.3s ease;
}

.logo:hover .bracket {
    color: #f97316; 
}

.page1{
    background-color: #f8fafc;
}


.page1 nav .subnav{
    display: flex;
    justify-content: space-around;
    width: 40%;
    height: 7vh;
    align-items: center;
    font-size: x-large;
    
}

nav .subnav .about{
    position: relative;
    height: max-content;
    max-width: max-content;
    user-select: none;
    
}
nav .subnav .about::after{
    content: "";
    position: absolute;
    border-bottom: 2px solid black;
    width: 0%;
    bottom: -5px;
    transition: width 0.3s ease;
    left: 0;
}

nav .subnav .about:hover:after{
    width: 100%;
    
}
nav a{
    font-size: 1.2rem;
}

nav .subnav .contact{
    width: max-content;
    height: max-content;
    position: relative;
    user-select: none;
}

nav .subnav .contact::after{
    content: "";
    width: 0%;
    bottom: -5px;
    position: absolute;
    border-bottom: 2px black solid;
    transition: width 0.3s ease;
    left: 0;
}

nav .subnav .contact:hover:after{
    width: 100%;
}


.page1 .left{
    margin-top: 7vh;
    width: 50%;
    height:90vh ;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 50px;
    
    
}

.page1 .left h1{
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    font-family: 'Inter', sans-serif;
}
.page1 .left h2{
    font-size: 2rem;
    font-weight: 500;
    line-height: 80px;
    font-family: 'JetBrains Mono', monospace;;
}

.page1 .left p{
    font-size: 1.125rem;
    line-height: 25px;
    
}


.left .btn{
    width: 55%;
    display: flex;
    margin-top: 40px;
    
    gap: 25px;
}
.page1 .left button{
    padding: 15px 15px;
    border-radius: 10px;
    letter-spacing: 2px;
    border: transparent;
    cursor: pointer;
}

#contact:hover{
    transform: translateY(-5px);
    transition: all 0.3s ease;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}
#resume{
    background: rgba(128, 128, 128, 0.499);
    border: 0;

}

#resume:hover{
    background-color: black;
    color: white;
    transform: translateY(-3px);
    transition: all 0.3s ease;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}



.page1 .right{
    position: relative;
    margin-top: 7vh;
    width: 46%;
    height:90vh ;
}

.right .pic{
    width: 100%;
    height: 100%;
    position: relative
    
}

.floating-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.main-avatar {
    position: absolute;
    height: 90vh;        
    width: 100%;
    object-fit: contain;
    object-position: bottom;
    z-index: 1;          
    bottom: 0;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); } 
    100% { transform: translateY(0px); }
}


.floating-logo {
    position: absolute;
    width: 80px;  
    height: 80px;
    z-index: 2;   
    animation: float 3s ease-in-out infinite; 
}


.reactpic {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}


.htmlpic {
    top: 15%;
    right: 25%;
    animation-delay: 1s; 
}


.jspic {
    top: 40%;
    left: 5%;
    width: 70px; 
    height: 70px;
    animation-delay: 0.5s;
}


.csspic {
    top: 35%;
    right: 5%;
    width: 70px;
    height: 70px;
    animation-delay: 1.5s;
}


.reactpic:hover img {
    filter: drop-shadow(0 0 15px #61dafb);
    transform: scale(1.1); /* Slight zoom */
    transition: all 0.3s ease;
}


.htmlpic:hover img {
    filter: drop-shadow(0 0 15px #e34c26);
    transform: scale(1.1);
    transition: all 0.3s ease;
}


.csspic:hover img {
    filter: drop-shadow(0 0 15px #264de4);
    transform: scale(1.1);
    transition: all 0.3s ease;
}


.jspic:hover img {
    filter: drop-shadow(0 0 15px #f7df1e);
    transform: scale(1.1);
    transition: all 0.3s ease;
}



.page2 {
    width: 100%;
    height: 100vh;
    display: block;
    white-space: nowrap;
    background-color: #f8fafc;
}
.page3{
    
    height: 100vh;
}



.page2 h1{
    font-size: 80vh;
    font-family: 'Intern', sans-serif;
    color: transparent;
    -webkit-text-stroke: 2px #0f172a;
    filter: drop-shadow(4px 4px 0px rgba(0,0,0,0.2));
}


.page3{
    height: 100vh;
    width: 100%;
    background-color: #f8fafc;
}


.page3 .aboutme{
    height: 60%;
    width: 80%;
    text-align: center;
    padding-top: 40px;
    margin-left: 10%;
    margin-right: 10%;
}


.section-title{
    font-size: 3.5rem;
    padding-bottom: 25px;
    font-family: 'Intern', sans-serif;
    letter-spacing: 2px;
}

.page3 p{
    font-size: larger;
    line-height: 25px;
    text-align: left;
}



.tech {
    padding-top: 2%;
    
    height: 30vh;
    width: 100%;
    display: flex;
    align-items: center;
}

.marque {
    width: 100%;
    background-color: #f7df1e;
    overflow: hidden; 
    white-space: nowrap; 
    rotate: 2deg;
    border: 3px black dotted;
    border-left: 0;
    border-right:0 ;
}


.move-container {
    display: flex;
    gap: 2vw; 
    width: fit-content; 
}

.move {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-shrink: 0;
     
}

.marque h1 {
    font-size: 5vw;
    margin: 0;
    font-family: sans-serif;
    text-transform: uppercase;
    font-weight: 900;
}

.marque img {
    height: 4vw;
}




.page4{
    height: 100vh;
    width: 100%;
    background-color: #f8fafc;

}

.page4 .heading{
    width: 100%;
    text-align: center;
    font-size: 35px;
}

.page4 .cont{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    align-items: center;
}

.page4 .stringeffect{
    width: 40%;
    height: max-content;
}
.projecthero{
    height: 50%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: left
    ;
    justify-content: left;
    padding: 10px 20px;
}

.project1{
    margin: 10px 30px;
    height: 100px;
    
    max-width:  100%;
    
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 2px #e0e0e0 solid;
    border-bottom: 2px #e0e0e0 solid;
    padding-left: 40px;
    padding-right: 40px;
}


.project1 button{
    height: max-content;
    padding: 10px 20px;
    border-radius: 10px;
    border-color: transparent;
    color: black;
}

.project1 a{
    color: black;
}


.project2{
    margin: 10px 30px;
    height: 100px;
    
    max-width:  100%;
    
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 2px #e0e0e0 solid;
    border-bottom: 2px #e0e0e0 solid;
    padding-left: 40px;
    padding-right: 40px;
}


.project2 button{
    height: max-content;
    padding: 10px 20px;
    border-radius: 10px;
    border-color: transparent;
    pointer-events: none;
}


.project3{
    margin: 10px 30px;
    height: 100px;
    
    max-width:  100%;
    
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 2px #e0e0e0 solid;
    border-bottom: 2px #e0e0e0 solid;
    padding-left: 40px;
    padding-right: 40px;
}


.project3 button{
    height: max-content;
    padding: 10px 20px;
    border-radius: 10px;
    border-color: transparent;
    pointer-events: none;
}


.page4 button:hover{
    color: white;
    transform: translateY(-2px);
    background-color:#0f172a;
    transition: all 0.5s ease-out;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}


.page4 button{
    background-color: transparent;
    letter-spacing: 2px;
    font-weight: 500;
    z-index: 400;
    cursor: pointer;
}

#project{
    position: relative;
}

.projectpic{
    position: absolute;
    height: 70px;
    width: 50px;
    background-color: #0f172a;
    transform: translate(-50%, -50%);
    pointer-events: none;
    display: none;
}

.page4 h2{
    z-index: 200;
    cursor: pointer;
}



.page5{
    height: 100vh;
    width: 100%;
    background-color: black;
    color: white;
}
footer{
    width: 100%;
}

footer .info{
    display: flex;
    height: 60%;
    width: 100%;
    justify-content: space-around;

    border-bottom:2px solid grey;
    padding-bottom: 60px;
}

footer .left{
    width :45%;
    height: 60%;
}

footer .left h2{
    font-size: 50px;
    padding-top: 100px;
    padding-left: 30px;
    letter-spacing: 3px;
}


footer .left p{
    font-size: 20px;
    padding-top: 20px;
    padding-left: 30px;
}


footer .right{
    display: flex;
    gap: 80px;
    padding-top: 100px;
    line-height: 35px;
}


footer .right h4{
    font-weight: 300;
}


.colorr{
    color: grey;
}


footer .heroline{
    height: 20%;
    display: flex;
    gap: 80px;
    padding-top: 30px;
    line-height: 35px;
    justify-content: space-between;
    margin-left: 113px;
}

footer .right a{
    color: white;
}

.heroline .name{
    display: flex;
    gap: 4px;
    align-items: center;
    font-weight: 300;
}

.line{
    padding-right: 50px; color: gray; font-weight: 300;
}

.magic{
    height: 40%;
    width: 100vw;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container11{
    position: relative;
    padding-top: 80px;
    height: 40%;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items:end;
    cursor: none;
    overflow: hidden;
}
.cursor{
    
    height: 100px;
    width: 100px;
    border-radius: 50%;
    background-color: white;
    position:absolute;
    mix-blend-mode: difference;
    transform: translate(-50%,-50%);
}

footer .container11 h1{
    color: white;
    font-size: clamp(0.5rem, 10vw, 12rem);
}


  

@media screen and (max-width: 1024px) {
    
    
    .page1 nav {
        height: auto !important;
        flex-direction: column;
        align-items: center;
        padding: 15px 0;
        position: relative; 
        background-color: #f8fafc;
    }
    nav .logo { width: 100%; justify-content: center; margin-left: 0; margin-bottom: 15px; }
    .page1 nav .subnav { width: 100%; justify-content: center; gap: 20px; font-size: 1rem; }

    
    .page1 {
        flex-direction: column-reverse;
        height: auto !important;
        padding-bottom: 50px;
        width: 100vw !important;
    }
    .page1 .left { width: 100%; padding: 40px 20px; text-align: center; }
    .page1 .left h1 { font-size: 2.5rem; line-height: 1.2; }
    .left .btn { width: 100%; justify-content: center; }
    .page1 .right { width: 100%; height: 50vh; }
    
    
    .floating-logo { width: 50px; height: 50px; }
    .reactpic { top: 10%; left: 10%; }
    .htmlpic { top: 10%; right: 10%; }
    .jspic { top: 60%; left: 5%; }
    .csspic { top: 60%; right: 5%; }

    
    .page2 {
        
        height: 40vh !important; 
        min-height: 250px;
        
        
        display: none !important;
        flex-direction: column;
        justify-content: center; 
        align-items: center;     
        
        padding: 0 20px;         
        white-space: normal !important; 
        
    }

    .page2 h1 {
        font-size: 12vw !important;  
        line-height: 1.2;
        text-align: center;
        width: 100%;
        -webkit-text-stroke: 1px #0f172a; 
    }
    

    .page3 {
        height: auto !important; 
        padding-bottom: 50px;
    }
    .page3 .aboutme { 
        width: 90%; 
        margin: 0 auto; 
        padding-top: 20px; 
    }
    .section-title { font-size: 2.2rem; }
    .page3 p { text-align: left; font-size: 1rem; line-height: 1.6; }
    
    
    .tech { height: auto; padding: 40px 0; }
    .marque h1 { font-size: 8vw; }
    .marque img { height: 6vw; }

    
    .page4 { height: auto !important; padding-bottom: 50px;max-width: 100vw; }
    .page4 .stringeffect { width: 95%; overflow: hidden; }
    .page4 .stringeffect svg { width: 100%; height: auto; }

    
    
    .projecthero { height: auto; padding: 0; }
    .project1, .project2, .project3 { 
        flex-direction: column; 
        height: auto; 
        text-align: center; 
        padding: 25px 15px; 
        gap: 15px; 
    }

    
    footer .info { flex-direction: column; height: auto; background-color: black  ;width: 100%;}
    footer .left, footer .right { width: 100vw; text-align: center; padding-left: 0;flex-direction: column; height: auto ;background-color: black; }
    footer .heroline { flex-direction: column; gap: 10px; margin-left: 0; text-align: center; padding-right: 0 !important;background-color: black; justify-content: center;align-items: center;  }
    footer .contact-sub{
        padding-left: 0;
        margin: 0;
    }
    footer .left h2 {
        padding-left: 0;
    }

    .line{
        padding: 0;
    }

    footer .left p {
        padding-left: 0;
    }
    footer .name{
        display: flex;
        flex-direction: column;
        background-color: black;
    }
    
    .magic {
        height: auto !important;
        padding: 50px 0;
        background-color: black;
    }
    
    .container11 {
        height: auto !important;
        width: 100%;
        overflow: visible !important; 
        display: flex;
        justify-content: center;
        align-items: center;
        padding-top: 0;
    }

    .container11 h1 {
        font-size: 2rem !important;
        white-space: nowrap ; 
        text-align: center;
        line-height: 1;
        margin: 0;
    }

    
    .cursor { display: none !important; }
    footer .container11 h1{
    color: white;
    font-size: 85px;
}
}
