.header-activity-bg {
    position: fixed;
    flex:none;
    width: 100%;
    height: 40px;
    top: 0;
    left: 0;
    z-index: 5;
    /*background: linear-gradient(270deg,#ca4ca0, #4d3bb4 100%);*/
    /*background: radial-gradient(circle, #ff0000, #00ff00), linear-gradient(to right, #0000ff, #ffff00);*/
    /*padding: 0 15px;*/
    display: none;
}
.header-activity-content {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.header-activity-content p {
    font-size: 15px;
    font-family: Roboto, Roboto-Medium;
    font-weight: bold;
    color: #ffffff;
    margin: 0;
    margin-right: 26px;
}
.header-activity-content button {
    min-width: 118px;
    /*height: 28px;*/
    background: #ffffff;
    border-radius: 8px;
    border: none;
    font-size: 15px;
    font-family: Roboto, Roboto-Medium;
    font-weight: bold;
    color: #000000;
    padding: 6px 9px;
    cursor: pointer;
    transition: all .3s;
}
.header-activity-close {
    display: flex;
    justify-content: right;
    align-items: center;
    margin-right: 15px;
}

.header-activity-close span {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    text-align: center;
    line-height: 22px;
    cursor: pointer;
    display: block;
    transition: all 0.3s;
}

.header-activity-text-box {
    overflow: hidden;
    max-width: 50%;
    margin-right: 10px
}

.header-activity-text {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
}

.header-activity-scrolling-text {
    animation: activity_scroll 10s linear infinite;
}

@keyframes activity_scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

