body {
  background-color: #f0f0f0;
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
}

.news-section {
  text-align: center;
  margin-top: 1rem;
}

.news-container {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
}

.news-item {
  width: 40%;
  /* Reduced width for a more vertical rectangle */
  height: 450px;
  /* Increased height */
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background-color: #f9f9f9;
  display: flex;
  flex-direction: column;
  /* Stack image and content vertically */
  align-items: center;
  text-align: center;
  gap: 15px;
  margin-bottom: 20px;
}

.news-image {
  width: 100%;
  /* Full width */
  height: 250px;
  /* Adjust height */
  object-fit: cover;
  border-radius: 8px;
}

.news-content {
  flex: 1;
}

.footer {
  text-align: center;
  background-color: #333;
  color: #fff;
  padding: 10px;
  margin-top: 20px;
}

#iconmenu,
#collapseBtn {
  width: 1.5rem;
  display: none;
  cursor: pointer;
}

#collapseBtn {
  rotate: 180deg;
}

@media screen and (max-width: 700px) {
  #iconmenu, #collapseBtn {
    display: block;
  }
}
