@media screen and (max-width: 1400px) {
  #profile {
    height: 83vh;
    margin-bottom: 6rem;
  }
  .about-containers {
    margin-top: 0;
    flex-wrap: wrap;
  }
  #contact,
  #projects {
    height: fit-content;
  }

  #interests
  .interests-container {
    display: flex;  
    flex-wrap: wrap; 
    justify-content: space-around; 
  }

  .interest-entry {
    width: calc(18% - 5px); 
    margin: 2px; 
  }
  
  .experience-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; 
    margin: 0 -50px; 
  }

  .job-entry {
    width: calc(45% - 5px); 
    margin: 15px; 
    padding: 15px; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); 
  }

  .job-title,
  .job-duration,
  .job-description {
    font-size: 0.95rem; 
  }

  .job-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 5px; 
    margin-top: 8px; 
  }

  .job-skills span {
    font-size: 0.75rem; 
    padding: 2px 8px; 
    border-radius: 5px;
    background-color: #e4e4e4; 
    box-shadow: none; 
  }

}

@media screen and (max-width: 1200px) {
  #desktop-nav {
    display: none;
  }
  #hamburger-nav {
    display: flex;
  }
  #experience {
      padding: 2rem; 
  }

  .experience-container {
      justify-content: space-around; 
  }

  .job-entry {
      width: calc(33.333% - 20px); 
      margin-bottom: 2rem; 
  }

  .job-entry:nth-child(even) {
      margin-left: 0; 
  }

  .job-description {
      font-size: 0.95rem; 
  }

  .job-skills span {
      font-size: 0.75rem; 
  }
  
  #profile,
  .section-container {
    display: block;
  }
  .arrow {
    display: none;
  }
  section,
  .section-container {
    height: fit-content;
  }
  section {
    margin: 0 3%;
  }
  .section__pic-container {
    width: 275px;
    height: 275px;
    margin: 0 auto 2rem;
  }
  .about-containers {
    margin-top: 0;
  }

  #interests
  .interests-container {
    display: flex;  
    flex-wrap: wrap; 
    justify-content: space-around;
  }

  .interest-entry {
    width: calc(18% - 5px); 
    margin: 2px; 
  }

}

@media screen and (max-width: 600px) {
  #contact,
  footer {
    height: 40vh;
  }
  #profile {
    height: 83vh;
    margin-bottom: 0;
  }
  article {
    font-size: 1rem;
  }
  footer nav {
    height: fit-content;
    margin-bottom: 2rem;
  }
  .about-containers,
  .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;
  }
  .experience-sub-title {
    font-size: 1.25rem;
  }
  .logo {
    font-size: 1.5rem;
  }
  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .section__pic-container {
    width: auto;
    height: 46vw;
    justify-content: center;
  }
  .section_text_p2 {
    font-size: 1.25rem;
  }
  .title {
    font-size: 2rem;
  }
  .text-container {
    text-align: justify;
  }

  #experience {
    padding: 2rem 2rem; 
  }

  .experience-container {
    display: flex;
  }

  .job-entry {
    width: 90%; 
    margin-bottom: 20px; 
    padding: 15px; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); 
    background-color: #fff; 
    border-radius: 8px; 
  }

  .job-description {
    font-size: 0.9rem; 
  }

  .job-skills span {
    padding: 5px 10px; 
    font-size: 0.8rem; 
    margin: 2px; 
    background-color: #e4e4e4; 
    border-radius: 4px; 
  }

  .job-title {
    font-size: 1rem; 
  }

  .job-duration {
    font-size: 0.85rem; 
    color: #666; 
  }

  .arrow {
    width: 50px; 
    height: auto;
  }

  .interest-entry {
      width: 100%; 
      min-height: 200px; 
  }

}

@media screen and (max-width: 768px) { 
  .hamburger-menu {
      z-index: 10;
  }
  .interest-entry {
      width: 100%; 
  }
}