@media screen and (max-width: 1400px) {
  #profile {
    height: 83vh;
    margin-bottom: 6rem;
  }

  .about-containers {
    flex-wrap: wrap;
  }
}

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

  #experience,
  .experience-details-container {
    margin-top: 2rem;
  }

  #profile,
  .section-container,
  .top-section {
    display: block;
  }

  .arrow {
    display: none;
  }

  section,
  .section-container {
    height: fit-content;
  }

  section {
    margin: 0 5%;
  }

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

  .about-containers {
    margin-top: 0;
  }
}

@media screen and (max-width: 1200px) {
  #contact,
  footer {
    height: 10vh;
  }

  #profile {
    height: 83vh;
    margin-bottom: 0;
  }

  article {
    font-size: 1rem;
  }

  footer nav {
    height: fit-content;
    margin-bottom: 2rem;
  }
  
  #other-projects {
    margin-bottom: 2rem;
  }

  .title2 {
    font-size: 1.75rem;
  }

  .about-containers,
  .about-containers2,
  .contact-info-upper-container,
  .contact-form-top-row,
  .btn-container {
    flex-wrap: wrap;
  }

  .about-containers2,
  .contact-form-container {
    width: auto;
    justify-content: center;
  }

  .about-containers2 {
    margin: 2rem;
    gap: 0.5rem;
  }

  .contact-inputs {
    width: auto;
  }

  .contact-form-container textarea {
    width: 300px;
  }

  .contact-info-container,
  .paragraph-container {
    margin: 0;
  }

  .paragraph-container {
    margin-top: 1rem;
  }

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

  .paragraph-container p {
    margin-bottom: 1rem;
    line-height: 1.5rem;
    font-size: 1rem;
    text-align: justify;
  }

  .paragraph-container h3 {
    font-size: 1.25rem;
  }

  .image-caption__container p {
    font-size: 0.75rem;
    text-align: center;
  }

  .article-img {
    width: 100%;
  }

  .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,
  .paragraph-container iframe {
    width: auto;
    height: 46vw;
    justify-content: center;
  }

  .section__text__p2 {
    font-size: 1.25rem;
  }

  .title {
    font-size: 2rem;
  }

  .text-container {
    text-align: justify;
  }

  .slideshow-button__container button {
    font-weight: 600;
    padding: 0.5rem;
    width: 4rem;
    border-radius: 1rem;
  }
}
