@charset "UTF-8";
/* CSS Document */
/* style_grid.css */

/* Basic layout styles (as we've discussed before) */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.image-container {
  width: 100%;
  min-height: 100vh; /* Ensure it takes at least the full viewport height */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px; /* Add some padding around the grid */
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr); /* <-- Force 7 columns */
  gap: 40px;
  width: 90%;
  max-width: 1200px;
}

.image-grid img {
  display: block;
  width: 90%;
  height: auto;
  object-fit: cover;
  border-radius: 5px;
}

.thumbnail-container {
  position: relative; /* Needed for absolute positioning of the cue */
  cursor: pointer;
  /* Other existing styles */
	/*background-color: rgba(63,63,63,.75);*/
	filter: drop-shadow(5px 5px 5px rgba(63,63,63,1.0));
	border-radius: 5px;
}

.thumbnail-container {
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.thumbnail-container img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease-in-out;
  border-radius: 5px;
}

.thumbnail-container:hover img {
  transform: scale(1.04);
}


button {
	background-color: rgba(11, 11, 11, 1.00);
	border: 0px;
}

      .thumbnail-container {
        cursor: pointer; /* Indicate it's interactive */
      }

      .fullscreen-image-overlay {
        position: fixed; /* Cover the entire viewport */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
        display: flex; /* Center the image */
        justify-content: center;
        align-items: center;
        z-index: 1000; /* Ensure it's on top of everything */
        opacity: 0; /* Initially hidden */
        visibility: hidden; /* Initially hidden */
        transition: opacity 0.3s ease-in-out, visibility 0s 0.3s; /* Smooth transition */
		}

      .fullscreen-image-overlay.active {
        opacity: 1;
        visibility: visible;
        transition: opacity 0.3s ease-in-out;
      }
		
}
.case-close-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 2.5rem;
  color: rgba(63,63,63,1.0);
  cursor: pointer;
  z-index: 10000;
}

		
#fullscreen-image {
  max-width: 90%; /* Prevent image from being wider than the viewport (initially) */
  max-height: 90%; /* Prevent image from being taller than the viewport (initially) */
  object-fit: contain; /* Show the entire image within the bounds */
  max-width: 400px; /* Override with your desired maximum width */
  max-height: 400px; /* Override with your desired maximum height */
}
