html, body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

body.loupe-active {
  overflow: hidden;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  padding: 15px 28px 0;
  box-sizing: border-box;
  z-index: 10;
}

header .background {
  position: absolute;
  inset: 0;
  background: rgba(42, 42, 42, 0.65);
  backdrop-filter: blur(8px);
}

header .title {
  position: absolute;
  left: 10%;
  top: 30px;
  font-size: 22px;
  margin: 0;
}

header .gallery-meta {
  position: absolute;
  right: 28px;
  top: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 1;
}

/* THUMBNAILS */
#thumbnailContainer {
  padding: 110px 54px 80px;
  text-align: center;
  box-sizing: border-box;
}

.thumbnail {
  display: inline-block;
  width: 224px;
  height: 224px;
  margin: 12px;
}

.thumbnail img {
  max-width: 100%;
  max-height: 100%;
}

/* LOUPE */
#loupeContainer {
  display: none;
  position: fixed;
  inset: 0;
  padding: 45px 45px 100px;
  box-sizing: border-box;
  z-index: 20;
}

#loupeContainer .background {
  position: absolute;
  inset: 0;
}

#loupeContainer .image-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#imageTitle {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* FOOTER */
.loupe-footer {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
}

.loupe-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
}
