/* communites  */

.clubs {
  padding: 2rem 6rem;
  align-items: center;
  justify-content: center;
}

.clubs-heading h1 {
  text-align: center;
  color: var(--secondary, #ffcd39);
  font-size: 1.5rem;
  font-family: var(--font-title);
  font-weight: 700;
  padding-bottom: 1.5rem;
}

.clubs-section {
  display: flex;
  align-items: flex-start;
  gap: 4rem;
  justify-content: center;
}

.club {
  display: flex;
  padding: 0.75rem 1.25rem;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  border-radius: 8px;
  background: #b6b6ff;
}

.club h2 {
  color: var(--primary, #3e3e82);
  font-size: 1.5rem;
  font-family: var(--font-title);
  font-weight: 700;
}

@media screen and (max-width: 1024px) {
  .clubs {
    padding: 1.5rem 3rem;
  }

  .clubs-section {
    gap: 3rem;
  }

  .club h2 {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 768px) {
  .clubs{
    padding: 1rem 2rem;
  }
  .club {
    display: flex;
    padding: 0.5rem 1rem;
    gap: 1rem;
    border-radius: 8px;
  }
  .clubs-heading h1{
    font-size: 1.2rem;
    font-weight: 700;
    text-align: left;
    padding-bottom: 0.7rem;
  }
  .clubs-section{
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .club h2{
    font-size: 1.2rem;
  }
}


@media screen and (max-width: 426px) {
  .clubs{
    padding: 0.5rem 0.5rem;
  }
  .club {
    display: flex;
    padding: 0.5rem 0.5rem;
    gap: 1rem;
    border-radius: 8px;
  }
  .clubs-heading h1{
    font-size: 1.2rem;
    font-weight: 700;
    text-align: left;
    padding-bottom: 0.7rem;
  }
  .clubs-section{
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .club h2{
    font-size: 0.8rem;
  }

}

