* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 100%;

  }
  
  body {
    width: 100%;
    font-family: 'Gill Sans', 'Gill Sans MT', 'Trebuchet MS', sans-serif, sans-serif;
    background-color: rgba(0, 0, 50, 0.9); /* Dark blue with transparency */
    color: #fff; /* White text for contrast */
  }
  
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: rgba(2, 2, 25, 0.8); /* Slightly darker for the header */
    color: #0287f3;
    overflow: hidden;
    background-color: #DFF2EB;
  }
  
 
  nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
  }
  
  nav ul li {
    border-bottom: 2px  #DFF2EB solid;
    text-align: center;
    margin-left: 25px;
    width: 80px;
  }
  nav ul li:hover {
    border-bottom: 2px rgb(0, 0, 0) solid;
    margin-left: 25px;
    width: 80px;
  }
  
  nav ul li a {
    color: #000000;
    text-decoration: none;
  }
  @media(max-width:550px){
    header{
      flex-direction: column;
    }
    .about>p{
      width: 100%;
    }
    .project-gallery{
      /* grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)) !important;  */
      grid-template-columns:1fr !important;
    }
    
  }
  @media(max-width:321px){
    nav ul li {
      margin-left: 15px !important;
      width: 50px !important;
    }
    nav ul li:hover {
    
      margin-left: 15px !important;
      width: 40px !important;
    }
  }
  
#tosee{
  padding: 10px;
  display: flex;
  background-color: #DFF2EB;
  justify-content:center;
  width: 100%;
  color: #000000;
}
#name{
  width: 30%;
  border-radius: 20px;
  border-right: 5px black solid;
  border-bottom: 5px black solid;
}
#idm{
  width: 40%;
  height: 10rem;
  align-self: center;
  text-align: center;
 display: flex;
 flex-direction: column;
}
#contactnow{
  width: 40%;
  align-self:center;
  margin-top: 10%;
}
#contactnow>button{
  height: 30px;
  background-color: yellow;
  border-radius: 10px;
  font-weight: bold;
}
#contactnow>button:hover{
  height: 30px;
  font-weight: lighter;
  background-color: rgb(230, 230, 141);
  border-radius: 10px;
}

  #about {
    padding: 40px;
    padding-bottom: 50px;
    background-color: #B9E5E8; 
    color: #000000;/* About section with transparent dark blue */
  }
  
 #abouthead{
  margin: 0;
  padding: 0;
  width: 70px;
  text-align: center;
  border-bottom: 2px rgb(0, 0, 0) solid;
 }
  p{
   width: 50%;
    line-height: 100%;
  }
  .about
{
  display: flex;
  justify-content: center;
}
  #skills {
    text-align: center;
    padding: 50px;
    background-color: #7ab2d3; /* Darker shade for skills section */
    overflow: hidden; /* Hide overflow to prevent scrollbars */
    white-space: nowrap;
    color: #000000;
  }
  #skill{
    display: flex;
  }
  
  .skill-logos {
    margin-top: 30px;
    display: flex;
    width: fit-content;
    justify-content: space-between;
    animation: moveLogos 8s linear infinite;
  }
  
  .skill-logos img {

    object-fit:cover;
    width: 100px;
    height: 100px;
    margin: 0 10px;
  }
  
  @keyframes moveLogos {
    from { transform: translateX(0%); }
    to{ transform: translateX(-100%); }
  }
  
  #projects {
    padding: 50px;
    background-color: #F3F3E0;
    text-align: center;
    color: #000000;
  }
  a{
    text-decoration: none;
  }
  
  
  .project-gallery {
    margin-top: 20px;
    display: grid; /* Use CSS Grid */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Responsive grid */
    gap: 20px; /* Space between projects */
  }
  
  .project {
    position: relative; /* To position the project-info absolutely */
    background-color: rgba(255, 255, 255, 0.1); /* Optional: Background for project */
    border-radius: 8px; /* Optional: Rounded corners */
    overflow: hidden; /* Hide overflow */
    border: 2px solid rgba(255, 255, 255, 0);
    border-bottom: 2px solid black;
    height: 480px;
    width: fit-content;
  }
  .project:hover{
    border: 2px solid black;
  
  }
  .project video {
    width: 100%; /* Make video fill the container */
    height: auto; /* Maintain aspect ratio */
  }
  .project-info{
    color: rgb(0, 0, 0);
    text-align: left;
  }
  .project-info>p{
    width: 100%;
  }
  #education {
    padding: 50px;
    background-color: #4A628A; /* Transparent dark blue for education section */
  }
  
  .education-timeline {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
   justify-content: center;
  }
  
  .education-item {
    padding: 10px;
    margin: 10px 0;
    border-left: 2px solid #00eaff; /* White for contrast */
    padding-left: 20px;
    
  }
  
  
  footer {
    display: flex;
    justify-content: center;
    padding: 20px;
    background-color: rgba(0, 0, 50, 0.8); /* Transparent dark blue for footer */
  }
  
  footer a {
    margin: 0 10px;
    color: #00eaff;
  }
  .a:hover{
    color: white;
  }
  .a{
    width: 50px;
    margin: 10px;
  }
  footer img {
    width: 30px;
    height: 30px;
  }
  @media(max-width:800px){
    #tosee{
      
      justify-content:flex-start;
      
    }
    #idm{
      width: 100%;}
      .about>p{
        width: 80%;
      }
  }
  @media(max-width:570px){
    #tosee{
      flex-direction: column; 
      align-items: center;
      
    }
    #idm{
      width: 100%;}
      .about>p{
        width: 100%;
      }
  }
  @media(max-width:330px){
    #projects{
      padding: 10px;
    }
    #about{
      padding: 10px;
    }
    #idm>h1{
      font-size: medium;
    }
  }
  .scroll{
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
