
[title]{
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    transition: all 5ms ease-in;
}

*{
    background-color: #121212;
    margin: 0;
    padding: 0;
    scrollbar-width: thin;
    scroll-behavior: smooth;
    scrollbar-color: #FFEC45 #000000;
}

body {
    margin: 0;
    overflow: hidden; /* Prevent scrolling initially */
}

anim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    animation: matrix-fade-out 5s forwards;
}

canvas {
    display: block;
}

.main-content {
    display: none;
    opacity: 0;
    animation: content-fade-in 5s forwards;
}

@keyframes matrix-fade-out {
    0% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        display: none;
    }
}

@keyframes content-fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
        display: block;
    }
}




.pageScrollPercentage{
    position: fixed;
    top: 10px;
    left: 10px;
    padding: 3px;
    width: fit-content;
    height: fit-content;
    color: #FFEC45;
    color: #000000;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 600;
    text-shadow: 0px 0px 5px #FFEC45;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    box-sizing: border-box;
    box-shadow: #ffef63 0px 0px 20px;
    border-radius: 5px;
    background: linear-gradient(to right, #FFEC45 , #f5a80d);
    opacity: 0.8;
    
}

.heroName-container {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    box-sizing: border-box;
    background-color: transparent;
    /* padding: 20px; */
    width: 90vw;
    /* border: 2px solid red; */
    margin-left: auto;
    margin-right: auto;
}
  
  /* Left Section Styling */
  
  .heroName-left-text-div {
    margin-bottom: 20px;
    text-align: center;
  }
  
  .heroName-left-text-name {
    font-size: 3.2rem;
    font-weight: bold;
    color: #FFEC45;
    margin: 0;
  }
  
  .heroName-left-text-collegeName {
    font-size: 1.6rem;
    margin: 5px 0;
    color: #0041CA;
  }
  
  .heroName-left-skill-div {
    margin-top: 20px;

    width: fit-content;
  }
  
  .heroName-right-skill {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FFEC45;
    margin: 10px 0 5px;
  }
  
  .heroName-right-about {
    font-size: 1rem;
    color: lightyellow;
    margin: 0 0 15px;
    line-height: 1.5;
  }
  
  /* Right Section Styling */
  .heroName-right {
    display: flex;
    width: fit-content;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    /* border: 2px solid red; */
  }
  
  

.heroName-right-img {
    width: 30vw;
    object-fit: cover;
    margin-left: 6vw;
    /* border: 2px solid red; */

}



/* about section  */

.heroAbout{
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.heroAbout-title{
    color: white;
    text-align: center;
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 3vh;
    
}
.heroAbout-text{
    font-size: 1.6rem;
    line-height: 2.1rem;
    color: white;
    text-align: justify;
    width: 90vw;
    box-sizing: border-box;
}
custom{
    background: linear-gradient(to right, #FFEC45, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

}
custom2{
    color: #2e6aea;
    text-shadow: #0f56f1 0 0 3px;
}
.youtube{
    text-decoration: none;
    background: linear-gradient(to right, #ff3860, #ff0000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.youtube:hover{
    text-decoration: none;
    background: linear-gradient(to right, #ff5879, #ff2d2d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* language cards */



.languages{
    /* border: 1px red solid; */
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    width: 95vw;
    height:max-content;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.lang-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 7rem;
    /* border: 2px solid red; */
    width: 95vw;
    height: fit-content;
    margin-top: 2vh;
    padding-bottom:10px ;


}

.languages-text{
    text-align: center;
    font-size: 4rem;
    color: white;
    margin-bottom: 4vh;
    margin-top: 3vh;
}



.lang-icon{
    color:#FFEC45;
    font-size: 5rem;
    margin: 0;
    overflow: hidden;
}

.lang-cards-name{
    font-size: 2.1rem;
    margin: 0;
    font-weight: 600;
    color: white;
    margin-top: 1vh;
}
.star-icon{
    color: white;
    font-size: 2rem;
    margin: 0;
    margin-left: 0.25vh;
    margin-right: 0.25vh;

}
.lang-cards-rating{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1vh;
}

.lang-cards{
    display: flex;
    flex-direction: column;
    border: 1px solid white;
    width: 18vw;
    height: 18vw;
    justify-content: center;
    align-items: center;
    border-radius: 2rem;
    transition: all ease-in-out 0.2s;
    margin-top: 1vh;
}

.lang-cards:hover{
    transform: scale(1.02);
    transition: all ease-in-out 0.2s;
}

  

/* education section */

.education{
    /* border: 2px solid red; */
    width: 95vw;
    height: fit-content;
    box-sizing: border-box;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: white;
}
.edu-title{
    text-align: center;
    color: white;
    font-size: 4rem;
    margin-top: 4vh;
    margin-bottom: 4vh;
}
.edu-container{
    /* border: 2px solid green; */
    box-sizing: border-box;
    display : flex;
    flex-direction : column;
    justify-content : center;
    align-items : center;
}
.edu-card{
    width: 80vw;
    display : flex;
    flex-direction : row;
    align-items : center;
    padding: 30px;
    box-sizing: border-box;
    border: #FFEC45 2px solid;
    border-radius: 2rem;
    margin-top: 4rem;
    height: 20rem;
    
}
.edu-card-right{
    display : flex;
    flex-direction : column;
    justify-content : center;
    /* align-items : center; */
    /* border: 2px solid aqua; */
    width: calc(100% - 30vw);
    /* padding: 15px; */
    margin-left: 2rem;
}
.edu-card-img{
    width: 30vw;
    box-sizing: border-box;
    border-radius: 4px;
    border-image: linear-gradient(to right, #FFEC45, #f78a30) 2;
    border-width: 4px;
    border-style: solid;
    
    
}
.edu-card-name {
    text-align: center; /* Adjust alignment as needed */
    font-size: 2rem; /* Adjust size as needed */
    font-weight: 500;
    background: linear-gradient(to right, #FFD700, #FFA500); /* Gold to orange gradient */
    -webkit-background-clip: text; /* Clips the gradient to text */
    -webkit-text-fill-color: transparent; /* Makes gradient visible */
    transition: all 0.5s ease; /* Smooth transition effect */
}

.edu-card-ongoing{
    margin-top: 1rem;
    height: fit-content;
    width: fit-content;
    padding: 7px;
    border-radius: 5px;
    text-align: center;
    font-weight: 700;
    color: black;
    background : linear-gradient(to right, #FFEC45, #ffa836);
}
.edu-card-location{
    color: #FFEC45;
    font-size: 1.3rem;
    margin-top: 1rem;
    display : flex;
    flex-direction : row;
    align-items : center;
}
.edu-card-location i{
    margin-right: 0.5rem;
}
.edu-card-details{
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
}

.not-ongoing{
    margin-top: 3rem;
}

    

/* projects section */

.projects{
    margin-top: 5rem;
    /* border: 2px solid red; */
    width: 95vw;
    height: fit-content;
    box-sizing: border-box;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: white;
    display : flex;
    flex-direction : column;
    justify-content : center;
    align-items : center;
}
.projects-title{
    text-align: center;
    color: white;
    font-size: 4rem;
    margin-top: 4vh;
    margin-bottom: 4vh;
    /* border: 2px solid aqua; */
}
.projects-container{
    /* border: 2px solid green; */
    box-sizing: border-box;
    display : flex;
    flex-direction : row;
    justify-content : center; 
    align-items : center;
    width: 90vw;
    flex-wrap: wrap;
    /*row-gap: 2rem;*/
}

.proj-card{
    width: fit-content;
    min-width: 10vw;
    display : flex;
    flex-direction : row;
    justify-content: space-between;
    padding-left: 8px;
    padding-right: 8px;
    align-items : center;
     box-sizing: border-box; 
    border: #6d28d9 2px solid;
    height: 3rem;
    /* border: #698F40 1px solid; */
    /* border: #FFEC45 1px solid; */
    border-radius: 2rem;
    margin-right: 2rem;
    margin-top: 15px;

}
.proj-card a{
    text-decoration: none;
    height: 5px;
    width: 5px;
    margin-left: 1rem;
}

.proj-card-name{
    /* color: #FFEC45; */
    color: white;
    font-size: 1.3rem;
    text-align: center;
    font-weight: 400;
    width: fit-content;
    height: fit-content;
    margin-left: .4rem;
    /* margin-left: .4rem; */
}
.proj-card i{
    font-size: 1.5rem;
    color: white;
}

.proj-card i:hover{
    color: #b794f4;
}
custom4{
    color: #ffbf00;
    text-shadow: #ffbf00 0px 0px 3px;
}


/* socials handles */

.socials{
    margin-top: 5rem;
    /* border: 2px solid red; */
    width: 95vw;
    height: fit-content;
    box-sizing: border-box;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: white;
    display : flex;
    flex-direction : column;
    justify-content : center;
    align-items : center;
    transition: background 0.5s ease, -webkit-background-clip 0.5s ease, color 0.5s ease;

}
.socials-title {
    text-align: center;
    color: white; /* Initial visible text color */
    font-size: 4rem;
    margin-top: 4vh;
    margin-bottom: 4vh;

    /* Transition for smooth hover effect */
    transition: color 0.5s ease-in-out, background 0.5s ease-in-out, -webkit-background-clip 0.5s ease-in-out;
}

.socials-title:hover {
    color: transparent; /* Make text transparent to show gradient */
    background: linear-gradient(to right, yellow, orange); /* Gradient effect */
    -webkit-background-clip: text; /* Clips the gradient to the text */
    -webkit-text-fill-color: transparent; /* Ensures only gradient is visible */
    cursor:default;
}




.socials-container{
    /* border: 2px solid green; */
    box-sizing: border-box;
    display : flex;
    flex-direction : row;
    justify-content : center;
    align-items : center;
    width: 90vw;
    flex-wrap: wrap;
    row-gap: 2rem;
}

.social-icon{
    /* color: #6d28d9; */
    font-size: 3rem;
    margin: 2rem;
}

.social-handles-container a{
    text-decoration: none;
}
.linkedin:hover{
    color: #0B66C2;
    transition: all 0.2s ease-in-out;
    text-shadow: #0B66C2 0px 0px 3px;
}
.github:hover{
    color: #F0F6FC;
    transition: all 0.2s ease-in-out;
    text-shadow: #F0F6FC 0px 0px 3px;
}
.twitter:hover{
    color: #E7E9EA;
    transition: all 0.2s ease-in-out;
    text-shadow: #E7E9EA 0px 0px 3px;
}
.youtubei:hover{
    color: #FF0032;
    transition: all 0.2s ease-in-out;
    text-shadow: #FF0032 0px 0px 3px;
}


hr{
    width: 97vw;
    height: 0.3vh;
    border-radius: 5rem;
    background: linear-gradient(to right , #FFEC45, #6d28d9);
    margin-top: 5rem;
    border: none;
}


/* media queries */

@media(max-width : 600px){
    /* main container  */
    .heroName-container{
        flex-direction: column-reverse;
    }
    .heroName-right-img{
        width: 60vw;
        margin-left: 0;
    }
    .heroName-right-skill{
        text-align: center;
    }
    .heroName-right-about{
        text-align: center;
    }

    /* about container  */
    .heroAbout-title{
        font-size: 2rem;
    }
    .heroAbout-text{
        font-size: 1.4rem;
        padding: 1.2rem;
    }

    /* languages section  */

    .lang-container{
        gap: 2rem;
    }
    .lang-cards{
        width: 8.5rem;
        height: 8.5rem; 
        border-radius: 1.2rem;
    }
    .lang-icon{
        font-size: 2.5rem;
    }
    .lang-cards-name{
        font-size: 1.5rem;
    }
    .star-icon{
        font-size: 1.2rem;
    }

    /* education section  */
    .edu-card{
        flex-direction: column;
        height: fit-content;
        justify-content: center;
        align-items: center;
    }
    .edu-card-img{
        margin-top: 2rem;
    }
    .edu-card-right{
        width: 70vw;
        margin-left: 0;
        margin-top: 2rem;
    }

    /* socials container  */
    .social-handles-container{
        text-align: center;
    }
    
}





  