.grid-container {
  display: grid;
  grid-template-columns: auto;
  margin-top: 16px;
}

.grid-container2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin-top: 16px;
  grid-gap: 1rem;
}

.grid-item {
}

.gallery-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-auto-rows: 300px;
  grid-gap: 1rem;
  list-style: none;
  padding: 0px;
  margin: 0px;
}

.gallery-list > li > figure {
  height: 100%;
  padding: 0px;
  margin: 0px;
  position: relative;
}

.gallery-list > li > figure > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer; 
}

.top-right {
  position: absolute;
  top: 10px; 
  right: 10px;
}

.full {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer; 
}

.hidden {
  display: none;
}

.center {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  width: 100%;
  color: white;
  font-size: 16px;
  font-weight: bold;
}

.center img {
  height: 20px;
  width: 20px;
}

.center img.second {
  margin-left: 24px;
}

.center span {
  padding: 0px 8px;
}
