.multi-pics {
    position: absolute;
    top: 0;
    right: 0;
    background: rgb(0 0 0 / 85%);
    border-radius: 0 0 0 5px;
}

.show-title {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgb(0 0 0 / 85%);
    border-radius: 0 5px 0 0;
    padding: 2px;
    font-weight: bold;
    font-size: 1.05em;
}

#art-cats {
	display:flex;
    justify-content: center;
}

div.cards {
  padding:0;
}


div.card {
  height: 100px;
  margin: 5px;
}

.card img {
  border-radius: 1vmin 1vmin 1vmin 0;
}

div.card span {
  opacity: 0.75;
  bottom: 0;
  left: 0;
  background-color: black;
  color: white;
  padding: 2px 5px;
}

p.art-name {
	color:white;
	margin: 0.25em;
}

#art-wrapper {	
    flex-direction: column;
}

#gallery-menu {
	color:white;
	margin: 0 auto;
	top: 5px;
	text-align: center;
	background-color: rgba(0,0,0,0.5);;
}

#gallery-menu {
	align-self: flex-start;
	width:fit-content;
	position: sticky;
	z-index: 666;
	order: 1;
}

#cardwrapper
{order: 2;}

#art-wrapper {
	display:flex;
}

div.cards {
  display: flex;
  flex-wrap: wrap;
}

div.card {
  flex-grow: 1;
  position: relative;
}

#lastcard {
  flex-grow: 10;
}

.card img {
  min-width: 100%;
  max-width: 100%;
  min-height: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center 20%;
}



.card[data-cats*="pixel"] img {
    image-rendering: optimizeSpeed;
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimize-contrast;
    image-rendering: pixelated; 
    -ms-interpolation-mode: nearest-neighbor;
}

div.card span {
	position:absolute;
	z-index:100;
}

/* ADVANCED */

/* Smaller screens in portrait */

@media (max-aspect-ratio: 1/1) and (max-width: 480) {
  div {
    flex-direction: row;
  }

  div {
    height: auto;
    width: 100%;
  }
  .card img {
    width: 100%;
    max-height: 75vh;
    min-width: 0;
  }
}