/* about me */

  .about {
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    min-height: 100vh;
    width: 100%;
    padding: 2rem;
    background-color: black;
  }

  .about h1,
  .about h2,
  .about p {
    color: white;
  }

  #aboutSection .about .hidden {
    display: none;
  }
  
  .about picture {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    max-width: 50%;
  }

  .about picture img {
    max-width: 30%;
  }


  /* .about picture img {
    animation: grow 1.5s ease-out; 
    animation-fill-mode: forwards; 
  } */


.animate-on-scroll {
  opacity: 0; /* Hidden initially */
  transform: translateY(50px); /* Positioned for animation start */
  transition: opacity 0.5s ease, transform 0.5s ease; /* Smooth transition */
}

.animate-on-scroll.active {
  animation: fadeIn 4s ease-out forwards; /* Trigger animation */
}


  #aboutSection .shortContent {
    animation: grow 1.5s ease-in-out; 
    animation-fill-mode: forwards; 
  }

  .about div {
    flex: 1;
  }
  
  .about h1 {
    text-align: start;
  }

  .sub-sub-about a {
    color: rgb(173, 179, 230);
  }

  .about-me-social-icons {
    display: flex;
    justify-content: flex-start;
    align-items: center;          
    gap: 40px;    
    margin-top: 20px; 
  }

  .about-me-social-icons i {
    font-size: clamp(20px, 2vw, 30px);
    /* color: var(--textColor); */
    color: #fff;
  }
  
  .about-me-social-icons i:hover {
    color: var(--hoverColor);
  }
  
  @media screen and (max-width: 768px) {

    .about {
      flex-direction: column;
      justify-content: center; 
    }

    .about picture img,
    .about div {
      max-width: 100%;
    }
  
    .about p, .about h1, 
    .about h2, .about { 
      text-align: center;
    }
    

  .about-me-social-icons {
    justify-content: center;
  }

  }
  