* {
  box-sizing: border-box;
}

main {
  margin: 4vw auto;
  max-width: 900px;
}

img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

ul {
	padding: 0;
	border: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  grid-auto-rows: 80px;
  grid-auto-flow: dense; 
  list-style: none;
  margin: 0 100px;
  background: #1C1B1B;                                                                                       
  /* Clip the outer edge borders off */
  -webkit-clip-path: polygon(10px 6px, calc(100% - 7px) 6px, calc(100% - 7px) calc(100% - 6px), 10px calc(100% - 6px));
  clip-path: polygon(10px 6px, calc(100% - 7px) 6px, calc(100% - 7px) calc(100% - 6px), 10px calc(100% - 6px));
}

li {
    border: 6px solid black;
}

li:nth-child(1) { /* autoprefixer: off */
  grid-column: span 2;
}
li:nth-child(2) { /* autoprefixer: off */
  grid-column: span 3;
}
li:nth-child(3) { /* autoprefixer: off */
  grid-column: span 2;
}
li:nth-child(4) { /* autoprefixer: off */
  grid-row: span 6;
}
li:nth-child(5) { /* autoprefixer: off */
  grid-row: span 2;
}
li:nth-child(6) { /* autoprefixer: off */
  grid-column: span 4;
  grid-row: span 4;
}
li:nth-child(7) { /* autoprefixer: off */
  grid-row: span 2;
  grid-column: span 2;
}
li:nth-child(8) { /* autoprefixer: off */
  grid-row: span 3;
}
li:nth-child(9) { /* autoprefixer: off */
  grid-row: span 2;
}
li:nth-child(10) { /* autoprefixer: off */
  grid-row: span 2;
}
li:nth-child(11) { /* autoprefixer: off */
  grid-row: span 2;
  grid-column: span 2;
}
li:nth-child(12) { /* autoprefixer: off */
  grid-column: span 2;
}
li:nth-child(13) { /* autoprefixer: off */
  grid-column: span 2;
}
li:nth-child(14) { /* autoprefixer: off */
  grid-row: span 2;
}
li:nth-child(15) { /* autoprefixer: off */
  grid-column: span 2;
}
li:nth-child(16) { /* autoprefixer: off */
  grid-row: span 2;
  grid-column: span 2;
}
li:nth-child(17) { /* autoprefixer: off */
  grid-row: span 3;
}
li:nth-child(18) { /* autoprefixer: off */
  grid-column: span 2;
}
li:nth-child(19) { /* autoprefixer: off */
  grid-column: span 2;
}
li:nth-child(20) { /* autoprefixer: off */
  grid-column: span 4;
}

