/* Fond violet avec effet réseau */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #5f2c82, #49a09d);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.background {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('/Images/bg-network.png'); /* Remplace cette image par un réseau violet si tu veux */
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
}

/* Titre */
header {
  z-index: 1;
  text-align: center;
  padding: 40px 20px 10px;
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
}

/* Grille des projets */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  max-width: 800px;
  width: 100%;
  padding: 40px 20px;
  z-index: 1;
}

/* Carte effet glass */
.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 40px 10px;
  text-align: center;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
}
