/* GENERAL RESPONSIVE SETTINGS */

/* Large Screens - 1400px */
@media screen and (max-width: 1400px) {
    #profile {
      height: 83vh;
      margin-bottom: 6rem;
    }
    .about-containers {
      flex-wrap: wrap;
    }
    .section_pic-container-2 {
        max-width: 1200px; /* Expand the container */
        max-height: 800px;
        padding: 20px; /* Add more padding for larger screens */
    }

    .section_pic-container-2 img {
        border-radius: 15px; /* Larger rounding for a modern look */
    }
}
  
  
  /* Medium Screens - 1200px */
  @media screen and (max-width: 1200px) {
    /* Navigation Adjustments */
    #desktop-nav {
      display: none;
    }
    #hamburger-nav {
      display: flex;
    }
    .menu-links {
      right: 0;
      left: unset;
    }
  
    /* Section Adjustments */
    #experience,
    .experience-details-container {
      margin-top: 2rem;
    }
    #profile,
    .section-container {
      display: block;
    }
    .arrow {
      display: none;
    }
  
    section,
    .section-container {
      height: fit-content;
    }
    section {
      margin: 0 5%;
    }
    .section_pic-container {
      height: 275px;
      width: 275px;
      margin: 0 auto 2rem;
    }
    .about-containers {
      margin-top: 0;
    }
  }
  
  /* Small Screens - 600px */
  @media screen and (max-width: 600px) {
    /* Navigation Adjustments */
    .menu-links {
      width: 100%;
      
    }
    .menu-links a {
      text-align: center;
    }
  
    /* Contact and Footer Adjustments */
    #contact,
    footer {
      height: 40vh;
    }
    #profile {
      height: 83vh;
      margin-bottom: 0;
    }
    .section_pic-container-2 {
        max-width: 90%; /* Use 90% of the screen width */
        max-height: 400px;
        padding: 5px;
    }

    .section_pic-container-2 img {
        border-radius: 5px; /* Smaller rounding */
    }
    /* Text and Font Adjustments */
    article {
      font-size: 1rem;
    }
    .experience-sub-title {
      font-size: 1.25rem;
    }
    .logo {
      font-size: 1.5rem;
    }
  
    footer nav {
      height: fit-content;
      margin-bottom: 2rem;
    }
  
    /* Flexible Wrapping */
    .about-container,
    .contact-info-upper-container,
    .btn-container {
      flex-wrap: wrap;
    }
  
    .contact-info-container {
      margin: 0;
    }
    .contact-info-container p,
    .nav-links li a {
      font-size: 1rem;
    }
  
    /* Section Adjustments */
    .nav-links {
      flex-direction: column;
      gap: 0.5rem;
      text-align: center;
    }
  
    .section_pic-container {
      width: auto;
      height: 46vh;
      justify-content: center;
    }
    .section_text_p2 {
      font-size: 1.2rem;
    }
    .title {
      font-size: 2rem;
    }
    .text-container {
      text-align: justify;
    }
  }
  
  /* Tablet Screens - 768px */
  @media screen and (max-width: 768px) {
    #projects {
      padding: 2rem 1rem;
    }
  
    .project-card {
      border-radius: 1rem;
    }
  
    .project-card img {
      height: 150px;
    }
  
    .project-title {
      font-size: 1.25rem;
    }
  
    .project-description {
      font-size: 0.9rem;
    }
  
    .project-btn {
      font-size: 0.9rem;
      padding: 0.5rem 1rem;
    }
  }
  @media screen and (max-width: 412px) {
    /* General Section Adjustments */
    body {
      padding: 0;
      margin: 0;
      overflow-x: hidden; /* Prevent horizontal scrolling */
    }
  
    section {
      margin: 0 2%;
      padding: 1rem 0;
    }
    .section_pic-container-2 {
        max-width: 60%; /* Full-width for the container */
        max-height: 300px;
        padding: 2px; /* Minimized padding */
    }

    .section_pic-container-2 img {
        border-radius: 2px; /* Almost no rounding */
        border-radius: 20px;
        
    }
  
    .section-container {
      flex-direction: column;
      gap: 1.5rem;
    }
  
    /* Navigation */
    #desktop-nav {
      display: none;
    }
  
    #hamburger-nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem;
      background-color: white;
    }
  
    .menu-links {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      display: none;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 1rem;
      background: white;
      z-index: 1000;
    }
  
    .menu-links.open {
      display: flex;
    }
  
    .menu-links a {
      font-size: 1.25rem;
      color: black;
    }
  
    .hamburger-icon {
      height: 30px;
      width: 30px;
    }
  
    .hamburger-icon span {
      height: 3px;
      background: black;
    }
  
    /* Profile Section */
    #profile {
      margin-bottom: 0.5rem; /* Reduced margin to decrease space */
      text-align: center;
    }
  
    .section_pic-container {
      width: 250px;
      height: 250px;
      margin: 0 auto;
    }
  
    .section_text_p2 {
      font-size: 1.25rem;
    }
  
    /* About Section */
    #about {
      margin-top: 0;
    }
  
    .about-containers {
      flex-wrap: wrap;
      gap: 1rem;
    }
  
    .about-container {
      flex: 1 1 100%;
      padding: 1rem;
      text-align: center;
    }
  
    /* Reducing margin between profile and about sections */
    #about {
      margin-top: -1rem; /* Negative margin to reduce space */
    }
    
    /* Projects Section */
    #projects {
      padding: 1rem;
    }
  
    .project-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
      padding: 1rem;
      border-radius: 1rem;
      box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    }
  
    .project-card img {
      width: 100%;
      max-height: 200px;
      border-radius: 1rem;
    }
  
    .project-title {
      font-size: 1.2rem;
    }
  
    .project-description {
      font-size: 1rem;
      text-align: justify;
    }
  
    .project-btn {
      font-size: 0.9rem;
      padding: 0.5rem 1rem;
      background-color: black;
      color: white;
      border-radius: 1rem;
    }
  
    /* Experience Section */
    .experience-details-container {
      flex-direction: column;
      gap: 1rem;
      margin-top: 2rem;
    }
  
    article {
      width: 100%;
      justify-content: center;
      text-align: center;
    }
  
    .experience-sub-title {
      font-size: 1.5rem;
    }
  
    /* Contact Section */
    #contact {
      height: auto;
      text-align: center;
    }
  
    .contact-info-container {
      flex-wrap: wrap;
      gap: 0.5rem;
    }
  
    .contact-info-container p {
      font-size: 1rem;
    }
  
    /* Footer Section */
    footer {
      text-align: center;
      padding: 1rem 0;
    }
  
    footer nav {
      flex-direction: column;
      gap: 0.5rem;
    }
  
    .nav-links li {
      margin: 0.5rem 0;
    }
  }
  