/* banner.css */
.under-construction {
  background: #ffcc00;
  color: #000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  z-index: 9999;
  overflow: hidden;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.banner-track {
  display: flex;
  width: max-content;
  animation: scrollText 15s linear infinite;
}

.banner-text {
  white-space: nowrap;
  font-weight: bold;
  font-size: 18px;
  padding-right: 50px; /* space between repeats */
}

@keyframes scrollText {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.under-construction button {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  color: #000;
}

body {
  margin-top: 50px; /* prevents content from being hidden */
}
