@font-face{
    font-family : 'WorkSans';
    src : url(../fonts/WorkSans-Regular.ttf);
}

@font-face {
    font-family: 'WorkSans-SemiBold';
    src: url(../fonts/WorkSans-SemiBold.ttf)
}

:root{
    --main-color : ;
    --background-color: #ced6ce;
    --font-color: #d6d6d6;
    --font-family: 'WorkSans', sans-serif;
    --max-width: 1100px;
    --side-margin: auto;
    --bg-dark: #0a0a0a; 
    --grid-color: rgba(255, 255, 255, 0.03); /* Subtle grid lines */
      --bg: #0a0a0a;
  --bg2: #111111;
  --card: #161616;
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.15);
  --text: #f0f0f0;
  --text-mid: #9f9f9f;
  --text-soft: #7d7d7d;
  --white: #ffffff;

  /* project accents */
  --tarakshi: #832729;
  --tarakshi-s: #9C6B30;
  --tarakshi-bg: #FAF5EE;
  --vaccify: #5242D8;
  --vaccify-s: #9486FF;
  --limetta: #22C55E;
  --limetta-s: #423F3E;
}
.social-btn{
  border:1px solid rgba(255,255,255,0.4);
  padding: 10px 20px;
  border-radius:8px;display:flex;align-items:center;justify-content:center;
  color:var(--text-mid);text-decoration:none;font-size:13px;font-weight:500;
  transition:border-color .2s,color .2s,background .2s;
}
.social-btn:hover{border-color:rgba(255,255,255,0.3);color:var(--white);background:rgba(255,255,255,0.05);}

.play-store-button{
color:var(--text-mid);
text-decoration:none;font-size:13px;font-weight:500;
transition:border-color .2s,color .2s,background .2s;
padding: 8px 10px;
}
.play-store-button:hover{
  color:var(--white);
}

.social-btn-2{
  padding: 8px 20px;
  border:1px solid rgba(255,255,255,0.4);
  border-radius:8px;display:flex;align-items:center;justify-content:center;
  color:var(--text-mid);text-decoration:none;font-size:13px;font-weight:500;
  transition:border-color .2s,color .2s,background .2s;
}
.social-btn-2:hover{border-color:rgba(255,255,255,0.3);color:var(--white);background:rgba(255,255,255,0.05);}


.nav-resume{
  font-size:12px;font-weight:500;letter-spacing:0;text-transform:none;
  color:var(--white);text-decoration:none;
  border:1px solid rgba(255,255,255,0.25);
  padding:8px 18px;border-radius:999px;
  transition:background .2s,border-color .2s;
}
.nav-resume:hover{background:rgba(255,255,255,0.08);border-color:rgba(255,255,255,0.4);}

.pill-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,0.4);
  border-radius:999px;
  padding:10px 18px;
  color:var(--text-mid);
  text-decoration:none;
  font-size:13px;
  font-weight:500;
  line-height:1;
  transition:border-color .2s,color .2s,background .2s,transform .2s;
}
.pill-btn:hover{
  border-color:rgba(255,255,255,0.3);
  color:var(--white);
  background:rgba(255,255,255,0.05);
  transform:translateY(-1px);
}
.flex{
    display : flex;
}

.column{
    flex-direction: column;
}

.row{
    flex-direction: row;
}

.active, #nav-list a:hover{
    color: white !important;
}

p{
    margin: 0.5em 0;
}

body {
    letter-spacing: 0.04rem;
    font-family: var(--font-family);
    font-weight: 400;
    margin : 0;
    padding : 0;
    background-color:#0c0c0c;
    display: flex;
    flex-direction: column;
}

body *{
  font-family: var(--font-family) !important;
}
#contact{
  margin-bottom: 150px !important;
}
strong{
    color: white;
    font-weight: 600;
}


.align-center{
    align-items: center;
  }

/*Navigation Bar*/

nav, #footer{
    margin: 20px var(--side-margin) !important;
    justify-content: space-between;
    /* min-width: var(--max-width) !important; */
    max-width: var(--max-width) !important;
}

#home{
  margin-top: 80px !important;
}
.projects_spacing > div, .projects_spacing{
  margin-top: 80px;
}
section{
    margin: 100px var(--side-margin);
    justify-content: space-between;
    /* min-width: var(--max-width); */
    max-width: var(--max-width) !important;
}

#nav-list{
    gap: 35px;
    align-items: center;
}

#nav-list a{
    color: #9b9b9b;
    text-decoration: none;
}

#nav-name{
    text-decoration: none;
    color: #f8f8f8;
    font-size: 1.4rem;
    line-height: 1.9rem;
    font-weight: 600;
}
#drop-down{
    display: none;
}

#resume_download a{
    color: #e8e8e8;
    padding: 14px 20px;
    padding-right: 0px !important;
    text-decoration: none;
    border-radius: 10px;
    gap: 6px;
}
.ill-img{
  width: 100% !important; 
}
.outline-text {
    color: gray;
    -webkit-text-stroke:0;
    font-family: inherit;
    font-weight: 600;
  }

  .font-extrabold_white{
    font-weight: 600;
      -webkit-text-stroke: 0; 
  }
  .font-extrabold{
    -webkit-text-stroke: 0; 
    font-weight: 600;
  }
  #about_{
    color: white;
  }
  .text-5xl{
    font-size: 2.7rem !important;
    line-height: 1.3 !important;
    font-weight: 600;
  }
  
  #desc{
    line-height: 1.5;
    font-size: 0.9rem;
    color: #9b9b9b !important;
  }

  #redirections a{
    border: 1.5px solid black !important;
  }
.hero-bg-container {
    position: absolute;
    top: 0;
    /* Force-aligns the background to the exact left edge of the browser window */
    left: 50%;
    transform: translateX(-50%);
    
    /* Forces the background container to match the entire viewport screen width */
    width: 100vw; 
    height: 100%;
    
    overflow: hidden;
    z-index: 0; /* Keeps it behind text content layers */
    pointer-events: none; /* Prevents text selection bugs over the grid lines */
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, var(--grid-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
    background-size: 40px 40px;
    
    /* Centers the fade effect relative to the screen width */
    -webkit-mask-image: radial-gradient(circle at 50% 40%, black 30%, transparent 80%);
    mask-image: radial-gradient(circle at 50% 40%, black 30%, transparent 80%);
}

  /*Scroll bar*/
/* width */
::-webkit-scrollbar {
    width: 10px;
    height: 5px;
    display: none;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1; 
}

/* Handle */
::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: #888; 
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #555; 
  }

  .mb-12 {
    margin-bottom: 3.5rem !important;
 }
 #ongoing{
    border: 1px solid white;
 }

#sidebar ul li a span{
  color: gray !important;
  font-size: 16px;
}

#contact{
  color: #e8e8e8 !important;
}

input, textarea{
  color: black !important;
}

.loader {
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1.5s linear infinite;
  margin-right: 12px;
}
.acc{
  background-color: #57a7ddc2 !important;
}
.alert{
  display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
#resume_nav{
  display: none !important;
}

@media only screen and (max-width: 1150px){

  nav, footer, section{
    padding: 0px 50px !important;
  }
  nav{
    z-index: 99;
  }
}
@media only screen and (max-width: 1000px){

  #home > div{
    flex-direction: column-reverse !important;
  }
  #about_me > div{
    flex-direction: column !important;
    gap: 50px !important;
  }
  #about_me > div > div{
    width: 100% !important;
  }
  #about_ > div{
    text-align: center;
  }
  #home img{
    max-width: 65% !important;
  }
  #about_me img{
    max-width: 45% !important;
  }
  .work-head{
    flex-direction: column !important;
    gap: 5px;
    align-items: flex-start !important;
  }
  #contact > div{
    gap: 0px !important
  }
}


@media only screen and (max-width: 850px){

  #drop-down{
    display: flex;
  }
  #resume_div{
    display:none;
  }
  #resume_nav_list{
    display:flex !important;
  }
  #resume_download{
    transition: none !important;
    display: none;
    position: absolute !important;
    /* left: 30px; */
    /* bottom: 158px; */
    padding-left: 30px !important;
    top: 320px !important;
  }
  #nav-list, #resume_download{
      display: none;
      flex-direction: column;
      top: 80px;
      left: 0px;
      background: #232323;
      color: white !important;
      width: 100%;
      position: absolute;
      padding: 25px 0px;
      align-items: flex-start;
      transition: all ease-in-out 2s;
  }
  #nav-list a{
    margin-left: 50px !important;
  }
  #resume_nav{
    display: flex !important; 
  }
  #home img{
    max-width: 95% !important;
  }
  #about_me img{
    max-width: 68% !important;
  }
}

@media only screen and (max-width: 800px){
  .work-card{
    flex-direction: column !important;
    gap: 25px !important;
  }
  .word-card-out{
    padding: 1.1rem !important;
  }
  .work-card div{
    margin-left: 0px !important;
  }
}
@media only screen and (max-width: 767px){
  #redirect_links > div > p{
    text-align: left !important;
  }
}
@media only screen and (max-width: 500px){

  nav, footer, section{
    padding: 0px 30px !important;
  }
  #ham{
    height: 20px !important;
    width: 20px !important;
  }

  .text-5xl{
    font-size: 2.2rem  !important;
  }
  #personal_projects > div > div{
    padding: 0px !important;
  }
  #nav-list a {
    margin-left: 30px !important;
}
#resume_download{
  padding-left: 12px !important
}
}

/* Minimalist portfolio refresh */
:root{
  --bg: #0b0b0b;
  --bg2: #101010;
  --card: #141414;
  --border: rgba(255,255,255,0.09);
  --border-hover: rgba(255,255,255,0.18);
  --text: #f4f4f0;
  --text-mid: #a6a6a0;
  --text-soft: #70706b;
  --white: #ffffff;
  --font-family: 'WorkSans', 'Sora', sans-serif;
}

html{
  scroll-behavior: auto;
}

body{
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025), transparent 360px),
    var(--bg);
  color: var(--text);
  letter-spacing: 0;
  font-family: var(--font-family);
}

#about_{
  color: var(--text);
  font-weight: 600;
  font-size: 2.12rem;
  line-height: 1.08 !important;
}
#about_2{
  padding-top:10px; 
  font-size: 2rem;
}
#contact{
  margin-bottom: 150px !important;
}

#contact .text-5xl.font-bold{
  font-size: 2rem !important;
  line-height: 1.12 !important;
}
