/* General Container Style */
.container {
  position: relative;
  width: 300px; /* Adjust as needed */
}

/* Popup Background Overlay */
.popup-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Darker semi-transparent black overlay */
  backdrop-filter: blur(10px);
  z-index: 999; /* Ensure it appears above everything else */
  opacity: 0;
  transition: opacity 0.3s; /* Smooth transition for overlay */
}

/* Popup Window */
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8); /* Initially scaled down */
  border: 2px solid #7d6b50; /* Darker beige border */
  background-color: #1a1a1a; /* Dark background */
  border-radius: 15px; /* Rounded border */
  padding: 20px;
  max-width: 90vw;
  max-height: 90vh;
  opacity: 0; /* Initially transparent */
  transition: opacity 0.3s, transform 0.3s; /* Smooth transition */
  overflow: hidden; /* Hide overflow to maintain aspect ratio */
}

/* Popup Content */
.popup-content {
  text-align: left;
  font-family: 'Arial', sans-serif; /* Simple, clean font */
}

/* User Info Section */
.user-info {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.profile-pic {
  width: 40px; /* Adjust size as needed */
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  border: 2px solid #7d6b50; /* Darker beige border */
}

/* Username Style */
.username {
  font-weight: bold;
  color: #d4d4d4; /* Muted beige text color */
  font-size: 20px;
}

/* Post Image Style */
.post-image {
  display: block;
  margin: 0 auto 10px; /* Center the image horizontally and add bottom margin */
  max-width: 80vw; /* Limit width to 80% of viewport width */
  max-height: 70vh; /* Limit height to 70% of viewport height for 3:2 images */
  width: auto;
  height: auto;
  border-radius: 10px; /* Rounded corners for the image */
}

/* Popup Image Style */
.popup-image {
  border-radius: 15px;
}

/* Icons Container */
.icons {
  display: flex;
  justify-content: space-around;
  margin: 10px 0;
}

/* Icon Style */
.icon {
  width: 24px; /* Adjust size as needed */
  height: 24px;
  cursor: pointer;
}

/* Description Style */
.description {
  font-size: 14px;
  color: #d4d4d4; /* Muted beige text color */
  font-size: 16px;
}

/* Like Icon Animation */
.like-icon {
  transition: transform 0.2s;
}

.like-icon.liked {
  transform: scale(1.2); /* Slightly enlarge when liked */
}
