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

@media screen and (min-width: 1024px) {
  /* Desktop */
  section {
    margin: 0 10rem;
  }

  nav {
    padding: 0;
  }

  .nav-links {
    font-size: 1.5rem;
  }

  .logo {
    font-size: 2rem;
  }

  .about-summary-text {
    padding: 0 2rem;
  }

  p#tidbit-content {
    padding: 0px 1.5rem;
    font-size: 1.1rem;
    animation: typing 3.5s steps(55, end) forwards,
      blink-caret 0.9s step-end infinite;
  }
}

@media screen and (min-width: 768px) {
  /* Tablet and larger */
  section {
    margin: 0 5rem;
  }

  #profile {
    flex-direction: row;
    height: 80vh;
    gap: 5rem;
  }

  .section__pic-container {
    height: 400px;
    width: 400px;
  }

  .section__text {
    text-align: left;
    align-self: center;
  }

  .title {
    font-size: 3rem;
  }

  .section__text__p2 {
    font-size: 1.75rem;
  }

  .about-containers {
    flex-direction: row;
  }

  .details-container {
    min-width: auto;
  }

  .article-container {
    justify-content: space-around;
  }

  .project-img {
    max-height: 245px;
  }

  p#tidbit-content {
    padding: 0px 1rem;
    font-size: 1rem;
    animation: typing 4s steps(50, end) forwards,
      blink-caret 0.9s step-end infinite;
  }
}

@media screen and (max-width: 767px) {
  /* Mobile */
  #desktop-nav {
    display: none;
  }

  #hamburger-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
  }

  .logo {
    font-size: 1.5rem;
  }

  .menu-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
  }

  .menu-links.open {
    transform: translateX(0);
    max-height: none;
  }

  .hamburger-icon {
    z-index: 101;
  }

  .section__pic-container {
    height: 250px;
    width: 250px;
  }

  .title {
    font-size: 2rem;
  }

  .section__text__p2 {
    font-size: 1.25rem;
  }

  .btn {
    width: 7rem;
    padding: 0.7rem;
  }

  .details-container {
    min-width: 100%;
  }

  .arrow {
    right: 0;
  }

  p#tidbit-content {
    padding: 0px 1rem;
    font-size: 1rem;
    animation: typing 4s steps(50, end) forwards,
      blink-caret 0.9s step-end infinite;
  }
}

@media screen and (max-width: 480px) {
  /* Small mobile */
  .section__pic-container {
    height: 200px;
    width: 200px;
  }

  .title {
    font-size: 1.8rem;
  }

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

  .btn {
    width: 100%;
  }

  .contact-info-upper-container {
    flex-direction: column;
    align-items: center;
  }

  .contact-info-container {
    flex-direction: column;
    text-align: center;
  }

  p#tidbit-content {
    padding: 0px 0.5rem;
    font-size: 0.95rem;
    animation: typing 4.5s steps(45, end) forwards,
      blink-caret 0.9s step-end infinite;
  }
}
