:root {
  --background-color: #060606;
  --text-color: #fff;
  --box-shadow: rgba(255, 255, 255, 0.1);
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  z-index: 10;
}

h1 {
  text-align: center;
  margin: 40px 0 20px;
  width: 100%;
  font-size: 36px;
  text-transform: uppercase;
  border-top: 2px solid #febd01;
  display: inline-block;
}

/* Galerie de projets */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);  /* 2 images par ligne */
  gap: 30px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Bloc projet */
.gallery a,
.gallery img {
  background-color: #121212;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  color: #fff;
  text-decoration: none;
}

/* Images de projets */
.gallery img {
  width: 100%;
  height: auto;
  display: block;
}

/* Liens de projets */
.gallery a {
  padding: 10px;
  font-weight: 600;
  font-size: 16px;
}

/* Hover effets pour les liens et les images */
.gallery a:hover,
.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(255, 255, 255, 0.15);
}

/* Responsive pour les écrans plus petits */
@media (max-width: 576px) {
  .gallery {
      grid-template-columns: 1fr; /* Une image par ligne */
      gap: 20px;
      padding: 15px;
  }
}
