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: 90px;
  padding: 40px 28px 0;
  box-sizing: border-box;
  z-index: 10;
}

header .background {
  position: absolute;
  inset: 0;
}

header .title {
  float: left;
  font-size: 20px;
}

header ul.gallery-meta {
  float: right;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 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;
}
