@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&display=swap');

*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    scroll-behavior: smooth;
}



::-webkit-scrollbar {
    width: 0px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: transparent;
  }
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: linear-gradient(108deg, #46d3ff .14%, #6178ff 24.02%, #a750ff 39.05%, #ff1ec0 56.82%, #ff784b 77.82%, #ffce51 95.45%);
  }




/* body{
    font-family: "Roboto", sans-serif;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    overflow-x:hidden;
} */

body[mode="light"] {

  font-family: "Roboto", sans-serif;
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  overflow-x:hidden;
}
body[mode="dark"] {

  font-family: "Roboto", sans-serif;
  background-color: #0a0a0a;
  color: white;
  overflow-x:hidden;
}


/* body{
    font-family: "Roboto", sans-serif;
    background-color: #0a0a0a;
    color: white;
    overflow-x:hidden;
} */
h2{
  font-family: "Caveat", cursive;
  font-optical-sizing: auto;
  font-weight: 700;
  font-size: 40px;
  font-style: normal;
}
.header{
    display: flex;
    justify-content: center;
    margin-top: 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1;
}
.header_inner{
    display: flex;
    padding: 20px;
    background: #3a393952;
    border-radius: 47px;
    backdrop-filter: blur(12px);

}
.header_inner div{
    padding: 10px 50px;
}
.header_inner div a{
    text-decoration: none;
    /* color: white; */
}

.link_color{
  color: aqua;
  transition: 0.5s;
}
.color_set_nav{
  color: white;
  transition: 0.5s;
}

/* Hero section  */




.hero_section{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 700px;
  background-color: #0a0a0a00;
  transform: scale(1);
  overflow-x: hidden;
}

.hspan{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255,255, 255,0.1),
  0 0 0 8px rgba(255,255, 255,0.1),
  0 0 20px rgba(255,255, 255,1);
  animation: animate 3s linear infinite;
}
.hspan::before{
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: 1px;
  background: linear-gradient(90deg, #bbff00,transparent);
  /* background: linear-gradient(90deg, #fff,transparent); */
}

@keyframes animate {
  0%{
      transform: rotate(315deg) translateX(0);
      opacity: 1;
  }70%{
      opacity: 1;
  }100%{
      transform: rotate(315deg) translateX(-800px);
      opacity: 0;
  }
}


.hspan:nth-child(1){
  top: 0;
  right: 0;
  left: initial;
  animation-delay: 0;
  animation-duration: 1s;
}

.hspan:nth-child(2){
  top: 0;
  right: 80px;
  left: initial;
  animation-delay: 0.2s;
  animation-duration: 3s;
}
.hspan:nth-child(3){
  top: 80px;
  right: 0px;
  left: initial;
  animation-delay: 0.4s;
  animation-duration: 2s;
}
.hspan:nth-child(4){
  top: 0px;
  right: 180px;
  left: initial;
  animation-delay: 0.6s;
  animation-duration: 1.5s;
}
.hspan:nth-child(5){
  top: 0px;
  right: 400px;
  left: initial;
  animation-delay: 0.8s;
  animation-duration: 2.5s;
}
.hspan:nth-child(6){
  top: 0px;
  right: 600px;
  left: initial;
  animation-delay: 1s;
  animation-duration: 3s;
}
.hspan:nth-child(7){
  top: 300px;
  right: 0px;
  left: initial;
  animation-delay: 1.2s;
  animation-duration: 1.75s;
}
.hspan:nth-child(8){
  top: 0px;
  right: 700px;
  left: initial;
  animation-delay: 1.4s;
  animation-duration:1.25s;
}
.hspan:nth-child(9){
  top: 300px;
  right: 1000px;
  left: initial;
  animation-delay: 0.75s;
  animation-duration: 1.25s;
}
.hspan:nth-child(9){
  top: 0px;
  right: 450px;
  left: initial;
  animation-delay: 0.75s;
  animation-duration: 2.25s;
}

.home_i_me{
  display: flex;
  justify-content: center;
}


.home_i_me div{
  width: 600px;
    background: #ffffff0a;
    border-radius: 16px;
    padding: 20px 20px 24px 20px;
    backdrop-filter: blur(12px);
    margin-top: 12px;
}


.container_hero_sec{
  margin-top: 160px;
  margin-bottom: 250px;
  position: relative;
  text-align: center;
}
.resume_download{
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.resume_download button{
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff30;
  border: none;
  color: white;
  padding: 14px 32px;
  border-radius: 14px;
  cursor: pointer;
  width: 159px;
  text-transform: uppercase;
}
.resume_download button:hover{
  box-shadow: 0px 0px 10px 0px;
  transition: 0.5s;
}
.resume_download_light button:hover{
  box-shadow: 0px 0px 10px 0px;
  transition: 0.5s;
}
.resume_download_light{
  display: flex;
  justify-content: center;
  margin-top: 20px;
}


.resume_download_light button{
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #6868684d;
  border: none;
  color: black;
  padding: 14px 32px;
  border-radius: 14px;
  cursor: pointer;
  width: 159px;
  text-transform: uppercase;
}


.dark_mode_style{
  display: flex;
  justify-content: space-around;
  width: 215px;
  border-radius: 12px;
  background: #4848485e;
  padding: 2px 2px;
}
.active_mode{
  background: #00000070;
  padding: 2px 40px;
  border-radius: 5p;
  border-radius: 19px;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: gray;
  cursor: pointer;
  transition: 0.5s;
}
.not_active_mode{
  background: rgba(0, 0, 0, 0);
  padding: 2px 40px;
  border-radius: 5p;
  border-radius: 19px;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: gray;
  cursor: pointer;
  transition: 0.5s;
}



























/* About 🕵 */

.about_me{
    display: flex;
    justify-content: center;
    margin-bottom: 100px;
    position: relative;
}
.about_left{
    width: 555px;
}
.about_right{
    width: 600px;
    margin-left: 25px;
    margin-top: 45px;

}
.about_right h3{
    margin-top: 30px;
}
.about_right p{
    margin: 10px 0px;
    color: gray;
}




/* project  */

.project_card{
    width: 370px;
    background: rgba(72, 72, 69, 0.18);
    border-radius: 9px;
    margin: 10px;
    padding: 10px;
}

.project_card img{
    width: 350px;
    border-radius: 5px;
}

.pro_container{
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}
.project_btn{
    color: #e5e5e5;
    background: transparent;
    border: none;
    padding: 7px 11px;
    box-shadow: 0px 0px 1px 0px white;
    border-radius: 5px;
    cursor: pointer;
}
.project_contant{
    margin-top: 16px;
    margin-bottom: 20px;
}
.pro_down_cont{
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.blue_shine{
    color: #64ccff;
    text-shadow: 0px 0px 6px #1affff;

}
.project_cont_para{
    margin-top: 4px;
    color: #919191;
    font-size: 15px;
}

/* contact    */

.contact{
    display: flex;
    justify-content: center;
}
.contant_pro_img{
    width: 250px;
    border-radius: 50%;
}
.contact_inner{
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0px 0px 1px 0px #1c1c1c4a;
  width: 1148px;
  margin: 30px;
  border-radius: 5px;
  background: #00000021;
}
.nav_logo{
    width: 50px;
    border-radius: 9px;
    height: 50px;
    margin: 5px;
}
.nav_logo:hover{
    box-shadow: 0px 0px 7px 0px #1989f5;
    transition: 0.5s;
}
.contact_links{
    margin-top: 25px;
}


/* footer  */

.footer div{
    text-align: center;
    padding: 20px;
    background: #14141463;
    /* color: gray; */
    text-transform: uppercase;

}


/* skills scroll  */







.scroller {
    max-width: 1100px;
  }
  
  .scroller__inner {
    padding-block: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .scroller[data-animated="true"] {
    overflow: hidden;
    -webkit-mask: linear-gradient(
      90deg,
      transparent,
      white 20%,
      white 80%,
      transparent
    );
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
  }
  
  .scroller[data-animated="true"] .scroller__inner {
    width: max-content;
    flex-wrap: nowrap;
    animation: scroll var(--_animation-duration, 40s)
      var(--_animation-direction, forwards) linear infinite;
  }
  
  .scroller[data-direction="right"] {
    --_animation-direction: reverse;
  }
  
  .scroller[data-direction="left"] {
    --_animation-direction: forwards;
  }
  
  .scroller[data-speed="fast"] {
    --_animation-duration: 20s;
  }
  
  .scroller[data-speed="slow"] {
    --_animation-duration: 60s;
  }
  
  @keyframes scroll {
    to {
      transform: translate(calc(-50% - 0.5rem));
    }
  }
  
  /* general styles */
  
  :root {
    --clr-neutral-100: hsl(0, 0%, 100%);
    --clr-primary-100: hsl(205, 15%, 58%);
    --clr-primary-400: hsl(215, 25%, 27%);
    --clr-primary-800: hsl(217, 33%, 17%);
    --clr-primary-900: hsl(218, 33%, 9%);
  }
  

  .tag-list {
    margin: 0;
    padding-inline: 0;
    list-style: none;
  }
  
  .tag-list li {
    padding: 1rem;
    background: #2c2c2c94;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem -0.25rem var(--clr-primary-900);
  }
  
  /* for testing purposed to ensure the animation lined up correctly */
  .test {
    background: red !important;
  }
  