@media screen and (max-width: 1200px) {
  #desktop-nav {
    display: none;
  }

  #hamburger-nav {
    display: flex;
  }

  nav {
    width: min(100% - 2rem, 900px);
  }

  section {
    width: min(100% - 2rem, 900px);
    min-height: fit-content;
    padding: 4.5rem 0;
  }

  #profile {
    grid-template-columns: 1fr;
    min-height: fit-content;
    gap: 2.5rem;
    text-align: center;
  }

  .section__pic-container {
    order: 1;
    width: min(360px, 84vw);
    height: min(420px, 96vw);
    margin: 0 auto;
  }

  .section__text {
    order: 2;
    max-width: 100%;
  }

  .section__text__p1,
  .hero-summary {
    margin-right: auto;
    margin-left: auto;
  }

  .btn-container,
  #socials-container {
    justify-content: center;
  }

  .section-container,
  .about-containers {
    flex-direction: column;
  }

  .experience-details-container .about-containers {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 760px) {
  .article-container,
  .contact-info-upper-container {
    grid-template-columns: 1fr;
  }

}

@media screen and (max-width: 600px) {
  nav {
    height: 4.5rem;
  }

  .logo {
    font-size: 1.1rem;
  }

  section {
    width: min(100% - 1.25rem, 900px);
    padding: 3.5rem 0;
  }

  .title {
    font-size: 3rem;
  }

  .section__text__p2 {
    font-size: 1.15rem;
  }

  .hero-summary {
    font-size: 0.95rem;
  }

  .details-container {
    padding: 1.2rem;
  }

  .experience-sub-title {
    font-size: 1.18rem;
  }

  article {
    padding: 0.85rem;
  }

  .btn {
    width: 100%;
  }

  .contact-info-container p,
  .nav-links li a {
    font-size: 0.9rem;
  }

  footer nav {
    justify-content: center;
  }

  footer .nav-links {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
  }
}
