@media screen and (max-width: 1400px) {
    #profile {
        height: 83vh;
        margin-bottom: 6rem;

    }
    .about-details{
        flex-wrap: wrap;

    }
} 







@media screen and (max-width: 1200px) {

    #nav-container{
        display:none;
    }
    #hamburger-nav{ 
        display: flex;
    }

    #skills, .skills-details {
        margin-top: 2rem;
    }
    #profile, .main-container {
        display: block;
    }

    .arrow {
        display: none;
    }

    section, .content {
        height: fit-content;
    }

    section{
        margin: 0 5%;
    }

    .main-container img {
    float: none;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

#profile .content {
    width: 100%;
    padding: 1rem 0;
    text-align: center;
}

#profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#profile .btn {
    margin-top: 1rem;
}
}

@media (max-width: 768px) {
  #profile .main-container {
    flex-direction: column;
    align-items: center;
  }
  #profile img {
    max-width: 100%;
  }
  .profile-text {
    width: 100%;
    text-align: center;
  }

   .skills-details {
    flex-direction: column;
    align-items: center;
    gap: 2rem; /* spacing between text and boxes */
  }

  .skills-details .text {
    width: 100%;
    text-align: center;
  }

  .skills-details .boxes {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .box {
    text-align: center;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 10px;
  }

  .box .topic {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .box .per {
    font-weight: bold;
    font-size: 1rem;
  }

  .skills .topic {
    margin-bottom: 1rem; /* space below Proficiency Meets Passion */
  }


  #profile img {
    width: 0%;
    margin-top: 1rem;
  }

  .logo {
    font-size: 1.5rem;
  }
}


