.header-banner {
    position: fixed;
    top: 0; /* Initially top 0, updated by JavaScript */
    left: 0;
    width: 100%;
    z-index: 1000; /* Above other elements */
    padding: 5px;
    text-align: center;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-banner img {
    height: 45px;
    margin-right: 10px;
}

.header-banner a {
    font-family: Open Sans;
    font-size: 18px;
    font-weight: 600;
    line-height: 24.51px;
    letter-spacing: -0.02em;
    text-decoration: underline;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3); /* Added more diffused shadow */
}

.header-banner span {
    font-family: Open Sans;
    font-size: 18px;
    font-weight: 400;
    line-height: 24.51px;
    letter-spacing: -0.02em;
    color: white;
    margin-right: 10px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3); /* Added more diffused shadow */
}

.banner-close-btn {
    cursor: pointer;
    font-size: 30px;
    color: white;
    background: none;
    border: none;
    position: absolute;
    right: 30px;
    top: 11px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3); /* Added more diffused shadow */
}

.text-link-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

@media (max-width: 768px) {

    .header-banner span, .header-banner a{
        font-size: 14px;
    }

    .text-link-wrapper{
        max-width: 300px;
    }

    .banner-close-btn {
        right: 10px;
        top: 12px;
    }
}

@media (max-width: 450px) {
    .text-link-wrapper{
        text-align: center;
        max-width: 250px;
        align-items: center;
        justify-content: center;
    }

    .header-banner{
        align-items: center;
        justify-content: center;
    }

    .header-banner img{
        margin-right: 0;
    }

}

.header-banner.animated-gradient {
    background: linear-gradient(-90deg, var(--gradient-color1), var(--gradient-color2), var(--gradient-color1), var(--gradient-color2));
    background-size: 300% 100%; 
    animation: gradientShift 8s linear infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}