/* Top Bar Styling */
#topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #222;
  color: white;
  padding: 10px 20px;
}

#dateTime {
  font-weight: 600;
}

/* Ticker Styling */
#newsTicker {
  width: 100%;
  height: 23px;
  background-color: #333;
  color: white;
  padding: 2px 2px;
  overflow: hidden; /* Ensure content stays within the bounds */
  position: relative;
  white-space: nowrap; /* Prevent wrapping of the ticker text */
  box-sizing: border-box;
}

#tickerText {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 500;
  position: absolute; /* Allow the text to move outside the bounds */
  will-change: transform; /* Improve performance of continuous animation */
  transition: transform 0.3s ease-out; /* Smooth scrolling */
  text-transform: uppercase; /* Ensure ticker text is in uppercase */
}
