#wrapper {
  position: relative;
  width: 80%;
  height: auto;
  margin-left: 0.8%;
  margin-bottom: 0px;
  border: 0px solid #999999;
  padding-top: 10%;
  font-family: 'Baumans', Arial, Helvetica, sans-serif;
  font-weight: lighter;
  text-align: center;
  font-style: normal;
  font-variant: normal;
  color: #aaaaaa;
}

#header {
  position: relative;
  width: 80%;
  height: auto;
  border: 1px solid #999999;
  margin-left: 10%;
  margin-right: 0%;
  margin-top: 4%;
  padding-top: 0.5%;
  padding-bottom: 1%;
  text-align: center;
  font-family: Baumans, Arial, Helvetica, sans-serif;
  font-size: 280%;
  font-weight: lighter;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
}

a:link {
  font-family: Baumans, Arial, Helvetica, sans-serif;
  font-size: 24px;
  text-decoration: none;
  color: #3399ff;
}


/* (PART A) GALLERY CONTAINER */
.gallery {
  /* (A1) GRID LAYOUT - 3 PER ROW */
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));

  /* (A2) OPTIONAL */
  grid-gap: 10px;
  max-width: 800px;
  padding: 10px; margin: 0 auto;
  overflow: hidden;
}

/* (PART B) IMAGES */
.gallery > img {
  width: 100%; object-fit: cover;
  aspect-ratio: 4/3;
  transition: all 0.3s;
}

/* (PART C) SMALL SCREENS - 2 PER ROW */
@media screen and (max-width:640px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* (PART D) ENLARGE ON MOUSE HOVER */
.gallery > img:hover:not(.full) {
  transform: scale(2.0);
}

/* (PART E) SHOW SELECTED IMAGE IN FULLSCREEN */
.gallery > img.full {
  position: fixed; top: 0; left: 0; z-index: 999;
  text-align: center;
  width: 100vw; height: 100vh;
  object-fit: scale-down;
  background: rgba(0, 0, 0, 0.5);
}

/* (PART X) NOT REALLY IMPORTANT */
* {
  font-family: 'Baumans', Arial, Helvetica, sans-serif;
  box-sizing: border-box;
  text-align: center;
  font-style: normal;
  font-variant: normal;
  color: #999999;
}