/* Media query for screens below 1100px */
@media (max-width: 1100px) {
  .contact {
    width: 90%;
    padding: 20px;
    flex-direction: column;
    gap: 30px;
  }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  #home {
    padding: 12px 10px;
  }
  h1 {
    font-size: 2em; /* Smaller heading on mobile */
  }

  nav a {
    padding: 0.2em;
    font-size: 1em;
  }

  .lead {
    font-size: 1em; /* Smaller subheading on mobile */
  }

  .skills {
    justify-content: center;
  }

  .skill {
    flex: 100%;
    max-width: 100%;
  }
}

@media (max-width: 350px) {
  nav {
    flex-wrap: wrap;
  }
}
