body {
  margin: 0;
  background-color: #f2f2f2;
  font-family: sans-serif;
}

.gallery {
		padding: 12px;
		padding-top: 6px;
}

.gallery-reversed {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  align-content: start;
  column-gap: 10px;
  row-gap: 6px;
}

.gallery-reversed img {
  display: block;
  width: 100%;
  height: auto;
  min-width: 0;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s;
}

.gallery-reversed img:hover {
  transform: scale(1.02);
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

footer {
  font-size: 14px;
  padding: 20px 0 20px 30px;
}

blockquote footer {
  text-align: left;
  padding-top: 0;
  padding-bottom: 0;
}

.navigation-list {
		width: 50%;
		justify-content: space-around;
		margin: 0;
		padding: 0;
		display: flex;
		list-style: none;
		margin-left: 50%;
		font-size: 14px;
		font-weight: bold;
}

@media (max-width: 500px) {
  .gallery-reversed {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .gallery-reversed img {
    width: 100%;
    height: auto;
  }
}
