@media (max-width: 1250px) {
  /* === Navigation === */

  #main-nav {
    padding: 0.6rem 1.5rem;
  }

  /* === Globals === */

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

  section {
    justify-items: center;
  }

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

  /* === Profile === */

  #profile {
    height: fit-content;
    min-height: auto;
    padding-bottom: 2vw;
  }

  .hero-chat {
    margin-top: 3rem;
  }

  .scroll-down {
    display: none;
  }

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

  .section_text {
    text-align: center;
    justify-items: center;
  }

  .section_text__p1 {
    padding-left: 0;
  }

  .title {
    text-align: center;
  }

  #profile .btn-container {
    justify-content: center;
  }

  /* === Skills === */

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* === Projects === */

  .projects-grid {
    grid-template-columns: repeat(2, 300px);
    justify-content: center;
  }

  /* === Testimonials === */
  .testimonials-container {
    flex-direction: column;
    max-width: 800px;
  }

  .testimonials {
    justify-content: center;
    width: 100%;
    height: auto;
    margin: 1rem;
  }

  .testimonial {
    background-color: var(--color-bg-card-highlight);
  }
}

@media (max-width: 700px) {
  /* === Profile Icons === */

  #profile .btn-container {
    flex-wrap: wrap;
    justify-content: center;
  }

  #profile .btn-container .icon-container {
    flex-basis: 100%;
    justify-content: center;
    margin-top: 0.5rem;
  }

  /* === Skills === */

  .skills-header {
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  /* === Navigation === */

  .logo {
    font-size: 1rem;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
  }

  .nav-toggle__bar {
    display: block;
    width: 24px;
    height: 3px;
    background-color: var(--color-text-primary);
    border-radius: 2px;
    transition:
      transform 300ms ease,
      opacity 300ms ease;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-bg-white);
    box-shadow: 0 4px 8px var(--color-shadow);
    padding: 1rem 2rem;
    gap: 1rem;
  }

  .nav-links.open {
    display: flex;
  }

  /* === Projects === */
  .projects-grid {
    grid-template-columns: 1fr;
  }

  /* === Testimonials === */
  #testimonials .section_text__p1 {
    text-align: center;
    width: 100%;
  }

  .testimonials-container {
    flex-direction: column;
    max-width: 300px;
  }

  .testimonials {
    flex-direction: column;
    justify-content: center;
    width: 100%;
    margin: 1rem;
  }

  .testimonial {
    max-width: 90%;
  }

  .testimonial.active {
    height: fit-content;
  }

  /* === Chat Agent === */

  .hero-chat {
    padding: 0 1rem;
  }

  .chat-container h2 {
    text-align: center;
  }

  .chat-subtitle {
    text-align: center;
  }

  .chat-message {
    max-width: 95%;
  }
}
