/* Medium screens and tablets */
@media screen and (max-width: 1400px) {
  #profile {
    height: auto;
    margin-bottom: 6rem;
    flex-direction: column;
    text-align: center;
  }

  .about-containers {
    flex-wrap: wrap;
    justify-content: center;
  }

  .section-container {
    flex-direction: column;
    align-items: center;
  }

  .section__pic-container {
    width: 300px;
    height: 300px;
    margin-bottom: 2rem;
  }

  #projects,
  #contact {
    height: fit-content;
  }
}

/* Small laptops and landscape tablets */
@media screen and (max-width: 1200px) {
  #desktop-nav {
    display: none;
  }

  #hamburger-nav {
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem;
  }

  .section-container,
  #profile {
    display: block;
    text-align: center;
  }

  section,
  .section-container {
    height: fit-content;
    margin: 0 5%;
  }

  .section__pic-container {
    width: 250px;
    height: 250px;
    margin: 0 auto 2rem;
  }

  .about-containers {
    margin-top: 2rem;
  }

  .arrow {
    display: none;
  }

  .btn-container {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Mobile screens */
@media screen and (max-width: 600px) {
  html {
    font-size: 90%;
  }

  nav {
    height: auto;
    flex-direction: column;
  }

  #profile {
    height: auto;
    margin-bottom: 3rem;
  }

  .section__pic-container {
    width: 70vw;
    height: 70vw;
  }

  .section__text__p2 {
    font-size: 1.2rem;
  }

  .title {
    font-size: 1.75rem;
  }

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

  article {
    font-size: 0.95rem;
    width: 100%;
  }

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

  .logo {
    font-size: 1.4rem;
  }

  .btn {
    width: 100%;
  }

  .about-containers,
  .btn-container,
  .contact-info-upper-container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .contact-info-container {
    margin: 0.5rem 0;
  }

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

  footer {
    padding: 1.5rem 0;
  }

  footer nav {
    flex-direction: column;
    margin-bottom: 1rem;
  }
}
