@import "template.scss";

.display {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  width: 100vw;
  height: 100vh;
  background-color: $overlay;
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.displayImage {
  display: block;
  max-height: 90vh;
  max-width: 90vw;
  object-fit: contain;
}

.close {
  color: $white;
  font-weight: bold;
  position: fixed;
  top: 35px;
  right: 35px;
  background-color: $base-color;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.close:hover {
  background-color: $shade1;
}