.container {
  width: 600px;

  padding: 20px;
}

h1 {
  text-align: center;
}

.question-form {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

#new-question {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  resize: vertical;
}

button {
  margin-top: 10px;
  padding: 10px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #0056b3;
}

.question {
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.question .likes,
.question .comments {
  font-size: 0.9em;
}

.like-button, .comment-button, .share-button {
  background: none;
  border: none;
  color: #007bff;
  cursor: pointer;
  padding: 5px;
}

.like-button:hover, .comment-button:hover, .share-button:hover {
  color: #007bff;
}

.comment-section {
  margin-top: 10px;
  display: none;
  padding: 10px;
  border-top: 1px solid #ddd;
}

.comment-section textarea {
  width: 100%;
  margin-top: 5px;
  padding: 5px;
  border-radius: 5px;
  resize: none;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
}

.container {
    max-width: 600px;
    width: 90%;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    font-size: 24px;
    color: #007bff;
    margin-bottom: 20px;
}

/* New Question Form */
.question-form {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

textarea {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    resize: vertical;
    margin-bottom: 10px;
    font-size: 14px;
}

button {
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #fff;
}

.filter-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    gap: 10px;
}

.filter-section select,
.filter-section input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.filter-section select:focus,
.filter-section input:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.filter-section select {
    width: 200px;
    cursor: pointer;
}

.filter-section input {
    flex: 1;
    max-width: 300px;
}

/* Questions and Comments */
.question {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
    background-color: #f9f9f9;
}

.actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.like-button, .comment-button {
    background: none;
    border: none;
    color: #007bff;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
}


