

.page-img {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* now the img will live in the exact center of .page-img */
.page-img img {
  margin-left: 25%;
  width: 50%;
  height: auto;
  display: block;
}

/* now the img will live in the exact center of .page-img */
.page-img img {
  margin-left: 25%;
  width: 50%;
  height: auto;
  display: block;
}

.photogalery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;   /* space between items */
  justify-items: center;  /* center each image in its cell */
  align-items: center;
}

.photogalery img {
  width: 95%;
}

@media (max-width: 600px) {
  .photogalery {
    grid-template-columns: 1fr;
  }
}



