/* Centering container */
.center-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Container for comments */
.comments-container {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center align */
  width: 66%; /* Adjust the width as needed */
  max-width: 1000px; /* Ensure it doesn't grow too wide */
  margin: 0 auto; /* Center horizontally */
}

/* Comment block style */
.comment-block {
  width: 100%; /* Full width of the container */
  max-width: 1000px; /* Max width of individual comment block */
  margin: 10px 0; /* Space between blocks */
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: lightblue;
  overflow: hidden; /* Ensure content fits */
  position: relative; /* To manage image zoom effect */
}

/* Timestamp style */
.timestamp {
  font-weight: bold;
  margin-bottom: 5px;
}

/* Style for images */
.comment-block img {
  max-width: 100%;
  height: auto;
  cursor: pointer; /* Show pointer cursor for clickable images */
}

/* Overlay for zoomed image */
#imageOverlay {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
  z-index: 1000; /* Ensure it is above other content */
  justify-content: center;
  align-items: center;
}

/* Zoomed image styling */
#imageOverlay img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

/* Close button style */
#imageOverlay .close-button {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}
.scrollable-container {
  max-height: 80vh;
  overflow-y: auto;
  width: 100%;
}