.typing-animation {
    border-right: 2px solid #fff;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    animation: typing 4s steps(30, end), blink 0.5s step-end infinite;
    max-width: 100%; /* Prevent overflow */
    text-overflow: ellipsis;
  }

  @keyframes typing {
    from {
      width: 0;
    }
    to {
      width: 100%;
    }
  }

  @keyframes blink {
    50% {
      border-color: transparent;
    }
  }

  .notification-bar {
    background-color: #1d3557;
    color: white;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }

  .notification-bar > div {
    flex: 1 1 100%;
    text-align: center;
    overflow: hidden;
  }

  @media (min-width: 768px) {
    .notification-bar {
      flex-wrap: nowrap;
    }

    .notification-bar > div {
      flex: unset;
      text-align: left;
    }
  }
  .news-link {
    color: white;
    text-decoration: none;
  }

  .news-link:hover {
    text-decoration: underline;
  }