body {
  /*actually body*/
  margin: 0;
  /* Height of the footer */
  background: #fff;
  font-family: Arial, sans-serif;
  align-items: center;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  height: 100%;
  /* Ensure the body takes full height */
  overflow-x: hidden !important;
  scrollbar-width: none;
  /* Hide scrollbar (Firefox) */
  -ms-overflow-style: none;
  /* Hide scrollbar (IE/Edge) */
}

.post_me_Btn {
  position: fixed;
  bottom: 20px;
  right: 10px;
  background-color: white;
  color: #379eff;
  border: none;
  padding: 10px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.post_me_Btn i {
  color: #379eff;
  /* White icon */
  font-size: 25px;
}

.post_me_Btn:hover {
  background-color: #1565c0;
  /* Slightly darker blue on hover */
}

/* Modal Styles */
.discard-modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Semi-transparent background */
  justify-content: center;
  align-items: center;
  z-index: 20000005;
}

.modalcontent {
  display: flex;
  flex-direction: column;
  /* This arranges the items vertically */
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  width: 300px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.modalcontent .close {
  float: right;
  font-size: 28px;
  cursor: pointer;
}

.discard-button {
  display: flex;
  background-color: red;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.keep-button {
  display: flex;
  background-color: black;
  color: hsl(120, 100%, 50%);
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 100%;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 6;
}

.posts_container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  overflow-y: auto;
  position: relative;
  top: 80px;
  height: calc(100vh - 80px);
  max-width: 500px;
  width: 100%;
}

/* Bubble card style for post cards */
.post-card {
  border: none;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 10px;
  transition: box-shadow 0.2s ease;
}

.post-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.13);
}

@media (min-width: 768px) {
  .posts_container {
    gap: 16px;
    padding: 16px;
    max-width: 100%;
    height: auto;
    overflow-y: visible;
    align-items: start;
  }

  .post_me_Btn {
    right: 20px;
  }
}
