/**
 * @file CSS for full-size image display
 * @author Kor Dwarshuis
 * @version 1.0.0
 */

/* Container that holds the full-size image */
.image-container-full-page {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  padding: 20px;
  box-sizing: border-box;
  cursor: zoom-out;
  animation: fadeIn 0.3s ease-in-out;
}

/* Style for the image inside the container */
.image-container-full-page img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.image-container-full-page:focus {
  outline: none;
}

.image-container-full-page:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
