* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
   background-color:whitesmoke;
   color: black;
  }
  span{
    color: #780000;
  }
  header {
    background-color: #000000;
    color: #fff;
    padding: 1rem 0;
  }
  .section1{
    height: 88vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
  }
  .section1 h4{
    font-size: 40px;
    position: relative;
    top: 20px;
  }
  .section1 h1{
    font-size: 65px;
  }
  .section1 h3{
    font-size: 23px;
  }
.links{
    display: flex;
    flex-direction: row;
    gap: 13px;
}  
  .links i{
    font-size: 40px;
    color:#03045e;
  }
 button {
    height: 50px;
    width:130px;
    color: white;
    background-color: black;
    border-radius: 10px;
    margin-top: 30px;
 } 
 .leftpage{
    display: flex;
    flex-direction: column;
    gap: 3px;
 }
 #imgp{
    height:450px;
     width:450px;
     border-radius: 50%;
     background-size: cover;

}
 

#abo{
  height: auto;
  width: auto;
}
h2 {
  font-size: 3rem;
  text-align: center;
  /* padding-top: 20px; */
  padding: 10px;
  color: #000000;
  position: relative;
  top: 55px;
} 
h6 {
  font-size: 3rem;
  text-align: center;
  /* padding-top: 20px; */
  padding: 10px;
  color: #000000;
  
} 
.section2{
  height: 80vh;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 100px;
  padding: 30px;
  /* border-bottom: 1px solid black; */
  /* background: linear-gradient(to top, #7209b7,white); */
}

#imgp1{
  height:450px;
   width:450px;
   background-size: contain;
   border-radius: 5px;
}
#abo{
  font-size: 20px;
}
#front{
  font-size: 32px;
  color: #000000;
}

  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
  }
  
  nav .logo h1 {
    font-size: 1.8rem;
  }
  
  nav .nav-links {
    display: flex;
    list-style: none;
  }
  
  nav .nav-links li {
    margin: 0 1rem;
  }
  
  nav .nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
  }
  
  nav .nav-links a:hover {
    color: red;
    
  }
  
  /* .section {
    padding: 2rem;
    text-align: center;
  } */
  
 
  
   .skills {
    height: 83vh;
    width: 100%; 
    display: flex;
    flex-direction: column;
    gap: 80px;
    /* border-bottom: 1px solid black; */
    /* background: linear-gradient(to top, #7209b7,white); */
  } 
  .skill-item {
    height: 210px;
    width: 200px;
    /* border: 2px solid black; */
    box-shadow: 5px 5px 25px rgb(78, 75, 75);
    padding: 20px;
    border-radius: 10px;
    transition: all;
    transition-duration: 0.3s;
  } 
  .skill-item:hover{
    transform: scale(1.1);
    cursor: pointer;
  }
  .skill-item img{
    height: 150px;
    width: 150px;
  }
  .skill-img{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    margin-top: 30px; 
  }
  .skill-img1{
    display: flex;
    flex-direction: row;
    gap: 100px;
    flex-wrap: wrap;
   align-items: center;
   justify-content: center;
  }
  .skill-item h3 {
    text-align: center;
    color: black;
  }

  
  /* .project {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 5px;
  } */
td .form{
  height: 10vh;
  width: 500px;
  border-radius: 10px;
  font-size: large;
  color: white;
  background: linear-gradient(to right, #000000,#dad7cd);  
  padding: 10px;

}
td .form1{
  height: 30vh;
  width: 500px;
  border-radius: 10px;
  font-size: large;
  background: linear-gradient(to right, #000000,#dad7cd); 
  padding: 10px;



}
td .form2{
  height: 10vh;
  width: 500px;
  margin: auto;
  font-size: x-large;
}
footer{
   height: 80vh;
  width: 100%; 
   display: flex;
  flex-direction: row;
   padding: 40px;  

}

#work{
  font-size: 30px;
}
#collab{
  font-size: 20px;
}
.footer-part{
  height: 80vh;
  width: 100%;
  display: flex;
   flex-direction: column; 
  gap: 15px;
  
}
.footer-part i{
  color: aqua;
}
.links1{
  display: flex;
  flex-direction: row;
  gap: 13px;
}  
.links1 i{
  font-size: 40px;
  color:#03045e;
}
   .project-item h3 {
    text-align: center;
    color: #000000;
  }
   .projects{
    height: 70vh;
   
   }
  .project-item {
    height: 260px;
    width: 240px;
    padding: 15px;
    box-shadow: 5px 5px 20px rgb(78, 75, 75);
    border-radius: 10px;
    transition: all;
    transition-duration: 0.3s;
  } 
  .project-item:hover{
    transform: scale(1.1);
    cursor: pointer;
  } 
    
  .project-item img{
    height: 200px;
    width: 200px;
    object-fit: cover;
  }
  .project-img{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    margin-top: 60px;
  }
   /* Existing CSS remains the same until the end */

/* Media Queries for Responsive Design */

/* For tablets and smaller desktops (max-width: 1024px) */
@media (max-width: 1024px) {
  .section1 {
    height: auto;
    padding: 50px 0;
  }
  .projects{
    height: 90vh;
   
   }
  .section1 h1 {
    font-size: 50px;
  }
  
  .section2 {
    height: auto;
    flex-direction: column;
    padding: 50px 20px;
  }
  
  .skills {
    height: auto;
    padding: 50px 0;
  }
  
  footer {
    flex-direction: row;
    height: auto;
    padding: 30px;
  }
  
  .registration {
    margin-top: 30px;
  }
  
  td .form,
  td .form1,
  td .form2 {
    width: 100%;
  }
}

/* For tablets (max-width: 768px) */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    padding: 1rem;
  }
  
  nav .nav-links {
    margin-top: 1rem;
  }
  
  .section1 h1 {
    font-size: 40px;
  }
  
  .section1 h4 {
    font-size: 30px;
  }
  
  #imgp, #imgp1 {
    height: 350px;
    width: 350px;
  }
  
  .project-img {
    gap: 20px;
  }
  
  .skill-img, .skill-img1 {
    gap: 20px;
  }
  .projects{
    height: 100vh;
  }
  footer {
    flex-direction: column;
}
}

/* For mobile devices (max-width: 480px) */
@media (max-width: 480px) {
  .section1 {
    text-align: center;
    padding: 30px 20px;
  }
  
  .section1 h1 {
    font-size: 32px;
  }
  
  .section1 h3 {
    font-size: 18px;
  }
  
  .links {
    justify-content: center;
  }
  
  #imgp, #imgp1 {
    height: 250px;
    width: 250px;
  }
  
  nav .nav-links {
    flex-direction: column;
    align-items: center;
  }
  
  nav .nav-links li {
    margin: 0.5rem 0;
  }
  
  .skill-item, .project-item {
    height: auto;
    width: 150px;
  }
  
  .skill-item img, .project-item img {
    height: 100px;
    width: 100px;
  }
  
  h2, h6 {
    font-size: 2rem;
  }
  
  #front {
    font-size: 24px;
  }
  
  #abo {
    font-size: 16px;
  }
  
  .footer-part {
    text-align: center;
  }
  
  .links1 {
    justify-content: center;
  }
 td .form,
  td .form1,
  td .form2 {
    width: 130%;
  }
  .none{
    display: none;
  }
 
}

/* For very small devices (max-width: 320px) */
@media (max-width: 320px) {
  .section1 h1 {
    font-size: 28px;
  }
  h3{
    font-size: 15px;
  }
  /* .projects{
    height: 90vh;
  } */
  
  #imgp, #imgp1 {
    height: 200px;
    width: 200px;
  }
  
  .skill-item, .project-item {
    width: 130px;
  }
  
  .skill-item img, .project-item img {
    height: 80px;
    width: 80px;
  }
  
  td .form,
  td .form1,
  td .form2 {
    width: 280px;
  }
  
}