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

@media screen and (max-width: 1080px) {
  article#article {
    .article-text {
      width: 70vw !important;
      max-width: 0 auto;
    }
    .details-container {
      padding: 2.5rem 3rem;
    }
  }

  #open_projects,
  #experience,
  .experience-details-container {
    margin-top: 2rem;
  }
  .arrow {
    display: none;
  }
  section,
  .section-container {
    height: fit-content;
  }
  section {
    margin: 0 5%;
  }
  .about-containers {
    margin-top: 0;
  }

  #about {
    .text-container {
      max-width: 470px;
      margin: 0 auto;
    }

    .about-containers {
      gap: 0.5rem;
    }
  }
}

@media screen and (max-width: 920px) {
  article#article {
    padding-top: 0vh;

    .experience-details-container {
      margin-top: 0rem !important;
    }
    .article-text {
      width: 85vw !important;
      max-width: 0 auto;
    }
    .details-container {
      padding: 2rem 1.5rem;
    }
  }
  #desktop-nav {
    display: none;
  }
  #hamburger-nav {
    display: flex;
  }
  #profile,
  .section-container {
    display: block;
  }
  .section__pic-container {
    width: 275px;
    height: 275px;
    margin: 0 auto 2rem;
  }
  #contact {
    height: 75vh;
  }
  footer {
    height: 20vh;
  }
  #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: 255px;
    /* height: 46vw; */
    /* height: 57vw; */
    justify-content: center;
  }
  .section__text__p2 {
    font-size: 1.25rem;
  }
  .title {
    font-size: 2rem;
  }
  .text-container {
    text-align: justify;
  }
  .section__text .title {
    color: white;
    text-shadow: 1px 1px 10px black;
  }

  #profile .section__text__p1 {
    color: rgb(170, 170, 170);
    text-shadow: 1px 1px 10px black;
  }

  .section__text__p2 {
    color: rgb(220, 220, 220);
    text-shadow: 1px 1px 8px black;
    /* margin-bottom: 20px; */
  }

  .section__text__p3 {
    color: var(--button-background);
    margin-top: 30px;
    margin-bottom: 10px;
  }

  .about-containers {
    gap: 0.5rem;
  }

  .about-containers,
  .about-details-container {
    display: flex;
  }

  .details-container {
    /* margin: 10px; */
    padding: 0.8rem;
  }

  .experience-details-container {
    display: block;
  }

  #about {
    .text-container .first_paragraph {
      width: 400px;
      text-align: left;
      font-size: 0.95rem;
    }

    .text-container .second_paragraph {
      text-align: left;
      width: 360px;
      font-size: 0.95rem;
      padding-right: 9em;
    }
  }

  /* #open_projects {
    .about-containers {
      flex-wrap: wrap;
    }

    .details-container {
      padding: 1.8rem 1.5rem ;
      flex: 1 1 100%;
      max-width: 100%;
    }
  } */

  #experience,
  #open_projects,
  #articles {
    .about-containers,
    .about-details-container {
      display: block;
    }
    .details-container {
      margin-top: 15px;
      padding: 1.5rem 1rem;
      /* padding-left: 0.5rem; */
    }

    .article-container {
      gap: 1rem;
    }

    .details-container article div {
      width: 110px;
    }
  }

  footer .nav-links {
    gap: 1rem;
    flex-direction: row;
  }
  footer nav li:last-child {
    padding: 0;
  }

  .subtitle {
    text-align: center;
    margin-bottom: 0.5em;
  }

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

  section {
    padding-top: 2vh;
  }

  .subtitle {
    font-size: 1rem !important;
  }
}

@media screen and (max-width: 400px) {
  #profile {
    height: 88vh;
  }

  .profile-picture {
    width: 350px;
    height: 350px;
  }
  #experience {
    .details-container {
      padding: 1rem 0.1rem;
    }
  }

  #open_projects,
  #articles {
    .details-container {
      padding: 1.5rem 0.5rem;
    }
  }

  #experience,
  #open_projects,
  #articles {
    .details-container {
      margin-top: 15px;
      padding-left: 0.6rem;
    }

    p {
      font-size: 0.7rem;
    }
    h3 {
      font-size: 0.9em;
    }

    .article-container {
      gap: 0.01rem;
    }

    article {
      gap: 0rem;
      margin-bottom: 0.7rem;
    }
  }

  #about {
    .text-container {
      /* max-width: 300px; */
      margin: 0 auto;
    }

    .text-container .first_paragraph {
      width: 365px;
      text-align: left;
      font-size: 0.87rem;
    }

    .text-container .second_paragraph {
      text-align: left;
      width: 365px;
      padding-right: 10em;
      font-size: 0.9rem;
    }

    .details-container p {
      font-size: 0.85rem;
      line-height: 1rem;
      margin-top: 7px;
    }

    .details-container h3 {
      font-size: 0.9rem;
    }
  }

  .section__pic-container {
    height: 200px;
  }

  .section__text__p3 {
    padding: 0;
  }

  .subtitle {
    font-size: 0.9rem !important;
  }
}
