:root {
  --bg-color: #141414;
  --dark-color: #979898;
  --border-color: #606262;
  --text-secendary-color: #EBEBEB;
  --text-color: #FFFFFF;
}


* {
  padding: 0; 
  margin: 0;
  /*outline: 1px solid red;*/
  box-sizing: border-box;
  color: white; 
} 

button, .btns, .blog-btn, .icon-btn {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  cursor: pointer;
} 




/* 1️⃣ Disable selection + tap highlight for EVERYTHING except form fields */
* {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

/* 2️⃣ Allow selection inside form fields */
input, textarea {
  user-select: text;
  -webkit-user-select: text;
  -ms-user-select: text;
  -moz-user-select: text;
}

/* 3️⃣ Remove blue outline on click for all elements (keep for keyboard users) */
*:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
} 




/* 1️⃣ Disable text selection & mobile tap highlight globally for interactive things */
button, a, [role="button"], [class*="btn"], [class*="icon"], 
.material-symbols-rounded, svg, i {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}

/* 2️⃣ Remove focus outline only on mouse click (keep for keyboard users) */
button:focus:not(:focus-visible),
a:focus:not(:focus-visible),
[class*="btn"]:focus:not(:focus-visible),
[class*="icon"]:focus:not(:focus-visible),
.material-symbols-rounded:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}


html, body{
  height: 100%; 
  margin: 0;
}

body {
  height: 100%; 
  width: 100%;
  background-color: var(--bg-color);
  font-family: "Darker Grotesque", sans-serif;
  font-weight: 600;
  overflow-x: hidden;
  box-sizing: border-box;
  display: flex; 
  flex-direction: column;
}

.header_wraper {
  padding-right: 2.1rem;
  height: 3rem;
  display: flex; 
  align-items: center;
  padding-left: 2.1rem;
  padding-top: 2.8rem; 
  padding-bottom: 2.8rem; 
  padding-right: 2.1;
}

.web_body{
  flex: 1; 
  margin-bottom: 7rem;
}

#logo{
  text-decoration: none;
  text-align: center;
  color: var(--text-color);
  font-size: 2.6rem;
  font-weight: 700;
  overflow: hidden;
  margin-bottom: .7rem;
}

/* #git {
  margin-left: auto; 
} */

#sun {
  font-size: 2.5rem;
  color: white;
  vertical-align: middle;
  margin-left: auto;
  /* padding-right: 2.1rem;  */
  padding-top: auto; 
  padding-bottom: auto; 
  cursor: pointer;
} 


.spin {
  animation: spin360 0.8s ease-in-out forwards;
}

@keyframes spin360 {
  from { transform: rotate(0deg) scale(1); }
  to   { transform: rotate(360deg) scale(1.1); }
}

#title {
  font-size: 3.3rem; 
  line-height: 0.9;
  color: var(--text-color); 
  font-weight: 660; 
  margin-top: 7.6rem;
}

#greet{
  line-height: 0.9; 
  color: var(--text-secendary_color); 
  font-size: 3.0;
}

.social {
  color: var(--text-color); 
  margin-top: 8rem; 
  margin-bottom: 7rem; 
}

.social2{
  margin-top: 2rem; 
  margin-left: .5; 
  margin-right: .5rem; 
  margin-bottom: .8rem;
  display: flex; 
  justify-content: flex-start;
}

.social a{
  height: 100%; 
  width: 100%;
}

.social2 a{
  height: auto; 
  width: auto;
  margin-right: 1rem; 
  text-decoration: none; 
  overflow: hidden;
}

.social i{
  display: inline-flex; 
  justify-content: center; 
  align-items: center; 
  width: 2.5rem; 
  margin-right: 1rem;
}

.social2 i{
  display: flex; 
  justify-content: center; 
  align-items: center; 
  width: 2.5rem;
}

.fa-telegram{
  color: #cecece; 
  border: 2px solid var(--border-color);
  font-size: 1.7rem; 
  height: 2.5rem; 
  border-radius: 50%;
}

.fa-telegram:hover{
  color: white; 
  border: 2px solid white;
}

.fa-discord{
  color: #cecece; 
  border: 2px solid var(--border-color);
  font-size: 1.7rem; 
  height: 2.5rem; 
  border-radius: 50%;
}

.fa-discord:hover{
  color: white; 
  border: 2px solid white;
}

.fa-github{
  color: #cecece; 
  border: 2px solid var(--border-color);
  font-size: 1.7rem; 
  height: 2.5rem; 
  border-radius: 50%;
}

.fa-github:hover{
  color: white; 
  border: 2px solid white;
}

#comma{
  font-size: 2.8rem;
}

#comma-first{
  font-size: 2.8rem;
}

.first_page_wrapar{
  padding-right: 2.1rem; 
  padding-top: 2.8rem; 
  padding-bottom: 2.8rem; 
  padding-left: 2.2rem;
}

.kills_wraper{
  padding-right: 2.1rem; 
  padding-top: 2.8rem; 
  padding-bottom: 2.8rem; 
  padding-left: 2.2rem;
}

.about{
  padding-right: 2.1rem; 
  padding-top: 7rem; 
  /* padding-bottom: 2.8rem; */
  padding-left: 2.2rem;
}

.about img{
  height: 190px; 
  width: 190px;
  display: block; 
  margin-left: auto; 
  margin-right: auto;
  box-shadow: 2px 2px 2px black;
}

.about h3{
  margin-top: .5rem;
  font-size: 1.5rem;
  color: var(--dark-color); 
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.about p{
  font-size: 1.3rem; 
  font-weight: 700;
}

.link-card {
    display: block; 
    margin: 0;
    padding: 0;
    display: block;
    text-decoration: none; 
}

.postCard {
    margin-top: 16rem;
    /*padding: 2rem;*/
}

.pin {
    border: 1px solid white; 
    border-radius: 22rem; 
    padding: .3rem 1rem;
}



.postCard h3{
    font-size: 3rem; 
    color: white; 
    font-weight: 800; 
    line-height: 2.8rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.date {
    font-size: 1.1rem; 
    font-family: 'Geist Mono', sans-serif; 
    color: #d6c9c9;
    font-weight: 300;
}

.shortDescribtion {
    margin-top: 2rem;
    font-size: 1.3rem; 
    font-weight: 650;
    line-height: 1.6rem;
    font-family: 'Darker Grotesque', 'Geist Mono';
}

.link-card {
    padding-right: 2.1rem; 
    padding-top: .1rem; 
    padding-bottom: 2.8rem; 
    padding-left: 2.2rem;
}

.icon{
  margin: 0; 
  padding: 0;
  color: black; 
}

.btn-more-blogs {
  padding-right: 2.1rem; 
  padding-top: 2.4rem; 
  padding-bottom: 2.4rem;  
  padding-left: 2.2rem;
}

.blog-btn #btn-text{
  font-size: 1.7rem; 
  line-height: 1;
  margin: 0; 
  color: black; 
  font-weight: 400;
  
}

.blog-btn{
  display: inline-flex; 
  gap: 1.5rem;
  margin-top: 2.8rem; 
  background-color: white; 
  padding-left: 1.2rem; 
  padding-right: 1.2rem; 
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
  align-items: center; 
  border-radius: 30rem;
  box-sizing: border-box; 
  border: 2px solid white; 
  cursor: pointer;
}

.blog-btn:hover{
  background-color: transparent; 
  border: 2px solid white; 
}

.blog-btn:hover #btn-text{
  color: white;
}

.blog-btn:hover .icon{
  color: white;
}


.skills_wraper{
  margin-top: 14rem; 
  margin-bottom: 9rem; 
  margin-left: 2.2rem; 
  margin-right: 2.2rem;
}

#skills{
  font-size: 4rem;
  font-weight: 900;
}

.lang_wraper svg{
  background-color: white;
}

.lang_wraper{
  display: flex; 
  flex-direction: row; 
  flex-wrap: wrap;
  gap: .5rem;
}

.python-icon{
  fill: #3776AB;
  height: 2rem; 
  width: 2rem; 
  overflow: hidden; 
  text-decoration: none;
}

.ffmpeg-icon{
  fill: #007808; 
  height: 2rem; 
  width: 2rem;
  overflow: hidden; 
  text-decoration: none;
}

.css-icon{
  fill: #663399; 
  height: 2rem; 
  width: 2rem; 
  overflow: hidden; 
  text-decoration: none;
} 

.html-icon{
  fill: #E34F26; 
  height: 2rem; 
  width: 2rem; 
  overflow: hidden; 
  text-decoration: none;
} 

.js-icon{
  fill: #F7DF1E; 
  height: 2rem; 
  width: 2rem; 
  overflow: hidden; 
  text-decoration: none;
} 

.firebase-icon{
  fill: #DD2C00; 
  height: 2rem; 
  width: 2rem; 
  overflow: hidden; 
  text-decoration: none;
} 

.mongodb-icon{
  fill: #47A248; 
  height: 2rem; 
  width: 2rem; 
  overflow: hidden; 
  text-decoration: none;
} 

.git-icon{
  fill: #F05032; 
  height: 2rem; 
  width: 2rem; 
  overflow: hidden; 
  text-decoration: none;
} 

.github-icon{
  fill: #181717; 
  height: 2rem; 
  width: 2rem; 
  overflow: hidden; 
  text-decoration: none;
} 

.koyeb-icon{
  fill: #121212; 
  height: 2rem; 
  width: 2rem; 
  overflow: hidden; 
  text-decoration: none;
} 

.render-icon{
  fill: #000000; 
  height: 2rem; 
  width: 2rem; 
  overflow: hidden; 
  text-decoration: none;
} 

.vercel-icon{
  fill: #000000; 
  height: 2rem; 
  width: 2rem; 
  overflow: hidden; 
  text-decoration: none;
} 

.SubtitleEdits-icon{
  fill: #CC2424; 
  height: 2rem; 
  width: 2rem; 
  overflow: hidden; 
  text-decoration: none;
} 



.circle-style{ 
  height: 3rem; 
  width: 3rem; 
  padding: 0.45rem; 
  border-radius: 30rem;
}

hr{
  border: none; 
  margin-top: 1rem; 
  margin-bottom: 7rem;
  border-radius: 30rem; 
  height: 2px; 
  background-color: white;
}

.sec_page_wraper{ 
    margin-top: 14rem;
  padding-right: 2.1rem; 
  padding-top: 2.8rem; 
  padding-bottom: 2.8rem; 
  padding-left: 2.8rem;
}

#projects{
  font-size: 4rem; 
  font-weight: 900;
}

.card1 h3{
  text-align: center; 
  font-size: 4.4rem; 
  font-weight: 600;
}

.card1 p{
  font-size: 1.4rem; 
  margin-top: 1rem;
  color: white;
}

.btns-wraper{
  display: flex; 
  flex-direction: column; 
  align-items: flex-start; 
  gap: .8rem;
  margin-top: 4rem; 
}

.card1 #repo{
  font-size: 1.3rem; 
  font-weight: 500;
  padding: .3rem 1rem; 
  border: 1px solid white; 
  border-radius: 30rem; 
} 

.btns-wraper a{
  text-decoration: none;
}

.card1 #livedemo { 
  color: black;
  font-size: 1.3rem; 
  font-weight: 500;
  padding: .3rem 1rem; 
  background-color: white;
  border: 1px solid white; 
  border-radius: 30rem; 
}

strong{
  font-weight: 700;
}

#repo:hover{
  background-color: white; 
  color: black;
}

#livedemo:hover{
  color: white; 
  background-color: transparent;
}

.sec_page_wraper hr{
  border: none; 
  margin-top: 3rem; 
  margin-bottom: 1rem;
  border-radius: 30rem; 
  height: 2px; 
  background-color: white;
}



.project-btn:hover{
  background-color: transparent; 
  border: 2px solid white; 
}

.project-btn:hover #btn-text{
  color: white;
}

.project-btn:hover .icon{
  color: white;
}

.project-btn #btn-text{
  font-size: 1.7rem; 
  line-height: 1;
  margin: 0; 
  color: black; 
  font-weight: 400; 
  text-decoration: none;
}

.project-btn{
  display: inline-flex; 
  gap: 1.5rem;
  margin-top: 0.8rem; 
  background-color: white; 
  padding-left: 1.2rem; 
  padding-right: 1.2rem; 
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
  align-items: center; 
  border-radius: 30rem;
  box-sizing: border-box; 
  border: 2px solid white; 
  cursor: pointer;
}

.project-btn:hover{
  background-color: transparent; 
  border: 2px solid white; 
}

.project-btn:hover #btn-text{
  color: white;
}

.project-btn:hover .icon{
  color: white;
}


footer p{
  color: var(--border-color); 
  font-size: 1.4rem; 
}

#email{
  color: var(--border-color); 
  font-size: 1.7rem; 
  text-decoration: none;
}

#comma {
  color: var(--border-color);
}
#comma-first {
  color: var(--border-color);
}

footer {
  border-top: 1px solid var(--border-color); 
  border-radius: 30rem;
  padding-right: 2.1rem; 
  padding-top: 2.8rem; 
  padding-bottom: 2.8rem; 
  padding-left: 2.2rem;
}

#email:hover{
  color: white; 
}









/* --- Tablet Section --- */
@media (min-width: 768px) {
  .about {
    display: flex;
    align-items: flex-start;
    gap: 3rem; /* space between image and text */
  }
  .about img {
    margin: 0; /* remove auto centering */
  }
  .about h3,
  .about p,
  .blog-btn {
    flex: 1; /* make text & button take remaining space */
  }
  .blog-btn {
    margin-top: 2.5rem; /* reduce top spacing */
  }

/* --- Projects card buttons side by side --- */
  .card1 h3 {
    text-align: left; /* Tuba title left aligned */
  }
  .btns-wraper {
    flex-direction: row; /* buttons horizontal */
    gap: 1rem;
    align-items: center;
  }
/* --- Footer wrap horizontal --- */
  footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    padding: 2rem;
  }
  footer p,
  .social2 {
    display: flex;
    gap: 1rem;
    align-items: center;
  }
  #email {
    margin-top: 0;
  }

 /* remove the comma at the footer social last  */
  #comma {
    display: none;
  }

  .header_wraper{
    padding-left: 5rem;
    padding-top: 7rem; 
    padding-bottom: 7rem; 
    padding-right: 5rem;
  }

  #logo{
    font-size: 3.4rem;
  }

  #sun{
    font-size: 2.9rem;
  }

  .first_page_wrapar{
    margin: 25rem 0;
  }

  #title{
    font-size: 8rem;
  }

  #greet{
    font-size: 2rem; 
    margin-top: 2rem;
  }

  .social{
    text-align: center; 
    margin-top: 35rem;
  }

  .about{
    padding-top: 20rem; 
    padding-bottom: 50rem;
    align-items: center;
  } 

  .about img{
    margin-right: 4rem; 
    height: 18rem; 
    width: 18rem;
  }


  #skills{
    font-size: 8rem; 
  } 

  #projects{
    font-size: 8rem;
  }

  .lang_wraper{
    display: flex; 
    flex-wrap: wrap;
    gap: 1rem;
  }

  .lang_wraper svg.circle-style {
    height: 6rem; 
    width: 6rem;  
    margin-right: 0.5rem;
  }
  strong{
    font-size: 2rem;
  }
  .card1 h3{
    font-size: 5rem;
  } 
  .card1 p{
    font-size: .7rem;
  }

}

/* PC / large screens */
/* @media (min-width: 1024px ) */
@media (min-width: 1024px ) {
    .about {
    display: flex;
    align-items: flex-start;
    gap: 3rem; /* space between image and text */
  }
  .about img {
    margin: 0; /* remove auto centering */
  }
  .about h3,
  .about p,
  .blog-btn {
    flex: 1; /* make text & button take remaining space */
  }
  .blog-btn {
    margin-top: 2.5rem; /* reduce top spacing */
  }

/* --- Projects card buttons side by side --- */
  .card1 h3 {
    text-align: left; /* Tuba title left aligned */
  }
  .btns-wraper {
    flex-direction: row; /* buttons horizontal */
    gap: 1rem;
    align-items: center;
  }
/* --- Footer wrap horizontal --- */
  footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    padding: 2rem;
  }
  footer p,
  .social2 {
    display: flex;
    gap: 1rem;
    align-items: center;
  }
  #email {
    margin-top: 0;
  }

 /* remove the comma at the footer social last  */
  #comma {
    display: none;
  }
  #title{
    font-size: 10rem;
  }

  #greet{
    font-size: 2rem; 
    margin-top: 2rem;
  }

   .first_page_wrapar{
    margin: 4rem 0;
  }

  #title{

  } 

  .social{
    text-align: left; 
    margin-top: 5rem;
  }

  .about{
    padding-top: 20rem; 
    padding-bottom: 20rem;
    align-items: center;
  }

  #projects{
    margin-top: 10rem;
  }

  /* working for pc go on and nexus phone is usng the pc reso */
  strong{
    font-size: 2rem;
  }

  .card1 p{
    font-size: 1.7rem;
  }



}