/* http/static/css/components/gallery.css */
.gallery {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background-color: #000a;
  backdrop-filter: blur(5px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (min-width: 40rem) {
  .gallery {
    padding: 1rem;
    gap: 1rem;
  }
}
.gallery .frame {
  max-width: 1200px;
  max-height: 700px;
  height: 100%;
  width: 100%;
  position: relative;
}
.gallery button {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background-color: #fff0;
  color: white;
  border: none;
}
@media screen and (min-width: 40rem) {
  .gallery button {
    width: 50px;
    height: 50px;
  }
}
.gallery button:hover {
  background-color: #fff2;
}
.gallery .frame img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.1s ease-in-out;
}
