/**************************/
/* RESPONSIVE MEDIA QUERIES */
/**************************/

/* Tablets and smaller (<= 1024px) */
@media (max-width: 1024px) {
  .skills {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .home-heading-primary {
    font-size: 4.5rem;
  }

  .home-heading-secondary {
    font-size: 1.8rem;
  }
}

/* Large phones and smaller (<= 768px) */
@media (max-width: 768px) {
  .main-nav-list {
    gap: 2rem;
  }

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

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

  .home-heading-primary {
    font-size: 3.2rem;
  }

  .home-heading-secondary {
    font-size: 1.6rem;
  }

  .home-description {
    font-size: 1.6rem;
  }

  .about-me-section {
    padding: 1.5rem;
  }
}

/* Small phones (<= 480px) */
@media (max-width: 480px) {
  .header {
    height: auto;
    padding: 1rem;
  }

  .main-nav-list {
    flex-direction: column;
    gap: 1rem;
  }

  .home-heading-primary {
    font-size: 2.4rem;
  }

  .home-heading-secondary {
    font-size: 1.4rem;
  }

  .home-description {
    font-size: 1.4rem;
  }

  .project-text {
    font-size: 1rem;
    max-width: 100%;
    text-align: center;
  }

  .project-buttons {
    flex-direction: column;
  }

  .src-project {
    width: 100%;
  }
}
