.notification-banner {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  background-color: transparent;
  color: #f5bd02;

  border-radius: 5px;
  font-size: 16px;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  white-space: nowrap; /* Prevent text from wrapping */
}

.notification-banner.show {
  opacity: 1;
  animation: dissolveIn 0.8s forwards; /* Fade in animation */
}

.notification-banner.hide {
  animation: dissolveOut 0.8s forwards; /* Fade out animation */
}

/* Keyframes for fade in (dissolve in) */
@keyframes dissolveIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateX(-50%);
  }
  to {
    opacity: 1;
    transform: scale(1) translateX(-50%);
  }
}

/* Keyframes for fade out (dissolve out) */
@keyframes dissolveOut {
  from {
    opacity: 1;
    transform: scale(1) translateX(-50%);
  }
  to {
    opacity: 0;
    transform: scale(0.9) translateX(-50%);
  }
}

/* Tablet (iPad) screens */
@media (max-width: 900px) {
  .notification-banner {
    font-size: 15px; /* Slightly smaller font for tablets */
    padding: 8px 18px; /* Adjust padding for tablets */
  }
}

/* Mobile screens */
@media (max-width: 600px) {
  .notification-banner {
    font-size: 10px; /* Smaller font size for mobile */
    padding: 6px 16px; /* Adjust padding for mobile */
  }
}
