@media screen and (max-width: 1400px) {
    #profile {
      height: auto;
      margin-bottom: 6rem;
    }
    .about-containers {
      flex-wrap: wrap;
    }
  
  }
  
  @media screen and (max-width: 1200px) {
    #profile{
      
      height: auto;
      margin-bottom: 6rem;
    }
    #desktop-nav {
      display: none;
    }
    #hamburger-nav {
      display: flex;
    }
    #sop,
    .experience-details-container {
      margin-top: 2rem;
    }
    #profile,
    .section-container {
      display: block;
    }
    .arrow {
      display: none;
    }
    section,
    .section-container {
      height: fit-content;
    }
    section {
      margin: 0 5%;
    }
    .section__pic-container {
      width: 200px;
      height: 275px;
      margin: 0 auto 2rem;
    }
    .about-containers {
      margin-top: 0;
    }
  
    #about {
      margin: 5rem;
    }
    .btn{
      width: 6.5rem;
      border-radius: 2rem;
    }
    .carousel-wrapper {
      padding: 0 40px;
    }
  
    #projects-carousel .details-container {
      flex: 0 0 calc((100% - 2rem) / 2);
      min-width: calc((100% - 2rem) / 2);
      max-width: calc((100% - 2rem) / 2);
    }
  }
  
  @media screen and (max-width: 900px) {
    #about {
      padding: 0 5%;
    }
    .about-containers {
      flex-direction: column;
      align-items: center;
    }
    .details-container {
      max-width: 100%;
    }
    .section__pic-container {
      width: 100%;
      height: auto;
      max-width: 350px;
    }
    .text-container {
      text-align: center;
    }
          #section {
            margin: 5rem;
          }
  }
  
  @media screen and (max-width: 768px) {
    #contact,
    footer {
      height: auto;
      padding: 2rem 0;
    }
    #profile {
      height: auto;
      margin-bottom: 0;
    }
    #about{
      margin: 5rem;
    }
    #sop {
      margin-top: 5rem;
    }
    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: 100px;
      height: 175px;
      margin: 0 auto 2rem;
    }
    .section__text__p2 {
      font-size: 1.25rem;
    }
    .title {
      font-size: 2rem;
    }
    .text-container {
      text-align: justify;
      font-size: 0.9rem;
    }
    .section-container {
      margin: 5rem
    }
  
    #section {
      margin: 5rem;
    }
    .carousel-wrapper {
      padding: 0 30px;
    }
  
    #projects-carousel .details-container {
      flex: 0 0 100%;
      min-width: 100%;
      max-width: 100%;
    }
  
    .carousel-btn {
      width: 35px;
      height: 35px;
      font-size: 1rem;
    }
  }