/* Container */
.activity-container {
  min-height: 100vh;
  color: #fff;
  font-family: "Poppins", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Header */
.activity-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  box-sizing: border-box;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
}

.activity-header h2 {
  font-size: 40px;
  font-weight: 500;
}

.activity-header h2 span {
  font-weight: bold;
}

.logout-btn {
    background: #005670;
    color: #fff;
    border: none;
    padding: 10px 50px;
    border-radius: 25px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 700;
}
.logout-btn:hover {
  background: #002f2e;
}

.activity-grid {
  display: flex;
  flex-wrap: wrap;         /* allows multiple lines */
  gap: 20px;               /* spacing between items */
  justify-content: flex-start; /* aligns everything to the left */
  padding: 20px 0;
}

.activity-card {
  width: 180px;            /* fixed width for consistent layout */
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.activity-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.activity-card:hover {
  transform: scale(1.03);
}


/* Activity Grid */
/* .activity-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 40px 20px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.activity-card {
  border-radius: 20px;
  text-align: center;
  height: 170px;
  width: 150px;
  cursor: pointer;
  transition: transform 0.3s;
  text-decoration: none;
  color: inherit;
 }

.activity-card:hover {
  transform: scale(1.05);
}

.activity-card img {
  width: 100%;
  border-radius: 15px;
} */

.activity-card p {
  margin-top: 10px;
  font-weight: bold;
  color: #333;
}


@media (max-width:1130px) {
  .activity-header h2 {
    font-size: 34px;
    padding-left: 30px;
  }
}

@media (max-width:860px) {
  .activity-header h2 {
      font-size: 28px;
      padding-left: 15px;
  }
}

@media (max-width:576px) {
  .activity-header h2 {
      font-size: 24px;
      padding-left: 12px;
  }
}
/* Mobile responsive */
@media (max-width: 768px) {
  .activity-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .logout-btn {
    align-self: center;
  }

  .activity-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }

  .activity-card {
    width: 70%;
  }
}
