#notification {  
  position: fixed;  /* Optional for positioning flexibility */
  height: 60px;
  bottom: 30px;   /* Adjust positioning as needed */
  right: -100px;    /* Adjust positioning as needed */
  display: flex;  /* Initially hidden */
  cursor: pointer;
  transition: right 1s ease; /* Animation property changed to 'right' */
}

#meme-dropdown{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 1); /* Semi-transparent background */
  opacity: 0; /* Initially hidden */
  transition: opacity 0.5s ease-in-out; /* Fade-in transition */
  display: flex; /* Center content if needed */
  justify-content: center;
  align-items: center;
  z-index: 1; /* Ensure menu is above other content */
  visibility: hidden;
  overflow-y: scroll;
}

#meme-dropdown.show {
  opacity: 1; /* Menu becomes visible after clicking notification */
  visibility: visible;
}

.exit-button {
  position: fixed;
  top: 2.5%; /* Adjust as needed */
  left: 2.5%; /* Adjust as needed */
  width: 30px; /* Adjust as needed */
  height: 30px; /* Adjust as needed */
  background-color: #D84226; /* Red circle background */
  border-radius: 50%; /* Create circle shape */
  color: whitesmoke; /* White text color */
  font-size: 20px; /* Font size scales with viewport width */
  font-weight: bold; /* Bold font */
  cursor: pointer; /* Indicate clickable behavior */
  text-align: center; /* Center the 'X' */
  line-height: 100%; /* Center the 'X' vertically */
}

#meme-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 15px; /* Adjust spacing between images as desired */
  max-width: 80%; /* Define a maximum width for the grid */
  max-height: 90%;
  margin: 0 auto; /* Centers the grid horizontally */  
  justify-content: center;
  align-items: center;  
  
}

.memes{	
  object-fit: cover;
  display: flex;
  vertical-align: middle;  
  max-width: 100%;
  border-radius: 5px;
  cursor: pointer;
}

#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9); /* Semi-transparent background */
  opacity: 0; /* Initially hidden */
  transition: opacity 0.5s ease-in-out; /* Fade-in transition */
  display: flex; /* Center content if needed */
  justify-content: center;
  align-items: center;
  z-index: 5; /* Ensure menu is above other content */
  visibility: hidden;
}

#lightbox img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

#prev-image, #next-image {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  padding: 10px;
  z-index: 11;
}

#prev-image {
  left: 20px;
}

#next-image {
  right: 20px;
}