.forum-container {
  width: 80%;
  margin: 20px auto;
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

/* Forum Heading */
.forum-heading {
  font-size: 24px;
  color: var(--color4);
  text-align: center;
  margin-bottom: 20px;
}

/* Styling for Post and Reply Inputs */
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 8px;
  resize: none;
}

button {
  padding: 10px 20px;
  background-color: var(--color3);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 8px;
}

button:hover {
    background-color: var(--color4);
}

/* Post Container Styling */
.posts-container {
  margin-top: 20px;
}

.post {
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 10px;
  border-left: 5px solid var(--color2);
}

.post-content {
  font-size: 16px;
  color: #333;
}

/* Reply Styling */
.reply {
  background-color: #e9ecef;
  padding: 10px;
  margin-top: 10px;
  margin-left: 20px;
  border-radius: 5px;
}

.reply-content {
  font-size: 14px;
}

.posts-container strong {
  margin: 0;
}

/* Responsive Handling */
@media (max-width: 768px) {
  .forum-container {
    width: 95%;
  }
}
