*{
    box-sizing: border-box;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
body{
    background-color: rgb(23 23 23);
    color: white;
    margin: 0;
    padding: 0;
    font-size: 16px;
    /* font-family: 'Helvetica'; */
    font-family: "Roboto", sans-serif;
    /* font-family: Verdana, Geneva, Tahoma, sans-serif; */
    -webkit-text-size-adjust: none;
}
  
:root {
    --headerwidth: 1210px;
    --headerLineWidth: 1201px;
    --width: 1200px;
    
}

a{
 text-decoration: none;  
 color: white;
}

h1,h2,h3,p{
    margin: 0;
    padding: 0;
    text-indent: 0;
    font-weight: 400;
    display: block;
    
}

.page{
    margin: auto;
    width: var(--headerwidth);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* HEADER SECTION */

header{
    
    height: 80px;
    width: var(--headerwidth);
    padding: 0 5px 0 5px ;
    display: flex;
    justify-content: space-between;
    position: fixed;
    background-color: rgb(23 23 23);
    z-index: 99;
}

.header::after{
    content: "";
    width: var(--headerLineWidth);
    height: 1px;
    position: absolute;
    transition: all 0.3s ease;
    left: 5px;
    bottom: 0;
}

.header.scrolled::after
{
    background-color:  rgb(97, 97, 97);
}
.headerCol1{
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    letter-spacing: 0.04rem;
    
}
.headerCol1 h1{
    /* font-size: 1rem; */
    font-weight: 400;
    cursor:default
}
.headerCol1 h1:nth-child(2){
    color: rgb(173, 173, 173);
    font-size: 0.95rem;
}

.directoryHolder{
    font-size: 1.2rem;
}

.headerCol2{
    display: flex;
    justify-content: center;
}

.navHolder{
    list-style: none;
    display: flex;
    gap: 1rem;
}
.navItem{
    user-select: none;
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.navItem:hover{
    color: rgb(160, 160, 160);
}

/* HERO SECTION */

.hero{
    margin: 60px 0 0 0;
    height: 400px;
    width: var(--width);
}
.hero h1{
    margin: 80px 0 0 0;
    font-size: 3.168rem;
    position: relative;
    z-index: 1;
    
}

.hero h2{
    font-size: 1.618rem;
}

p{
    font-size: 1rem;
    width: 500px;
    margin-top: 20px;
    line-height: 1.4rem;
    letter-spacing: 0.02rem;
    color: rgb(173, 173, 173);
}

.links{
    margin-top: 20px;
    list-style: none;
    display: flex;
    padding: 0;
    width: 200px;
    height: 30px;
    gap: 8px;
}

.links i{
    margin: 0;
    padding: 0;
    width: 30px;
    height: 30px;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    color: white;
}
.links i:hover{
    color: rgb(160, 160, 160);
    cursor: pointer;
    scale: 1.2;
}

.links li:nth-child(1){
    /* padding-left: 1px; */
}



/* PROJECT SECTION */

#floatingProjectReveal {
  position: absolute;
  pointer-events: none; /* Allows clicking through the div */
  width: 600px;
  height: 400px;
  border-radius: 10px;
  /* box-shadow: 0 2px 5px rgba(0,0,0,0.1); */
    
  /* Initially hidden */
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

#floatingProjectReveal.visible {
  opacity: 1;
}

#floatingProjectReveal .hover-image {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  /* box-shadow: 0 2px 10px rgba(0,0,0,0.2); */
}

.hoverTarget{
    position: relative;
    z-index: 1;
}
.ProjectSection{
    width: var(--width);
    height: 520px;
}
.ProjectSection h1{
    font-size: 3.168rem;
    
    margin-bottom: 25px;
}
.ProjectSection span{
    font-size: 1.168rem;
    color: rgb(160, 160, 160);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    bottom: 5px;
}

.ProjectSection span:hover{
    margin-left: 5px;
}
.ProjectSection span::after{
    content: "→";
    position: absolute;
    top: 0;
    right: 0;
   
    columns: white;
    opacity: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}
.ProjectSection span:hover::after{
   right: -25px;
   opacity: 1;
}

.projectNo{
    margin: 10px 0 5px 0;
    font-size: 0.8rem;
    color: rgb(160, 160, 160);
   
}


.projectYear{
    font-size: 0.8rem;
    color: rgb(160, 160, 160);
}

.projectTitle{
    font-size: 1.2rem;
    font-weight: 400;
    margin-top: 2px;
}

.projectDescription{
    font-size: 1rem;
    font-weight: 400;
    margin: 5px 0 5px 0;
    color: rgb(160, 160, 160);
    line-height: 1.4rem;
    max-width: 800px;
    
}

.projectHolder{
    background-color: rgb(23 23 23);
    border-radius: 5px;
    padding-top: 1px;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    opacity: 1;
    overflow: hidden;
}

.projectHolder:hover{
    background-color: rgb(37, 37, 37);
    cursor: pointer;
    opacity: 1 ;
}

.projectWrapper:hover .projectHolder:not(:hover){
    opacity: 0.5;
}


/* ExperienceSection */

.experienceSection{
    width: var(--width);
    min-height: 440px;    
}

.experienceHolder{
    margin-bottom: 35px;
}

.experienceHolder hr{
    height: 1px;
    /* border: 1px solid rgb(160, 160, 160); */
    border: 1px solid rgb(160, 160, 160);
}


.experienceSection h1{
    font-size: 3.168rem;
    margin-bottom: 35px;
}

.jobTitle{
    font-size: 1.2rem;
    font-weight: 400;
    margin-top: 2px;
    position: relative;
}
.jobTitle span{
    margin-top: 5px;
    font-size: 0.8rem;
    color: rgb(160, 160, 160);
}
.jobTitle:nth-child(2){
    font-size: 1rem;
    font-weight: 400;
    margin-top: 5px;
}

.jobYear{
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 5px;
    font-size: 1rem;
    color: rgb(160, 160, 160);
}

.jobAchivement{
    font-size: 1rem;
    font-weight: 400;
    margin: 0 0 5px 0;
    color: rgb(160, 160, 160);
    line-height: 1.4rem;
}

.jobAchivement ul{
    /* list-style: none; */
    padding-left: 20px;   
}

.lispace{
    height: 5px;
}





/* EDUCATION SECTION */

.educationSection{
    width: var(--width);
    min-height: 380px;    
}

.educationSection h1{
    font-size: 3.168rem;
    margin-bottom: 35px;
    text-indent: 0 !important;
}

.educationHolder{
    margin-bottom: 40px;
}

.eduTitle{
    font-size: 1.2rem;
    font-weight: 400;
    margin-top: 2px;
    display: flex;
    justify-content: space-between;
}
.eduTitle span{
    margin-top: 5px;
    font-size: 1rem;
    color: rgb(160, 160, 160);
}

.eduCollege{
    font-size: 0.98rem;
    font-weight: 400;
    margin-top: 4px;
}

.eduDegree{
    font-size: 1rem;
    font-weight: 400;
    margin: 8px 0 5px 0;
    color: rgb(160, 160, 160);
    line-height: 1.4rem;
}

.eduGradeMobile{
    display: none;
}


/* About */

.aboutSection{
    width: var(--width);
    min-height: 350px; 
}

.aboutSection h1{
    font-size: 3.168rem;
    margin-bottom: 35px;
}



.aboutHolder h3{
    font-size: 1rem;
    margin-bottom: 10px;
    max-width: 800px;
    letter-spacing: 0.02rem;
    line-height: 1.4rem;
    color: rgb(160, 160, 160);
}

.aboutHolder h3{
    font-size: 1rem;
    margin-bottom: 10px;
    max-width: 800px;
    letter-spacing: 0.02rem;
    line-height: 1.4rem;
    color: rgb(160, 160, 160);
}

.objectIni{
    margin: 0;
}
.objectIni .tab{
    visibility: hidden;
}

.aboutHolder h2{
    font-size: 1rem;
    margin-bottom: 2px;
    letter-spacing: 0.02rem;
    line-height: 1.4rem;
    /* color: rgb(160, 160, 160); */
}

.objectCode{
    margin-bottom: 40px;
}
.objectIni:nth-child(1){
    margin-top: 25px;
}

.darkBlue{
    color: #2150b2 ;
}
.blue{
    color: #2ca3ff ;
}

.yellow{
    color: #fed700 ;
}

.lightBlue{
    color: #7cddf0;    
}

.orange{
    color: #ce915b;
}

.green{
    color: #b5cda9;
}

.violet{
    color: #ce70b4;    
}

.lightYellow{
    color:#dcdcaa
}

.emailSection{
    height: 770px;
    display: flex;
    justify-content: start;
    align-items: start;
    width: 100%;
    flex-direction: column;
    gap: 20px;
}
.emailSection h3{
   margin-left: 4px;
}


.input{
    height: 50px;
    width: 500px;
    margin-left: 5px;
    background-color: rgb(23 23 23);
    border: 1px solid rgb(97, 97, 97);
    color: white;
    outline: none;
    font-size: 1rem;
    padding-left: 5px;
}

.emailTextArea{
    width: 500px;
    height: 350px;
    resize: none;
    margin-left: 5px;
    background-color: rgb(23 23 23);
    border: 1px solid rgb(97, 97, 97);
    color: white;
    padding-left: 5px;
    font-size: 1rem;
    letter-spacing: none;
}

.submitBtn{
    height: 50px;
    width: 500px;
    margin-left: 5px;
    background-color: rgb(37, 37, 37);
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s ease all;
}
.submitBtn:hover{
    background-color: rgb(32, 32, 32);
   
}
.emptySpace{
    height: 0px;
}

.profileImage{
    height: 150px;
    width: 150px;
    border-radius: 150px;
    background-image: url(assets/profile.png);
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 5px;
    background-repeat: none;
    background-position: 45% 0%;
    background-size: 110%;
    margin-top: 40px;
    margin-bottom: 40px;
}


@media(max-width: 1920px){
    :root {
        --headerwidth: 1010px;
        --headerLineWidth: 1001px;
        --width: 1000px;
    }
}
@media(max-width: 1280px){

    :root {
        --headerwidth: 810px;
        --headerLineWidth: 801px;
        --width: 800px;
    }

    
}
@media(max-width: 1024px){

    :root {
        --headerwidth: 710px;
        --headerLineWidth: 701px;
        --width: 700px;
    }
    .projectDescription{
        max-width: 650px;
        
    }

    .aboutSection{
        min-height: 380px;
    }

    
}
@media(max-width: 800px){

    :root {
        --headerwidth: 610px;
        --headerLineWidth: 601px;
        --width: 600px;
    }
    .projectDescription{
        max-width: 640px;
        
    }
    .aboutSection{
        min-height: 420px;
    }
    html, body {
     overflow-x: hidden;
    }
}

@media(max-width: 600px){

    :root {
        --headerwidth: 510px;
        --headerLineWidth: 501px;
        --width: 500px;
    }
    .projectDescription{
        max-width: 480px;
    }
}


@media(max-width:500px){

    * {
        -webkit-tap-highlight-color: transparent;
      }
    
      ::selection {
        background-color: transparent; 
        color: inherit;
      }
      
      /* For WebKit-based browsers (Chrome, Safari, iOS) */
      ::-webkit-selection {
        background-color: transparent;
        color: inherit;
      }

    :root {
        --headerwidth: 360px;
        --headerLineWidth: 351px;
        --width: 349px;
    }
    html, body {
     overflow-x: hidden;
    }
    

    .navItem{
        font-size: 0.8rem;
    }
    
    .directoryHolder{
        font-size: 0.8rem;
    }

    .hero{
        margin: 40px 0 0 5px;
        height: 350px;
        width: var(--width);
    }
    .hero h1{
        font-size: 2.168rem;
        
    }
    
    .hero h2{
        margin-top: 5px;
        font-size: 1.268rem;
    }
    
    p{
        font-size: 0.8rem;
        width: 320px;
        margin-top: 20px;
        line-height: 1.2rem;
        letter-spacing: 0.02rem;
        color: rgb(173, 173, 173);
    }
    
    .links{
        margin-top: 20px;
        gap: 7px;
    }
    
    .links i{
        font-size: 1.7rem;
    }


    /* Project Section */

    .ProjectSection{
        width: var(--width);
        height: 540px;
    }
    .ProjectSection h1{
        font-size: 2.168rem;
        
        margin-bottom: 25px;
    }

    .ProjectSection span{
        font-size: 0.8rem;
        display: none;
        
        bottom: 0px;
    }
    
    .ProjectSection span:hover{
        margin-left: 0px;
    }
    .ProjectSection span::after{
        content: "";
    }
    .ProjectSection span:hover::after{
       right: -15px;
       opacity: 1;
    }
    
    .projectNo{
        margin: 10px 0 5px 10px;
        font-size: 0.8rem;
    }
    
    
    .projectYear{
        font-size: 0.8rem;
    }
    
    .projectTitle{
        font-size: 0.95rem;
        margin-top: 2px;
        margin-left: 10px;
    }
    
    .projectDescription{
        font-size: 0.75rem;
        margin: 5px 0 5px 10px;
        line-height: 1.2rem;
        max-width: 320px;
        
        
    }
    
    .projectHolder{
        background-color: rgb(37, 37, 37);
        border-radius: 5px;
        padding-top: 1px;
        margin-bottom: 10px;
        opacity: 1;
    }
    
    .projectHolder:hover{
        
        cursor: pointer;
        opacity: 1 ;
    }
    
    .projectWrapper:hover .projectHolder:not(:hover){
        opacity: 0.5;
    }

   


    /* Experience Section */

    .experienceSection{
        min-height: 445px;    
    }
    
    .experienceSection h1{
        font-size: 2.168rem;
        margin-bottom: 35px;
    }
    
    .jobTitle{
        font-size: 1rem;
        margin-top: 2px;
    }
    .jobTitle span{
        margin-top: 5px;
        font-size: 0.8rem;
       
    }
    .jobTitle:nth-child(2){
        font-size: 0.8rem;
        margin-top: 5px;
    }
    
    .jobYear{
        position: absolute;
        top: 0;
        right: 0;
        margin-top: 5px;
        font-size: 0.7rem;
        color: rgb(160, 160, 160);
        
    }
    
    .jobAchivement{
        /* font-size: 0.8rem;
        max-width: 340px;
        margin: 0 0 5px 0;
        line-height: 1.2rem; */

        font-size: 0.8rem;
        margin: 5px 0 5px 5px;
        line-height: 1.2rem;
        width: 340px;
    }
    .jobAchivement li{
        margin: 0 0 5px 0;
    }
    
    .jobAchivement ul{
        /* list-style: none; */
        padding-left: 11px;  
    }
    
    .lispace{
        height: 5px;
    }
    
    .experienceHolder hr{
        height: 1px;
    }

    /* EDUCATION SECTION */

.educationSection{
    min-height: 330px;    
}

.educationSection h1{
    font-size: 2.168rem;
    margin-bottom: 35px;
}

.educationHolder{
    margin-bottom: 30px;
}

.eduTitle{
    font-size: 1rem;
    font-weight: 400;
    margin-top: 2px;
    display: flex;
    justify-content: space-between;
}
.eduTitle span{
    margin-top: 5px;
    font-size: 0.7rem;
    padding: 0;
}

.eduCollege{
    font-size: 0.8rem;
    margin-top: 4px;
}

.eduCollege span{
    display: none;
}

.eduGradeMobile{
    margin-top: 4px;
    font-size: 0.8rem;
    display: block;
}

.eduDegree{
    font-size: 0.8rem;
    font-weight: 400;
    margin: 5px 0 5px 0;
    color: rgb(160, 160, 160);
    line-height: 1.2rem;
}

/* About */

.aboutSection{
    min-height: 400px; 
}

.aboutSection h1{
    font-size: 2.168rem;
    margin-bottom: 25px;
}

.aboutHolder h3{
    font-size: 0.8rem;
    margin-bottom: 10px;
    max-width: 800px;
    letter-spacing: 0.02rem;
    line-height: 1.2rem;
    
}

.emailSection{
    height: 640px;
    display: flex;
    justify-content: start;
    align-items: start;
    width: 100%;
    flex-direction: column;
    gap: 20px;
}

.emailSection h2{
   margin-left: 4px;
}

.profileImage{
    height: 100px;
    width: 100px;
    border-radius: 100px;
}

.input{
    height: 50px;
    width: 349px;
    margin-left: 5px;
    font-size: 0.8rem;
    padding-left: 5px;
}

.emailTextArea{
    width: 349px;
    height: 300px;
    margin-left: 5px;
    font-size: 0.8rem;
   
}

.submitBtn{
    height: 50px;
    width: 349px;
    margin-left: 5px;
    font-size: 0.8rem;
}

.emptySpace{
    height: 0px;
}
.objectIni{
    margin: 0;
}
.objectIni .tab{
    visibility: hidden;
}

.aboutHolder h2{
    font-size: 0.8rem;
    margin-bottom: 2px;
    letter-spacing: 0.02rem;
    line-height: 1.2rem;
}

.objectCode{
    margin-bottom: 40px;
}




}

@media(max-width:360px){
    :root {
        --headerwidth: 330px;
        --headerLineWidth: 321px;
        --width: 320px;
    }

   
    .projectDescription{
        font-size: 0.8rem;
        margin: 5px 0 5px 10px;
        line-height: 1.2rem;
        max-width: 300px;
        
    }

    .emailSection{
        height: 690px;
        width: 100%;

    }

    .input{
        height: 50px;
        width: 320px;
    }
    
    .emailTextArea{
        width: 320px;
        height: 320px;
       
    }
    
    .submitBtn{
        height: 50px;
        width: 320px;
    }

}
