.nodal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0px; /* Position at the top of the page */
    width: 100%; 
    height: 20px; /* Height of the modal */
    background-color: black; /* Set background color to red */
    margin: 0; /* Ensure no margin */
    padding: 0; /* Ensure no padding */
}

.nodal-content {
    display: flex; /* Use flexbox for layout */
    align-items: center; /* Center items vertically */
    justify-content: space-between; /* Space between items */
    height: 100%; /* Full height of the modal */
    padding:0px; /* Add horizontal padding */
    color: white; /* Change text color to white for contrast */
}

.close-button {
    color: white; /* Change close button color to white */
    font-size: 16px; /* Adjust font size for visibility */
    font-weight: bold;
    cursor: pointer; /* Change cursor to pointer */
}

.ticker {
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    flex-grow: 1; /* Allow ticker to take available space */
}

.ticker a {
    color: white; /* Set link color to white */
    font-size: inherit; /* Set font size to 8 pixels */
    text-decoration: none; /* Optional: Remove underline from links */
}

.ticker a:hover {
    text-decoration: underline; /* Optional: Add underline on hover for better visibility */
}

.ticker p {
    display: inline-block;
    padding-left: 100%; 
    animation: ticker 180s linear infinite;
    margin-top: 9px;
    font-size: 0.8em; /* Set font size to 8 pixels */

}

@keyframes ticker {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}
