
/* Banner component */
.banner {
  width: 100%;
  height: 50px;
  background-color: #09233a;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  color: #fff9f0;
  font-size: clamp(12px, 2vw, 14px);
  font-family: "Lato", sans-serif;
  font-weight: 400;
  position: relative;
}

@media (max-width: 768px) {
  .banner {
    height: 40px;
  }
}

.banner-text {
  position: absolute;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  pointer-events: none;
}

.banner-text.active {
  opacity: 1;
  pointer-events: auto;
}