.tiles {
  margin-left: 20%;
  margin-right: 20%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1rem;
}

.tile {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile h2 {
  font-size: 20px;
  display: block;
  margin: auto;
  text-align: center;
}

.tile img {
	display: block;
	margin: auto;
  max-width: 400px;
  max-height: 500px;
  aspect-ratio: 1/1;
}

.catalog-row {
  text-align: center;
  margin-bottom: 5%;
}

.overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: none;
  background-color: rgba(20,0,0,0.5);
}

.slide {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
/*  background-color: #000000;*/
}
.slide-text {
/*  margin-top: -15px;*/
  background-color: #000000;
  color: #ffffff;
  text-align: center;
}

.slide img {
  max-width: 800px;
  max-height: 800px;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}