/* @media screen and (max-width: 1400px) {
  #profile {
    height: 83vh;
    margin-bottom: 6rem;
  }
  .about-containers {
    flex-wrap: wrap;
  }
  #contact,
  #projects {
    height: fit-content;
  }
} */
@media screen and (max-width: 1200px) {
  #desktop-nav {
    display: none;
  }
  #hamburger-nav {
    display: flex;
  }
  
  #profile,
  .section-container {
    display: block;
  }
  
  section,
  .section-container {
    height: fit-content;
  }
  
  section {
    margin: 0 5%;
  }
  
  /* Hide contents panel on smaller screens */
  .contents-panel {
    display: none;
  }

  .main-container {
    margin: 0 5%;
  }
  
  /* Adjust main container to use full width */
  .content-text-container {
    margin: 0 0;
  }


  /* Make science figures use full width on smaller screens */
  .science-figure {
    max-width: 100% !important;
  }
}

@media screen and (max-width: 600px) {
  .main-container {
    margin: 0 1rem; 
    padding-top: 2vh; 
  }
  
  
  .logo {
    font-size: 1.5rem;
  }
  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  
  .contents-panel {
    display: none;
  }

  .content-text-container p {
    font-size: 16px;
    text-align: left;
  }

  .paragraph-indent li {
    font-size: 16px;
    text-align: left;
  }

  .figure-caption {
    font-size: 14px;
    text-align: left;
  }

  .publication li {
    font-size: 16px;
  }

  h2 {
    font-size: 18px;
  }
}