@import url('https://fonts.googleapis.com/css2?family=Lora:ital@1&display=swap');

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  text-decoration: none;
  border: none;
  outline: none;
  scroll-behavior: smooth;

  font-family: 'Lora', serif;
    list-style: none;


}

:root{
    --bg-color:#1a1a1a;
    --outline:#04d40b;
    --text:#e0e0e0;
    --contentbg:rgb(9, 16, 26);
}

html{
  overflow-x: hidden;
}

body {
  background-color: var(--bg-color);
  color: var(--text);
}



a { color: inherit; }

#theme-toggle{
    scale: 0.2;
    border-radius: 50%;
    outline:12px solid var(--outline); 
}

.navbar{
    display: flex;
    padding: 0.5rem 0.9rem;
    border:1.5px solid var(--outline); 
    background-color: var(--contentbg);
    color: var(--text);
    font-weight: bold;
    margin-left: 5rem;
}

.nav{

    height: 100%;
    padding: 0.5rem;
    margin:0 1rem;
    border: 0.1px solid transparent;

}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 15vh;
  width: 100vw;
  /* background-color: var(--contentbg); */
  display: flex;
  justify-content: center;
  align-items: center;

  padding: 0.5rem 1rem;
  z-index: 100; /* Ensure the header is above other content */
}

.rippleeffect {
  display: inline-block;
  vertical-align: middle;
  /* -webkit-transform: perspective(0px) translateZ(0); */
  transform: perspective(1px) translateZ(0);
  position: relative;
  background: var(--outline);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}

.rippleeffect:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--contentbg);
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
  -webkit-transform-origin: 50%;
  transform-origin: 50%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

.rippleeffect:hover, .rippleeffect:focus, .rippleeffect:active {
  color: var(--text);
}

.rippleeffect:hover:before, .rippleeffect:focus:before, .rippleeffect:active:before {
  -webkit-transform: scaleY(0);
  transform: scaleY(0);
}

.mylogo{
  height: 100%;
}

section {
  padding-top: 15vh;
  height: 100vh;
  width: 100vw;


}

.container{
  height: 100%;
  display: flex;  
  justify-content: space-around;
  align-items: center;

}
.abrarphoto{
  height: 50vh;
  border-radius: 50%;
  border: 3px solid var(--outline);
  margin-right: 7rem;
}

#typed-output {
  font-size: 1.6rem;
  font-weight: bold;
}

.changedcolor{
  color: var(--outline);
}
 
#about{
  display: flex;

  justify-content:space-evenly;
  flex-direction: column;
  align-items:center;
  /* padding: 0; */
}
.aboutinfo{
  width: 100vw;
  display: flex;
  justify-content: space-evenly;
  line-height: 2;
  margin-top: 1rem;
}
.abouttop{
  display: flex;
  gap: 5rem;
  align-items: center;
}
.resumebtn{
  border: 1.7px solid var(--outline);
  height: 3rem;
  width: 7rem;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.4rem;
  background-color: var(--contentbg);
}
.pagemainheading{
  font-size: 1.8rem ;
  display: flex;
  justify-content: center;
}
.fontcontent{
  font-size: 1.2rem;
}
.subheading{
  font-size: 1.4rem;
  text-decoration: underline;
}

.aboutborder{
  padding: 1.3rem;
  outline: 2px solid var(--outline);
  background-color:var(--contentbg);

}
.contactform{
  display: flex;
  justify-content: space-evenly;
  /* margin-top: 1rem; */
  align-items: center;
}
.form{
  display: flex;
  flex-direction: column;
}

.contactcontent{
  font-size: 2.5rem;
  font-weight: bold;
}
input,textarea{
  background-color: var(--contentbg);
  padding: 0.8rem;
  margin: 0.5rem;
  font-size: 1.1rem;
  outline: 1.2px solid var(--outline);
}
input::placeholder,textarea::placeholder,input,textarea{
  color: var(--text);
}
.submitbtn{
  background-color: var(--outline);
  color: var(--text);
  font-weight: bold;
  font-size: 1.2rem;
  padding: 0.5rem;
  margin-top: 0.2rem;

}
input,textarea,.submitbtn{
  width: 100%;
}
.contactheading{
  font-size: 1.8rem ;
}
.social-icons{
  /* height: 10vh; */
  font-size: 2rem;
  color: var(--text);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3.2rem;
  /* background: rgba(0, 0, 0, 0.514); */
}

.lab{
  border: 1.8px solid var(--outline);
  padding: 0.3rem;
  border-radius: 50%;
  background-color: var(--contentbg);
}

.lab:hover{
  cursor: pointer;
  background-color:var(--outline);
  color: var(--text);
  outline: 2px solid var(--text);
  /* padding: 3px;
  border-radius: 50%; */
}
.certificate{
  font-weight: bold;
}
.footercontent{
  font-size: 1.3rem;
  margin-top: 1rem;
  text-align: center;
}
.abrar,.servicecont{
  font-weight: bold;
}
.textind{
  text-indent: 0.5rem;
}
.servicecont{
  font-size: 2rem;
}
.skills{
  border: 2px solid var(--outline);
  background-color: var(--contentbg);
  padding: 0.3rem 0.8rem;
  border-radius: 5rem;
  display: inline-block;
  animation: moveHeadline 25s linear infinite;
  /* width: 100vw; */
}
.servicecontent{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 5rem 0;
  gap: 5rem;
  width: 100vw;
}
@keyframes moveHeadline {
  0%, 100% {
      transform: translateX(0);
  }
  25% {
      transform: translateX(37vw);
  }
  75% {
      transform: translateX(-38vw);
  }
}
.project-slider{
  display: flex;
  justify-content: center;
  align-items: center;
margin-top: 3rem;  gap: 2rem;
}
.proj{
  object-fit: cover;
}


.videos {
  position: relative;
  overflow: hidden;
  height: 50vh;
  width: 30vw;
  border: 2px solid var(--outline);
  border-bottom-right-radius: 25px;
  border-top-left-radius: 25px;
}

.videos video {
  width: 100%;
  height: 100%;
  transition: transform 0.2s ease-in-out;
}


.projectlink {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--text);
  font-weight: bold;
  font-size: 1.5rem;
  display: none; /* Initially hide the text */
  background-color: var(--contentbg);
  padding: 0.3rem;
  border: 1px solid var(--outline);
  border-radius: 7px;
}

.videos:hover video {
  transform: scale(1.1); /* Increase the scale factor for a stronger zoom effect */
  filter: blur(0.7px);
  
}

.videos:hover .projectlink{
  display: block; 
}


/* @media screen and (min-width: 2560px) {

  
}
@media screen and (max-width: 1440px) {

} */


@media screen and (max-width: 1024px) {


  #theme-toggle{
    scale: 0.17;
    outline:10px solid var(--outline); 
}
.navbar{
  /* display: flex; */
  justify-content: center;
  padding: 0.4rem 0.7rem;
}

.nav{
  font-size: 0.9rem;
  height: 100%;
  padding: 0.4rem;
  margin:0 0.8rem;

}
@keyframes moveHeadline {
  0%, 100% {
      transform: translateX(0);
  }
  25% {
      transform: translateX(30vw);
  }
  75% {
      transform: translateX(-30vw);
  }
}


  .lab{
  border: 1.1px solid var(--outline);

}

.aboutborder{
  padding: 1rem;

}
strong,pre{
  font-size: 1rem;
}

.pagemainheading{
  font-size: 1.5rem ;

}
.fontcontent{
  font-size: 1.3rem;
}

.subheading{
  font-size: 1.2rem;
}
.project-slider{
  margin-top: 2rem;  gap: 1rem;
}
.skills{
  padding: 0.3rem 0.5rem;

}
svg{
  height: 2.8rem;
}

.contactcontent,.contactheading{
  font-size: 2rem;
}

input,textarea{
  padding: 0.8rem;
  margin: 0.5rem;
  font-size: 0.9rem;
}
.submitbtn{
  font-size: 1rem;
  padding: 0.4rem;
}
.social-icons{
  font-size: 1.5rem;

  gap: 2.4rem;
}
.footercontent{
  font-size: 1.2rem;
  /* margin: 0.3rem 0; */
  text-align: center;
}

}

@media screen and (max-width: 768px) {

.navbar{
  padding: 0.3rem 0.4rem;
  margin-left: 2rem;

}

.nav{
  font-size: 0.9rem;
  height: 100%;
  padding: 0.3rem;
  margin:0 0.3rem;

}
.mylogo{
  height: 80%;
}

#typed-output {
  font-size: 1.2rem;
}

.abrarphoto{
  height: 45vh;
   /* margin-right: 4rem; */
}

.fontcontent{
  font-size: 1rem;
}

.subheading{
  font-size: 1rem;
}


.aboutborder{
  padding: 1rem;

}
strong,pre{
  font-size: 0.8rem;
}

.servicecont{
  font-size: 1.6rem;
}

.contactcontent,.contactheading{
  font-size: 1.7rem;
}

input,textarea{
  padding: 0.6rem;
}
.social-icons{
  margin-top: 1rem;
}

}

 

@media screen and (max-width: 726px) {
  #theme-toggle{
    scale: 0.15;
}
  navbar{
    padding: 0.27rem 0.34rem;
    margin-left: 1rem;
  
  }
  
  .nav{
    font-size: 0.8rem;
    padding: 0.27rem;
    margin:0 0.27rem;
  
  }

  
  #typed-output {
    font-size: 1.2rem;
  }
  
  .container{
    flex-wrap: wrap;
  }

.subheading{
  font-size: 0.9rem;
}


.aboutborder{
  padding:0 0.1rem;

}
.aboutinfo{
  flex-wrap: wrap;
  /* width: 100vw; */
}
.experience,.education{
  width: 70vw;
  height: 30vh;
  text-align: center;
  padding:0.7rem;
}
.aboutme{
  font-size: 1.2rem;
}

.aboutpadding{

line-height: 1.2;}


}
@media screen and (max-width: 650px) {
  header{
    height: 20vh;
  }
  .navbar{
    display: none;
  }

  #typed-output {
    font-size: 1rem;
  }
  .abrarphoto{
    height: 40vh;
     margin-right: 1.8rem;
  }
  svg{
    height: 2.4rem;
  }
  .skills{
  padding: 0.2rem 0.3rem;
  }
  @keyframes moveHeadline {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(25vw);
    }
    75% {
        transform: translateX(-25vw);
    }
  }
  .svg-container{
    position: absolute;
    top: 25%;
    left: 86%;
  }

  .navigation{
    position: absolute;
    top: 100%;
    left: 69%;
    scale: 1.3;
    width: 6rem;
    padding: 0.4rem;
    }
  .nav{
    border: none;
    padding: 0;
  }
}
@media screen and (max-width: 586px) {
  
  #typed-output {
    font-size: 0.8rem;
  }
  .abrarphoto{
    height: 37vh;
     margin-right: 1.5rem;
  }


  .projectheading{
    font-size: 1.3rem;
  }
  .workyears,.workhighlighted{
    font-size: 0.8rem;
  }
  .social-icons{
    font-size: 1.3rem;
  
    gap: 2.3rem;
  }
  .footercontent{
    font-size: 1rem;
  }
}
@media screen and (max-width: 425px) {
  .videos {
    width: 75vw;
  }
  .container{
    flex-wrap: wrap;
  }
  .experience,.education{
    width: 80vw;
  }
  
  .navigation{
    left: 59%;
    }
  .abrarphoto{
    height: 35vh;
  }
  .servicecont{
    font-size: 1.3rem;
  }
  svg{
    height: 2rem;
  }
  @keyframes moveHeadline {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(11vw);
    }
    75% {
        transform: translateX(-13vw);
    }
  }
  .skills{
    padding: 0.4rem 0rem;
  }
  .contactcontent,.contactheading{
    font-size: 1rem;
  }
  input,textarea{
    padding: 0.6rem 0.3rem;
  }
  .contactform{
    scale: 0.9;
  }
  .abouttop{
    gap: 1.3rem;
  }
  .resumebtn{
    font-size: 0.8rem;
    height: 2.3rem;
    width: 5rem;
    padding: 0rem;
  }
  .responsive{
    scale: 0.9;
  }
  .aboutme{
    font-size: 1rem;

  }
}
@media screen and (max-width: 375px) {
  .container{
    flex-direction: column;
  }
    .abrarphoto{
    height: 32vh;
  }
    .experience,.education{
    width: 85vw;
  }
  @keyframes moveHeadline {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(9vw);
    }
    75% {
        transform: translateX(-10vw);
    }
  }


}

@media screen and (max-width: 320px) {


  .mylogo{
    height: 58%;
    margin-left: 2.7rem;
  } 
  #theme-toggle{
    scale: 0.13;
}
.svg-container{
  top: 35%;
  left: 82%;
}
.abrarphoto{
  height: 30vh;
  margin-left: 2.5rem;
}
#typed-output {
  font-size: 1rem;
}
  .abouttop{
    gap: 0rem;
  }
  .resumebtn{
    font-size: 0.74rem;
    height: 2.3rem;
    width: 5rem;
    padding: 1px 3px;
    margin-right: 1.2rem;
  }
  .responsive{
    scale: 0.77;
    text-align: center;
  }
  .aboutme{
    font-size: 0.95rem;

  }
  .experience,.education{
    height: 30vh;
  }
    .workyears,.workhighlighted{
      font-size: 0.7rem;
    }
  .certwrap{
    display: flex;
    flex-wrap: wrap;
  }
  .navigation{
    left: 48%;
    }
  .aboutpadding{

    line-height: 1;}

  .arrowkey{
    scale: 0.8;
  }
  .project-slider{
    margin-top: 3rem;  gap: 0.1rem;
  }
  .servcont{
    font-size: 1.3rem;
  }
  .servicecont{
    font-size: 1.13rem;
  }
  @keyframes moveHeadline {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(1.2vw);
    }
    75% {
        transform: translateX(-1.3vw);
    }
  }
  .skills{
    animation: moveHeadline 3s linear infinite;
  }
  input,textarea{
    padding: 0.6rem 0.3rem;
  }
  .social-icons{
  
    gap: 1.6rem;
  }
  .footercontent{
    display: flex;flex-wrap: wrap;
    justify-content: center;
  }
}