  *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;   
    text-decoration: none;
    font-family: "Libertinus Sans", sans-serif;
   
}
section{
    height: 100vh;
}
body{
    background-color: var(--background);
}
nav {
    background: transparent;
    color:var(--color);
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: fixed;
    height: 70px;
    width: 100%;
    top: 0;
    z-index: 1000;
  }
    /*  when scrolled */
  nav.scrolled{  
    background-color: #080128;
    box-shadow: 0 0 10px var(--orange);
 }
  /* Toggle icon (hamburger) */
  .menu-toggle {
    display: none;
    width: 40px;
    height: 35px;
    position: relative;
    cursor: pointer;
    transition: 0.3s ease;
    margin-right: 1rem;
    border: .1rem solid var(--orange);
    border-radius: 0 7px 0 7px;
    padding: 15px;
  }

  .nav-bar {
    background-color: var(--orange);
    height: 3px;
    width: 80%;
    position: absolute;
    left: 3.9px;
    transition: 0.3s ease;
  }

  .nav-bar:nth-child(1) { top: 4px; }
  .nav-bar:nth-child(2) { top: 14px; }
  .nav-bar:nth-child(3) { top: 25px; }

  .nav-links {
    display: flex;
    gap: 1.5rem;
  }

  .nav-links a {
    text-decoration: none;
    color: #fff;
    margin-right: 1.25rem;
    font-size: 1.1rem;
    transition:  0.5s ease-in;
  }

  .nav-links a:hover {
    color: var(--orange);
    border-bottom: 2px solid var(--orange);
  }
.logo a {
    color: var(--orange);  
    font-size: 25px;
    text-shadow: 0 0 10 rgba(0,0,0,0.5);
}  


/* typing text */

.typing-text{
    font-size: 1.7rem;
    font-weight: 600;
    min-width: 200px;
}
.typing-text span{
    position: relative;
}
.typing-text span::before{
    content: 'youtuber';
    color: var(--orange);
    margin-left: 12px;
    animation: text 20s infinite ;
}
.typing-text span::after{
    content: '';
    position: absolute;
    width: calc(100% - 3px);
    height: 100%;
    background-color:var(--background);
    border-left: 4px solid orangered;
    right: -10px;
    animation: curser .8s infinite,type 20s steps(14) infinite;
    
}
@keyframes curser {
    to{
        border-left: 2px solid rgb(19, 20, 20);
    }
}
@keyframes text {
    0%,20%{
        content: 'youtuber';
    }
     21%,40%{
        content: ' Web Developer';
    }
     41%,60%{
        content: 'App Developer';
    }
     61%,80%{
        content: 'Designer';
    }
     81%,100%{
        content: 'Gamer';
    }
}
    @keyframes type {
        10%,15%,30%,35%,50%,55%,70%,75%,90%,95%{
            width: 0;
        }
        5%,20%,25%,40%,45%,60%,65%,80%,85%{
            width: calc(100% - 3px);
        }
    }


    /* socil icon */

  .wrapper {
  display: flex;
  justify-content: flex-start;
  flex-direction: row;
  margin-left: -1.3rem;
}
.wrapper .icon {
  margin: 0 20px;
  text-align: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  z-index: 2;
  text-decoration: none;
  transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.wrapper .icon span {
  display: block;
  height: 60px;
  width: 60px;
  color:var(--orange);
  background:transparent;
  border-radius: 50%;
  position: relative;
  border: 2px solid var(--orange);
  z-index: 2;
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1);
  transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.wrapper .icon span i {
  line-height: 60px;
  font-size: 25px;
}
.wrapper .icon .tooltip {
  position: absolute;
  top: 0;
  z-index: 1;
  background: #fff;
  color: var(--color);
  padding: 10px 18px;
  font-size: 20px;
  font-weight: 500;
  border-radius: 25px;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1);
  transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.wrapper .icon:hover .tooltip {
  top: -70px;
  opacity: 1;
  pointer-events: auto;
}
.icon .tooltip:before {
  position: absolute;
  content: "";
  height: 15px;
  width: 15px;
  background: inherit;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%) rotate(45deg);
}
.wrapper .icon:hover span {
  color:#ffff;
}
.wrapper .icon:hover span,
.wrapper .icon:hover .tooltip {
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.4);
}
.wrapper .facebook:hover span,
.wrapper .facebook:hover .tooltip {
  background: #3B5999;
  border: none;
}
.wrapper .twitter:hover span,
.wrapper .twitter:hover .tooltip {
  background: #46C1F6;
  border: none;
}
.wrapper .instagram:hover span,
.wrapper .instagram:hover .tooltip {
  background-image: linear-gradient(135deg,#405de6,#833ab4,#c13584,#fd1d1d,#fcb045);
  border: none;
}
.wrapper .github:hover span,
.wrapper .github:hover .tooltip {
  background: #333;
  border: none;
}
.wrapper .youtube:hover span,
.wrapper .youtube:hover .tooltip {
  background: #DE463B;
  border: none;
}

 

/* HOME image */

.circle {
position: relative;
width: 30rem;
height: 36.5rem;
border-radius: 50%;
overflow: hidden;
padding: 8px; 
margin-top: 50px;
/* Animated Gradient Border */
background: linear-gradient(270deg orangered, #cf5203, #d7063a, #ab021b);
background-size: 1200% 1200%;
animation: glowing 10s ease infinite;

/* Normal Glow Shadow */
box-shadow: 0 0 40px rgb(255, 85, 0),
            0 0 80px rgb(255, 77, 0),
            0 0 100px rgb(235, 37, 2);

transition: 0.5s ease;
}


.circle:hover {
box-shadow: 0 0 40px rgb(218, 69, 5),
            0 0 80px rgba(255, 72, 0, 0.8),
            0 0 140px rgba(235, 76, 3, 0.8);
transform: scale(1.05); 
}

.circle img {
width: 100%;
height: 100%;
border-radius: 50%;
border: 5px solid #111; 
object-fit: cover;
}

/* Border Glow Animation */
@keyframes glowing {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}

.home{
    height: 100vh;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}
.home-text{
  color: var(--color);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.home-content{
    margin-bottom: 4rem;
    word-spacing: .1cm;
    line-height: .7cm;
}

.home-text h1{
    font-size: 3rem;
    font-weight: 600;
}
.home-text h3{
    font-size: 1.6rem;
}
.home-content{
  width: 400px;
}
.hire{
    width: 9rem;
    height: 3rem;
    font-size: 1.2rem;
    margin-top: 1.3rem;
    background: transparent;
    border: 2px solid  var(--orange);
    outline: none;
    border-radius: 10px;
    font-weight: bold;
    padding: 10px;
    color: rgb(255, 68, 0);
    cursor: pointer;
    transition: .5s ease-in-out;
}
.hire:hover{
    background-color: rgb(255, 68, 0);
    color:var(--color);
}


/* about */

.about-header{
   text-align: center;
   color: var(--color);
}
.about-header span{
    color:  var(--orange);
}
.about{
    position: relative;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    
}
#about{
    padding-top: 100px;
}
.about-circle {
position: relative;
width: 20rem;
height: 26.5rem;
border-radius: 50%;
overflow: hidden;
padding: 8px; 
margin-top: 50px;
/* Animated Gradient Border */
background: linear-gradient(270deg, orangered, #cf5203, #d7063a, #ab021b);
background-size: 1200% 1200%;
animation: glowing 10s ease infinite;

/* Normal Glow Shadow */
box-shadow: 0 0 20px rgb(255, 85, 0),
            0 0 20px rgb(255, 77, 0),
            0 0 100px rgb(235, 37, 2);

transition: 0.5s ease;
}


.about-circle:hover {
box-shadow: 0 0 40px rgb(218, 69, 5),
            0 0 80px rgba(255, 72, 0, 0.8),
            0 0 140px rgba(235, 76, 3, 0.8);
transform: scale(1.05); 
}

.about-circle img {
width: 100%;
height: 100%;
border-radius: 50%;
border: 5px solid #111; 
object-fit: cover;
}
.about-text{
    width: 33.125rem;
    line-height: .7cm;
    height: auto;
    color: var(--color);
}
.about-content{
    margin-top: -40px;
}
.about-content h1{
    color: var(--color);
    margin-top: 25px;
    margin-bottom: 15px;
}
#cv{
    display: flex;
    flex-direction: row;
    gap: 40px;
    margin-top: 50px;
}
.cv{
    width: 10rem;
    height: 3rem;
    padding: 10px;
    color: var(--color);
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    background-color:  var(--orange);
    border-radius: 10px;
    outline: none;
    border: none;
    transition: .5s ease-in-out;
}
.cv:hover{
    background: transparent;
    border: 2px solid  var(--orange);
    color:  var(--orange);
}
.more{
    width: 10rem;
    height: 3rem;
    padding: 10px;
    color:  var(--orange);
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    background:transparent;
    border-radius: 10px;
    outline: none;
    border:2px solid  var(--orange);
    transition: .5s ease-in-out;
}
.more:hover{
    background-color:  var(--orange);
    color: var(--color);
}

.web{
  height: 13rem;
  width: 23rem;
  border-radius: 25px 0 25px 0;
  padding: 15px;
  position: relative;
  transition: .6s ease-in-out;
  box-shadow: 0 0 20px  var(--orange);
}
.web:hover{
  background-color:  var(--orange);
}
.web span i{
  position: absolute;
  text-align: center;
  font-size: 1.8rem;
  top: 10%;
  left: 40%;
  transform: translate(-50% -50%);
  color: var(--color);

}
.web .services-h2{
  position: absolute;
  top:30%;
  left: 23%;
  transform: translate(-50% -50%);
  color: var(--color);
}
.web p{
  color: var(--color);
  position: absolute;
  top:50%;
  text-align: center;
}


#services{
  padding-top: 90px;
}
.Services-content{
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  row-gap: 30px;
}
#ser-h1{
  text-align: center;
  color: var(--color);
  margin-bottom: 60px;
}
#ser-h1 span{
  color: orangered;
}
#skill-h1{
  color: var(--color);
  border-bottom: 3px solid var(--color);
  margin-bottom: 10px;
}
/* progress bar */

#contanier {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 60px;
  margin-top: -175px;
}
.progress {
  height: 0.3rem;
  width: 350px;
  background-color: black;
  border-radius: 0.3rem;
  position: relative;
}
.bar {
  position: absolute;
  background-color:  var(--orange);
  border-radius: 0.3rem;
  height: 100%;
  width: var(--num1);
  opacity: 0;
  animation: width 1s linear forwards;
  animation-delay: 1.7s;
}
@keyframes width {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.dot {
  position: absolute;
  inset: 0;
  z-index: 10;
  animation: move 2s linear forwards;
  position: absolute;
  height: 13px;
  width: 13px;
  background-color:  var(--orange);
  box-shadow: 0 0 10px  var(--orange);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 0;
}
@keyframes move {
  0% {
    left: 0%;
  }
  100% {
    left: var(--num1);
  }
}
.number {
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: var(--num1);
  color: var(--color);
  margin-top: -24px;
  opacity: 0;
  animation: width 1s linear forwards;
  animation-delay: 1.7s;
}
.progres-text {
  text-transform: uppercase;
  color: var(--color);
  margin-top: -24px;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 17%;
  opacity: 0;
  animation: width 1s linear forwards;
  animation-delay: 1.7s;
}
#j{
  left:25%;
  font-size: 14px;
}
#html,#css,#js{
  color: orange;
  font-size: 18px;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 3%;
  position: absolute;
  margin-top: -24px;
}
#html,#css,#js i{
  font-size: 25px;
}
#js{
  color: yellow;
}
#css{
  color: #3B5999;
}
#html{
  color:orangered ;
}
#c{
  color: #46C1F6;
  font-size: 25px;
   transform: translate(-50%, -50%);
  top: 50%;
  left: 3%;
  position: absolute;
  margin-top: -24px;
}
/* circle bar */

.circle-container{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-wrap: wrap;
    gap:10px;
    height: auto;
    width: 500px;
    padding-top: 50px;
}
.circle-container .card{
    height: 15rem;
    width: 15rem;
    /* background: #444; */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;

}
.circle-container .card .percent{
    position: relative;
    height: 9.3rem;
    width: 9.3rem;
}
.circle-container .card .percent svg {
    position: relative;
    height: 9.3rem;
    width: 9.3rem;
    transform: rotate(270deg);
}
.circle-container .card .percent svg circle{
    width: 100%;
    height: 100%;
    fill:transparent;
    stroke-width: 2;
    stroke: #000000;
    transform: translate(5px,5px);
}
.circle-container .card .percent svg circle:nth-child(2){
    stroke:  var(--orange);
    stroke-dasharray: 440;
    opacity: 0;
    stroke-dashoffset:calc(440 - (440 * var(--num))/100);
    animation: circle 1s linear forwards;
    animation-delay: 1.7s;
    box-shadow: 0 0 20px  var(--orange);
}
@keyframes circle {
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}
.circle-dot{
    position: absolute;
    inset: 5px;
    z-index: 10;
    animation: animatedot 2s linear forwards;
}
@keyframes animatedot{
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(calc(3.6deg * var(--num)));
    }
}
.circle-dot::before{
    content: '';
    position: absolute;
    height: 10px;
    width: 10px;
    background:  var(--orange);
    transform: translateX(-50%);
    top:-5px;
    left:50%;
    border-radius: 50%;
    box-shadow: 0 0 10px  var(--orange);
}
.circle-text{
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    animation: circle 1s linear forwards;
    animation-delay: 1.7s;
    opacity: 0;
}
.circle-text h2{
    display: flex;
    justify-content: center;
    align-items: center;
    color:var(--color);
    font-weight: 900;
    font-size: 2.5rem;
}
.circle-text h2 span{
    color:var(--color);
    font-weight: 300;
    font-size: 1.5rem;
}
.circle-text p{
    color:var(--color) ;
    font-size: 7px;
    line-height: 2px;
    letter-spacing: 2px;
    margin-top: 5px;
    text-transform: uppercase;
}

.skills-container{
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}
.skills-h1{
  text-align: center;
  color: var(--color);
  margin-bottom: 20px;
}
.skills-h1 span{
  color:  var(--orange);
}
#skills{
  padding-top: 100px;
}
#projects{
  padding-top: 90px;
  height: 130vh;
}
.pro-h1{
  text-align: center;
  color:  var(--color);
  margin-bottom: 50px;
}
.pro-h1 span{
  color:  var(--orange);
}

.con {
  position: relative;
}

.image {
  display: block;
  width: 450px;
  height: 380px;
  border-radius: 40px 0 40px 0;
  box-shadow: 0 0 40px  var(--orange);
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-image: linear-gradient(#ffffffd4, rgba(255, 68, 0, 0.863));
  overflow: hidden;
  width: 450px;
  height: 0%;
  border-radius: 40px 0 40px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: .5s ease-in-out;
}
#text{
  color: #010b3a;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  padding: 15px;
}
.con:hover .overlay {
  height: 100%;
}

.pro-image{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
  row-gap: 30px;
}
.Visit{
  color: var(--orange);
  border-radius: 50px;
  height: 60px;
  width: 60px;
  border: 2px solid  var(--orange);
  background: var(--color);
  padding:10px;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  z-index: 100;
}
.contact-h1{
  text-align: center;
  color: #fff;
  margin-bottom: 70px;
}
.contact-h1 span{
  color:  var(--orange);
}
#contact{
  padding-top: 110px;
}


/* contact */

.contact-h1{
  color: var(--color);
}
.contact-h1 span{
  color: var(--orange);
}
.about-form{
    background:transparent;
    padding: 20px 20px;
    width: 30rem;
    height: auto;
    border-radius: 10px;
    z-index: 100;
    
}
form{
    gap: 1.5rem;
    display:flex;
    flex-direction: column;
    align-items: center;

}
.area{
    position: relative;
    width: 23rem;
}
.area input{
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(128, 128, 128, 0.66);
    background: transparent;
    border-radius: 5px;
    font-size: 1.1rem;
    color: var(--color);
    outline: none;
    position: relative;
}
.area label{
    position: absolute;
    left: 0;
    font-size: 1rem;
    padding: 12px;
    color: gray;
    pointer-events: none;
    transition: .5s;
}

.area input:focus ~label,
.area input:valid ~label{
    color: orangered;
    transform: translateX(10px) translateY(-10px);
    padding:  0 10px;
    font-size: 0.85rem;
    background: var(--background);
}
.area textarea{
    width: 100%;
    border-radius: 5px;
    background: transparent;
    height: 100px;
    outline: none;
    padding: 10px;
    font-size: 1rem;
    color: var(--color);
}
.area textarea:focus ~label,
.area textarea:valid ~label{
    color: orangered;
    transform: translateX(10px) translateY(-10px);
    padding:  0 10px;
    font-size: 0.85rem;
    background: var(--background);
}
.area input:focus,.area input:valid{
    border-color: orangered;
}
.area textarea:focus,.area textarea:valid{
    border-color: orangered;
}
.done{
  color: rgb(12, 236, 12);
  position: absolute;
  right: 0;
  top:30%;
  margin-right: 15px;
  display: none;

}
#message-done{
  top:10%;
}
.error{
    color: rgb(255, 0, 13);
    text-align: left;
    margin-top: 4px;
    top: 50%;
    left: 50%;
}
.result{
  font-size: 1.1rem;
  color: var(--orange);
}
/* submit button */

    .send-btn {
      position: relative;
      background: orange;
      color: #fff;
      border: none;
      outline: none;
      padding: 15px 40px;
      font-size: 18px;
      font-weight: bold;
      border-radius: 50px;
      cursor: pointer;
      transition: 0.4s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      z-index: 2;
      box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    }

    .send-btn .btn-text,
    .send-btn .plane-icon {
      position: relative;
      z-index: 2;
      color: #fff;
    }

    /* Flying plane style */
   .flying-plane {
      position: absolute;
      font-size: 22px;
      z-index: 9999;
      animation: flyAcross 2.5s forwards ease-in-out;
      pointer-events: none;
    }

  @keyframes flyAcross {
    0% { 
      transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 1;
      }
    50% { 
      transform: translate(calc(var(--x) * 0.5), calc(var(--y) * 0.5)) scale(1.3) rotate(180deg);
        opacity: 0.8; 
    }
    100% {
        transform: translate(var(--x), var(--y)) scale(0.8) rotate(360deg); 
        opacity: 0;
        }
  }

    .map-text p{
      height: auto;
      width: 350px;
      text-align: left;
      line-height: .7cm;
      color: var(--color);
    }

    .project-container{
      display: flex;
      flex-wrap: wrap;
      justify-content: space-evenly;
      text-align: center;
    }
    .about-icons{
      color: var(--color);
      text-align: left;
      margin-top: 10px;
    }
    .map iframe{
      width: 350px;
      height: 300px;
    }

    .contact button{
    border: none;
    outline: none;
    width: 200px;
    height: 40px;
    color: black;
    border-radius: 20px;
}
footer{
  margin-top: 120px;
}
.footer{
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 10vh;
    align-items: center;
    flex-wrap: nowrap;
    padding: 10px 90px 10px 90px;
    background-color: var(--orange);
}
.footer-text p{
    font-size: 17px;
    color: var(--color);
}

.arrow{
    animation-name: top;
    animation-timeline: scroll(y);
    border-radius: 50px;
}
.arrow i{
 background-color: var(--color);
}
@keyframes top{
    0%{
        opacity: 0;
        display: none;
        position: fixed;
    }
    3%{
        opacity: 0;
        display: none;
    }
    3.5%{
        opacity: 1;
        display: block;
    }
    100%{
        opacity: 1;
        display: block;
        position: fixed;
    }
}


.toggle-switch {
    width: 80px;
    height: 40px;
    background: #ccc;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: background 0.5s, box-shadow 0.5s;
  }

  .dark-slider {
    position: absolute;
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    transition: left 0.5s, background 0.5s, transform 0.5s, box-shadow 0.5s;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }

  .dark-slider:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
  }

  /* ===== Dark Mode ===== */
  .dark-mode {
    --background: #06041c;
    --color: #f1f1f1;
    --orange:  orangered;
  }
  .light-mode {
     --background: #dfdada;
    --color: #11111;
    --orange:  orangered;
  }

  .dark-mode .toggle-switch {
    background: #333;
    box-shadow: 0 4px 10px rgba(255,255,255,0.2);
  }

  .dark-mode .dark-slider {
    left: 42px;
    background: #010b3a;
    transform: rotate(360deg);
    box-shadow: 0 4px 8px rgba(255,255,255,0.3);
  }






















@media (max-width:600px) {
    
.menu-toggle {
      display: block;
      position: fixed;
      margin-left: -290px;
    }

.nav-links {
      flex-direction: column;
      position: absolute;
      text-align: center;
      top: 60px;
      left: 0;
      background:#010b3a;
      box-shadow: 0px 1px 4px black;
      width: 300px;
      height: 350px;
      transform: translateX(-100%);
      opacity: 0;
      pointer-events: none;
      transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
      padding: 1rem;
    }

.nav-links.active {
      transform: translateX(0);
      opacity: 1;
      pointer-events: auto;
    }

.menu-toggle.active .nav-bar:nth-child(1) {
      transform: rotate(45deg);
      top: 16px;
    }
.menu-toggle.active .nav-bar:nth-child(2) {
      opacity: 0;
    }
.menu-toggle.active .nav-bar:nth-child(3) {
      transform: rotate(-45deg);
      top: 16px;
    }  
.logo a {
    font-size: 25px; 
    margin-left: -80px;  
}

.wrapper {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-direction: none;
}
.wrapper .icon {
  margin: 0 11px;
  text-align: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  z-index: 2;
  text-decoration: none;
  transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.wrapper .icon span {
  display:inline-block;
  height: 40px;
  width: 40px;
  background:transparent;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1);
  transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.wrapper .icon span i {
  line-height: 40px;
  font-size: 18px;
}
.wrapper .icon .tooltip {
  position: absolute;
  top: 0;
  z-index: 1;
  padding: 10px 18px;
  font-size: 20px;
  font-weight: 500;
  border-radius: 25px;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1);
  transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.circle {
  width: 22rem;
  height: 30rem;
}
#home{
  padding-top: 70px;
  height: 160vh;

}
.home-text h1{
  margin-left: 15px;
  font-size: 2.3rem;
  padding: 5px;
  margin-top: -10px;
}
.home-text h3{
  margin-left: 15px;
  font-size: 1.2rem;
   padding: 5px;
}
.typing-text{
  margin-left: 17px;
  font-size: 1.4rem;
  padding: 5px;
  margin-top: -10px;
}
.home-content{
  width: 375px;
  margin-left: 15px;
  padding: 10px;
  margin-top: -10px;
}
.hire{
  margin-left: 40px;
}
#about{
  padding-top: 100px;
  height: 140vh;
}
.about-content{
  width: 350px;
  padding: 10px;
  height: auto;
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.cv{
    width: 6.5rem;
    height: 3rem;
    padding: 10px;
    font-size: .8rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 10px;
    outline: none;
    border: none;
    transition: .5s ease-in-out;
}

.more{
    width: 6.5rem;
    height: 3rem;
    padding: 10px;
    font-size: .9rem;
    font-weight: bold;
    cursor: pointer;
    background:transparent;
    border-radius: 10px;
    outline: none;
    transition: .5s ease-in-out;
}
.web p{
  padding: 15px;
  margin-left: -20px;
}
#services{
  padding-top: 100px;
  height: 210vh;
}
#skills{
  padding-top: 100px;
  height: 240vh;
}
/* .skills-h1{
 margin-top: 50px;
} */
.skills-container{
  margin-top: -50px;

}
#skill-h1{
  margin-top: 250px;
}
.image {
  display: block;
  width: 330px;
  height: 370px;
  border-radius: 0 40px 0 40px;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  width: 330px;
  height: 0%;
  border-radius: 0 40px 0 40px ;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: .5s ease-in-out;
}
#projects{
  height: 315vh;
}
.about-form{
    background:transparent;
    padding: 20px 20px;
    width: 20rem;
    height: auto;
    border-radius: 10px;
    z-index: 100;
    box-shadow: 0 ;
}
#contact{
  height: 155vh;
}
.footer{
  height: 10vh;
}
.footer-text p{
  font-size: 14px;
  color: #fff;
}
.toggle-switch {
    width: 80px;
    height: 30px;
    background: #ccc;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: background 0.5s, box-shadow 0.5s;
    /* margin-left: -10px; */
  }
.logo{
  margin-left: 150px;
}
.dark-slider {
    position: absolute;
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
    top: 0px;
    left: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    transition: left 0.5s, background 0.5s, transform 0.5s, box-shadow 0.5s;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }
    .dark-mode .dark-slider {
    left: 46px;
    background: #010b3a;
    transform: rotate(360deg);
    box-shadow: 0 4px 8px rgba(255,255,255,0.3);
  }
}