* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
	background-image: url("gb-fawzi2.jpg"); 
	background-repeat: no-repeat;
	background-size: cover;
}
a {
  text-decoration: none;
  color: #d1d3d0;
}
a:visited {
  color: #d1d3d0;
}
a:hover, a:focus, a:active {
  text-decoration: none;
  color: white;

}
/* ----------------
   HEADER
-----------------*/

.banner {
  height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;

  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ----------------
   BLOCS IMAGES PC
-----------------*/
.images-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;

  max-width: 1400px;
  margin: 80px auto;
  padding: 0 30px;
}

/* Conteneur */
.image-block {
  position: relative;
  display: inline-block; /* IMPORTANT */
  width: 100%;
}

/* Image contrôlée */
.image-block img {
  display: block;
  max-width: 100%;
  height: auto;
}
/* Images */

.image-1 {
  background-image: url("gameboydatabase.png");
}

.image-2 {
  background-image: url("gameboydatabasenews.png");
}

/* ----------------
   BLOCS SUPERPOSÉS
-----------------*/

.overlay-text {
  position: absolute;

  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 70%;
  max-width: 420px;

  background: rgba(0,0,0,0.3);
  color: white;

  padding: 28px;
  border-radius: 16px;

  text-align: center;

  backdrop-filter: blur(6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);

  z-index: 2;
}

/* ----------------
   FOOTER
-----------------*/

.footer {
  height: 140px;
  background: #111;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ----------------
   RESPONSIVE (INCHANGÉ)
-----------------*/
@media (max-width: 900px) {
.banner {
  height: 50px;
  background-size: cover;
  background-position: center;
  position: relative;

  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}
  .images-row {
    grid-template-columns: 1fr;
  }

  .overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
  }

}