@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');






body {
  background-color: rgb(12, 12, 12);
  display: flex;
  justify-content: center;
  font-family: "Public Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  overflow-x: hidden;
  margin: 0;
}
.main-container {
  width: 60%;
  max-width: 600px;
}
nav {
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  color: rgb(175, 175, 175);
}
nav a {
  text-decoration: none;
  color: rgb(221, 221, 221);
}
.h2-text {
  font-weight: 800;
  color: white;
  font-size: 1.5rem;
}
.link1:hover{
  color: white;
  transition-duration: 0.2s;
}
.dlink{
  transition-duration: 0.2s !important;
}
.dlink:hover{
  color: rgb(0, 0, 0) !important;
  transition-duration: 0.2s !important;
}

.link1{
  transition-duration: 0.2s;
}
.links {
  display: flex;
  gap: 15px;
}

.togle {
  cursor: pointer;
  color: rgb(221, 221, 221);
  display: flex;
}

.dark-mode {
  background-color: rgb(255, 255, 255);
  color: black; /* Background color for dark mode */
}
.maintext{
  color: rgb(15, 15, 15) !important; 
  
}
.lighttext{
  color: rgb(37, 37, 37) !important;
}
.lightb{
  background-color: rgb(37, 37, 37) !important;
  width: 2px !important;
  height: 2px !important;
}
.lightb2{
  background: rgba(0, 0, 0, 0.397) !important;
}

.pcard-d{  
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .03), 0 2px 4px rgba(0, 0, 0, .05), 0 12px 24px rgba(0, 0, 0, .05) !important;
  transition-duration: 0.2s !important;
}
.pcard-d:hover{  
  transition-duration: 0.2s !important;
  background-color: rgba(221, 220, 220, 0.541) !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .03), 0 2px 4px rgba(0, 0, 0, .05), 0 12px 24px rgba(0, 0, 0, .05) !important;
}
.badge{
  color: #737373 !important;
  background-color: #F2F2F2F2 !important;
}
.hhtml{
    filter: brightness(0) invert(0) !important; /* Turns the image white */

}
.lang-box:hover .hhtml{
    filter: none !important; /* Turns the image white */

}
.icon-white {
  color: white !important;
}

.icon-black {
  color: black !important;
}



.bi-sun{
  scale: 1.1 !important;
}
svg {
  width: 100px;
}
.lang-div {
  width: 100px;
  height: 100px;
  border: 1px solid white;
  border-radius: 8px;
  display: grid;
  place-content: center;
}
.profilecard {
  width: 100%;
  padding: 20px;
  border-radius: 8px;
  margin-top: 40px;
  gap: 20px;
  padding-left: 0;
  display: flex;
  align-items: center;
}
.pfpinfo {
  border: 3px solid rgb(78, 78, 78);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  width: 80px;
}
.pfp {
    border-radius: 50%;
    width: 100%;
}
.pfpinfo:hover .deco {
    display: flex;
}
.deco{
    position: absolute;
    width: 100px;
    display: none;
    transition-delay: 3s;
}
.name {
  font-size: 1.3rem;
  color: white;
  font-weight: 700;
  margin-bottom: 10px;
}
.location i {
  color: white;
}
.location {
  font-weight: 400;
  color: rgb(136, 136, 136);
}
.info {
  color: rgb(223, 223, 223);
}
.info {
  display: flex;
  flex-direction: column;
  font-weight: 400;
}
.info3 {
  margin-bottom: 20px;
}
.langusge {
  color: rgb(255, 255, 255);
  margin-top: 20px;
}
.lang-list {
  display: grid;
  margin-top: 20px;
  margin-bottom: 20px;
  grid-template-columns: repeat(4, 1fr); /* Creates 4 columns of equal width */
  grid-template-rows: repeat(2, auto); /* Creates 2 rows */
}
.lang-box {
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition-duration: 0.9s;
}
.lang-box i {
  color: white;
  font-size: 3.5rem;
  margin-top: 10px;
  margin-bottom: -15px;
  transition: color 0.5s ease, margin 0.5s ease, transform 0.9s ease; /* Smooth transition for all */
}

.lang-box:hover i {
  color: blue; /* Change color on hover */
  margin-top: -10px;
  margin-bottom: -10px;
  transform: scale(1.2); /* Smoothly scales up */
}

.lang-box .html {
  color: white;
  font-size: 3.5rem;
  margin-top: 15px;
  transition: color 0.5s ease, margin 0.5s ease, transform 0.9s ease,
    filter 0.5s ease; /* Smooth transition for all */
}

.lang-box:hover .html {
  filter: none; /* Change filter smoothly on hover */
  margin-top: -5px;
  margin-bottom: -10px;
  transform: scale(1.2); /* Smoothly scales up */
}
.lang-box:hover .lni-css3 {
  color: #2d53e5 !important; /* Change color on hover */
 
}
.lang-box:hover .lni-typescript {
  color: #0b7ece !important; /* Change color on hover */
 
}
.lang-box:hover .lni-nodejs {
  color: #58a149 !important; /* Change color on hover */
 
}
.lang-box:hover .lni-react {
  color: #08d9ff !important; /* Change color on hover */
 
}
.lang-box:hover .lni-swift {
  color: #fa7b26 !important; /* Change color on hover */
 
}
.lang-box:hover .lni-angular {
  color: #e5303f !important; /* Change color on hover */
 
}
.lang-box:hover .lni-tailwindcss {
  color: #1dc0cd !important; /* Change color on hover */
 
}

.html {
  width: 45px;
  margin-top: 15px;
  margin-bottom: -8px;
  filter: brightness(0) invert(1); /* Turns the image white */
}
.langname {
  color: whitesmoke;
  font-size: 0.7rem;
  font-weight: 400;
}

.lot-box {
  color: white; /* Initial color for all text */
  transition: color 0.3s ease; /* Smooth transition */
}

.lot-box:hover i {
  color: blue; /* Change `i` element to blue on hover */
}

.lot-box h2 {
  color: white; /* Keep `h2` white */
}
.projects{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: left;
    /* justify-content: center; */
}
.projectbadge{
    color: rgba(192, 192, 192, 0.795);
    background-color: #272727;
    font-size: 0.8rem;
    width: 100px;
    height: 25px;
    border-radius: 5px;
    display: grid;
    place-content: center;
    margin-top: 10px;
    margin-bottom: 10px;
}
.p-holder{
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 20px;

}
.p-card{
    width: 270px;
    /* height: 300px; */
    border: 1px solid white;
    padding: 15px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: inset 0px -20px 20px 0px rgba(255, 255, 255, 0.151);
    transition-duration: 0.5s;
}.p-card:hover{
    box-shadow: inset 0px 10px 20px -10px rgba(255, 255, 255, 0.151);
    transition-duration: 0.5s;

}
.pimg{
    width: 100%;
    aspect-ratio: 16 / 9    ;
    border-radius: 8px;
    border: 1px solid rgb(160, 160, 160);
}
.pname{
    color: white;
    margin-top: 10px;
}
.det{
    color: #acaaaa;
    font-size: 0.9rem;
}
.visit{
    display: flex;
    border-radius: 5px;
    color: rgb(221, 221, 221)    ;
    font-weight: 800;
    font-size: 0.9rem;
    align-items: center;
    text-decoration: none;
    
    margin-top: 10px;
    gap: 5px;
    transition-duration: 0.5s;
}
.visit:hover{
    gap: 20px;
    transition-duration: 0.5s;
}
.more{
    margin-bottom: 20px;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    width: 200px;
    transition-duration: 0.5s;

}
.more i {
    margin-top: 4px;
}
.more:hover{
    transition-duration: 0.5s;
    gap: 20px;
    opacity: 0.8;
}




















.container {
    position: absolute; /* Full size background container */
    top: 0;
    left: 0;
    width: 100vw; /* Full viewport width */
    height: 100vh; /* Full viewport height */
    overflow: hidden; /* Prevent overflow of dots */
    z-index: -1; /* Ensure it's behind the main container */
}


.dot {
    position: absolute;
    border-radius: 50%;
    background: rgb(201, 201, 201);
    opacity: 0.5;
    width: 1px;  /* Fixed size for dots */
    height: 1px; /* Fixed size for dots */
}
.brightdot {
    position: absolute;
    border-radius: 50%;
    background: rgb(255, 255, 255);
    opacity: 0.8;
    width: 1.5px;  /* Fixed size for bright dots */
    height: 1.5px; /* Fixed size for bright dots */
}
.smalldot {
    position: absolute;
    border-radius: 50%;
    background: rgb(187, 187, 187);
    opacity: 0.6;
    width: 1px;  /* Fixed size for small dots */
    height: 1px; /* Fixed size for small dots */
}
.bigdot {
    position: absolute;
    border-radius: 50%;
    background: rgb(255, 255, 255);
    opacity: 0.7;
    width: 2px;  /* Fixed size for big dots */
    height: 2px; /* Fixed size for big dots */
}
.tiop{
    width: 5000px;
    margin-top: -250px;
    filter: blur(50px);
    background-color: #ffffff1a;
    box-shadow:  0px 20px 20px 20px rgb(255 255 255 / 12%);
    height: 300px;
    border-radius: 50%;
}
.tiop1{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

}




.posts {
  width: 100%;
  color: white;
  margin-top: 20px;
}
.recent-post {
  color: rgba(192, 192, 192, 0.795);
  background-color: #272727;
  font-size: 0.8rem;
  width: 100px;
  height: 25px;
  border-radius: 5px;
  display: grid;
  place-content: center;
  margin-top: 10px;
  margin-bottom: 10px;
}
.list-of-post {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: left;
  gap: 5px;
}
.post-card {
  width: 100%;
  height: 50px;
  /* border: 1px solid white; */
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}
.post-card:hover .cont{
  padding-left: 10px;
  transition-duration: 0.3s;
}
.post-card:hover .slide {
  width: 5px;
  transition-duration: 0.3s;
  scale: 1.01;
}
.slide{
  width: 0px;
  background-color: rgb(112, 112, 112);
  height:100%;
  transition-duration: 0.2s;
}
.cont{
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-left: 5px;
}


.ptitle {
  color: white;
  font-size: 1.15rem;
}
.Posttime {
  color: rgba(192, 192, 192, 0.795);
  text-transform: capitalize  ;
}

.Activelink{
  color: white;
}




.project-continer{
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: white;
  margin-bottom: 50px;
}
.project{
  font-size: 1.6rem;
  text-transform: capitalize;
}
.project-card{
  width : 100%;
  display: flex;
  flex-direction: column;
  color: white;
}
.i-conteiner{
  width: 100%;
  display: flex;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(to bottom, rgb(53, 53, 53), rgba(255, 255, 0, 0));
  &:hover .project-img{
    transform: translateY(-15px);
    transition-duration: 0.3s;
  }
  &:hover {
    transition-duration: 0.3s;
    background: linear-gradient(to bottom, rgba(200, 133, 255, 0.63), rgba(53, 53, 53, 0))!important;

  }
}
.project-img{
  width: 95%;
  margin-top: 2.5%;
  border: 8px;
  transition-duration: 0.3s;

}

.pro-title{
 text-transform: capitalize;
 font-size: 1.3rem;
 margin-bottom: 5px;
}
.details-of-pro{
  color: whitesmoke;
  font-size: 0.8rem;
  margin-bottom: 10px;
}
.button-vissit{
  width: 100px;
  background-color: rgb(255, 255, 255);
  text-decoration: none;
  color: black;
  border-radius: 5px;
  height: 40px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition-duration: 0.3s;
  &:hover{
    background-color: rgb(149, 122, 254);
    color: rgb(255, 255, 255);
    transition-duration: 0.3s;
    scale: 1.1;
  }
}

.card-2{
  &:hover {
    transition-duration: 0.3s !important;
    background: linear-gradient(to bottom, rgba(250, 168, 129, 0.63), rgba(53, 53, 53, 0))!important;

  }
}
.id-pass{
  text-decoration: underline;
}


.ifnot-dark{
  background: linear-gradient(to bottom, rgb(169, 169, 169), rgba(224, 51, 51, 0)) !important;

}
.light-buttoon{
  background-color:rgba(12, 12, 12, 0.839) ;
  color: white !important;
}


.bb {
  /* Truncate text after a single line with ellipsis */
  display: block;           /* Ensure the element is a block element */
  width: 400px;            /* Set a fixed width */
  overflow: hidden;        /* Hide overflow */
  white-space: nowrap;     /* Prevent wrapping */
  text-overflow: ellipsis; /* Show ellipsis */
}