html {
    background: fixed #0a0907 url('index-viking-background.jpg') top center no-repeat;
    margin-bottom: 150px;
}
#header {
    width: 200px;
    height: 200px;
    background: url(index-viking-avatar.jpg);
    background-size: contain;
    margin: 30px auto 70px auto;
    border-radius: 50%;
}


/* (A) GALLERY WRAPPER */
.gallery {
  /* (A1) GRID LAYOUT - 4 IMAGES PER ROW */
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 20px;

  /* (A2) OPTIONAL WIDTH RESTRICT */
  max-width: 1120px;
  margin: 0 auto;
  overflow: hidden;
}

/* (B) GALLERY IMAGES */
/* (B1) FIGURE CONTAINER */
.gallery figure {
  padding: 10px; margin: 0;
    /*border: 1px solid #444;*/
    background: #000;
    background: rgba(0, 0, 0, 0.4);
    text-align: center;
    overflow: hidden;
}
.gallery figure a {
    color: #fff;
    text-decoration: none;
}
.gallery figure a:hover {
    color: #888;
    text-decoration: underline;
}

/* (B2) IMAGE DIMENSION */
.gallery img {
  width: 100%;
  height: 180px; /* optional */
  object-fit: cover; /* cover | contain | fill | scale-down */
}

/* (C) LOWER RES - 3 IMAGES PER ROW */
@media only screen and (max-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* (C) ON SMALL SCREENS - 2 IMAGES PER ROW */
@media only screen and (max-width: 600px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* (D) OPTIONAL ZOOM ON HOVER */
.gallery img:hover {
  z-index: 9;
  transform: scale(0.9);
  /* linear | ease | ease-in | ease-out | ease-in-out */
  transition: transform linear 0.15s;
}

/* (E) FULLSCREEN MODE */
.gallery img.full {
  position: fixed;
  top: 0; left: 0; z-index: 999;
  width: 100vw; height: 100%;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.7);
  transition: none;
}
.gallery img.full:hover {
  z-index: 999;
  transform: none;
}

/* (X) NOT IMPORTANT */
* {
  font-family: "Courier New", Courier, monospace;
  box-sizing: border-box;
}