/* App cards */
.app {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 1rem;
}

/* Make each icon a guaranteed square */
.app-icon {
  width: 100%;
  max-width: 10em;
  aspect-ratio: 1 / 1;
  height: auto;            /* let aspect-ratio drive height */
  border-radius: 22%;
  object-fit: cover;       /* keep image from stretching */
  display: block;
}

.app-name {
  margin-top: 0.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
}

/* Kill blue link styling + underline/decoration */
a.app-link,
a.app-link:visited,
a.app-link:hover,
a.app-link:active {
  color: inherit;
  text-decoration: none;
  border-bottom: none;
  background: none;
}

a.app-link * {
  text-decoration: none !important;
}

/* Footer */
footer {
  margin-top: 2rem;
  text-align: center;
}

.footer-caption {
  font-size: 0.85rem;
  color: #9aa0a6; /* soft gray */
}

/* Sticky-footer layout */
html,
body {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.spacer {
  flex: 1;
}

/* Grid: don’t allow columns smaller than the icon */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10em, 1fr));
  gap: 1.5rem;
}
