.planete-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
}

.card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
}

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

.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  background: #fff;
  padding: 15px;
  text-align: center;
}

.card-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #333;
}

.card-text {
  font-size: 1em;
  color: #555;
}

.filters-container {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  margin-top: 100px;
}





/* Importation de la police spatiale */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

/* Fond étoilé animé */
body {
    font-family: 'Orbitron', sans-serif;
    margin: 0;
    padding: 0;
    background: black url('https://source.unsplash.com/1920x1080/?galaxy,stars') no-repeat center center/cover;
    color: white;
    overflow-x: hidden;
}

/* Barre séparatrice (optionnelle) */
.barre {
    height: 5px;
    background: linear-gradient(90deg, rgba(255,255,255,0.2), rgba(255,255,255,1), rgba(255,255,255,0.2));
    width: 100%;
    margin-bottom: 20px;
}

/* Header */
header {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.5);
}

/* Titre principal */
h1 {
    text-transform: uppercase;
    font-size: 2.5em;
    color: #FFD700; /* Couleur dorée comme une étoile */
    text-shadow: 0 0 10px #FFD700, 0 0 20px #fff;
}

/* Main */
main {
    padding: 50px;
    text-align: center;
}

/* Boutons */
.btn-spatial {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;
    border: 2px solid white;
    border-radius: 10px;
    background: transparent;
    transition: all 0.3s ease-in-out;
}

.btn-spatial:hover {
    background: rgba(255, 215, 0, 0.5); /* Effet lumineux */
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

/* Pied de page */
footer {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    text-align: center;
    font-size: 0.9em;
    color: #bbb;
}

/* Animation d’étoiles */
@keyframes twinkle {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    animation: twinkle 2s infinite;
}

