/* Announcement bar */
.announcement-bar {
  display: flex;
  align-items: center;
  justify-content: center; /* Center content horizontally */
  padding: 0 15px; /* Adjust padding to make the bar smaller */
  background-color: #d92d2d; /* Bright red */
  color: white;
  position: fixed;
  top: 0; /* At the very top */
  left: 0;
  right: 0;
  z-index: 100; /* Above the navbar */
  height: 2.5rem; /* Reduced height for a smaller bar */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.announcement-message {
  margin: 0 auto; /* Ensure the text stays centered */
  font-size: 0.9rem; /* Reduced font size for a smaller text */
  color: var(--white);
  font-family: Bold;
  text-align: center; /* Center the text */
}

.close-button {
  position: absolute; /* Position the close button independently */
  right: 20px; /* Align to the right of the announcement bar */
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

.close-button:hover {
  color: #FFD700; /* Gold on hover */
}

.hidden {
  display: none; /* Completely hide the announcement bar */
}
