*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    --my-color:#00eaff;
    --my-text:#ff1fad;
       background-color:#0a0a1a;
       scroll-behavior: smooth;
}

body{
    max-width: 1240px;
    margin: auto;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 16px;
    background-color:#0a0a1a;
     color:var(--my-color);
}
  main{
    max-width: 1240px;
    margin: auto;
  }
header{
   display: flex;
   justify-content: space-between;
   background-color: #0a0a1a;
   color: var(--my-color);
   height: 80px;
   max-width: 1240px;
  
   width: 100%vw;
   
}
#flip{
  position: relative;
  display: inline-block;
  font-size: 40px;
  color: #fff;
  text-transform: uppercase;
  animation: flip 2s infinite;
  animation-delay: calc(.2s * var(--i))
}
@keyframes flip{
  0%,80% {
    transform: rotateY(360deg) 
  }
}
nav>ul{
    list-style: none;
    display: flex;
    gap: 20px;
    margin-right: 40px;
    margin-top: 30px;

}
nav>ul>li>a{
    text-decoration: none;
    color: var(--my-color);
    transition: all 1s ease;
    
}
.logo{
    margin:40px;
}
nav>ul>li:hover{
   
   transform: scale(1.2);
}
nav>ul>li>a:hover{
    color: var(--my-text);
    
}
#container{
    display: flex;
    gap: 50px;
 justify-content: center;
    margin: 50px;

}

.one{
    
    text-align: center;

}

h2{
    margin-bottom: 20px;
}
p{
    line-height: 25px;
    margin-bottom: 20px;
    font-size: 24px;
}

p>span{
      color: #00ffc6;
}
h3{
    color: transparent;
    background: linear-gradient(#00eaff, #ff1fad);
    background-clip: text;
    text-align: center;
    font-size: 32px;
    margin-top: 50px;
    
}
#about{
    display: flex;
    justify-content: space-between;
    color: var(--my-color);
    gap: 50px;
    margin:  20px 50px ;
    text-align: justify;
    align-items: center;
}

.p{
    
    line-height: 30px;
    margin-bottom: 20px;
    font-size: 24px;
    padding: 20px;
}
.two>img{
    height: 350px;
    width: 350px;
    animation-name: ani;   
    animation-duration: 1s; 
     
}

.btn{
    font-size: 24px;
    padding: 10px;
  border:2px solid #ff1fad ;
   background-color: none;
    border-radius: 20px;
    color:skyblue; 
   
    display: flex;
    gap: 30px;
}
#btn{
    display: flex;
    gap: 20px;
    justify-content: center;
     border-radius: 20px ;
   
   
     
}
.btn>a{
    text-decoration: none;

     color:var(--my-color);
}
.btn:hover{
     box-shadow: 2px 5px 5px 5px rgb(212, 166, 198); 
}

 li{
    margin-top: 20px;
    margin-left: 50px;
  list-style-type: none;
  
 }
 #edu{
    display: flex;
    justify-self: center;
    margin-bottom: 50px;
 }
#skill{
    display: flex;
 margin: 30px;
 gap: 50px;
 justify-content: center;
  
}
#skill>img{
    height: 150px;
    width: 150px;
    gap: 40px;
    border-radius: 50%;
    box-shadow: 5px 10px 10px var(--my-color);
    transition: all 1s;
   
}
#skill>img:hover{
     box-shadow: 5px 10px 10px var(--my-text);
     transform: scale(1.05);
}
#projects{
     display: grid;
     grid-template-columns: repeat(3,1fr);
    
}
.project{
height: 350px;
width: 350px;
 border: 2px solid #00eaff;  
display: flex;
flex-direction: column;
justify-content: center;
border-top-left-radius: 40px;
border-bottom-right-radius:40px ;
  padding: 20px;
 margin: 20px;

  
}
.project:hover{
     box-shadow: 0 0 20px #00eaff; 
}
.project>img{
    height: 150px;
    width: 250px;
    margin-bottom: 5px;

}
.para{
    font-size: 16px;
    line-height: 20px;
 margin-top: 10px;
}
.project>button{
    font-size: 24px;
    padding: 10px;
  border:2px solid #ff1fad ;
   background-color: none;
    border-radius: 20px;
     display: flex;
    gap: 30px;
    
   
   
}
.project>button>a{

  text-decoration: none;

     color:var(--my-color);
}
 #contact{
    padding: 30px; box-shadow: 5px 5px 10px var(--my-color);
  margin: 20px;
    display: flex;justify-content: center;
    gap: 40px;border-radius: 20px;
    justify-content: center;
   }
   
   .social-links img{
    height: 50px;
    width: 50px;
    border-radius: 50%;
    margin: 30px;
   }
   footer{
    color:var(--my-color) ;
    text-align: center; font-size: 14px;padding: 20px 0px;
   }
   footer>span{
    color: transparent;
    background: linear-gradient(#00eaff, #ff1fad);
    background-clip: text;
   }


   @media (max-width:576px){
  body{
    
  }
  header{
    flex-direction: column;
  }
   #conatiner{
    flex-direction: column;align-items: center; margin: 50px;
  }
  .two>img{display: none;}
  .buttons{
    display: flex; flex-direction: column; gap: 20px;
  }
  section{
    margin: 50px;
  }
  #about{
    font-size: 16px;
  }
  #skill{
    grid-template-columns: repeat(3,1fr);
  }
  #projects{
    grid-template-columns: repeat(1,1fr);
  }
}
@media (min-width:577px) and (max-width:900px){
  header{
    flex-direction: column;
  }
  #caonatiner{
    flex-direction: column;align-items: center; margin: 50px;
  }
 section{
    margin: 50px;
  }
  #about{
    font-size: 24px;
  }
  #skill{
    grid-template-columns: repeat(5,1fr);
  }
  #projects{
    grid-template-columns: repeat(2,1fr);
  } 
}
