/* =========================
   MAIN CONTAINER
========================= */

.namaam-flash-container {
    display: flex;
    align-items: stretch;
    width: 100%;
}

/* =========================
   TICKER AREA
========================= */

.namaam-flash-news-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
    overflow: hidden;
    background: #7851A9;
}

/* =========================
   LABEL
========================= */

.namaam-flash-label {
    background: #f89b2d;
    color: #fff;
    padding: 18px 30px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

/* =========================
   TICKER
========================= */

.namaam-flash-ticker {
    flex: 1;
    overflow: hidden;
}

.namaam-flash-track {
    display: flex;
    width: max-content;
    animation: namaamTicker 50s linear infinite;
}

.flash-item {
    margin-right: 80px;
    white-space: nowrap;
}

.flash-item a,
.flash-item a:visited,
.flash-item a:hover,
.flash-item a:active {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* =========================
   JOIN BUTTON
========================= */

.namaam-join-btn {
    background: #f89b2d;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    padding: 18px 25px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* =========================
   ANIMATION
========================= */

@keyframes namaamTicker {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}

/* =========================
   TABLET
========================= */

@media (max-width: 1024px) {

    .namaam-flash-label {
        padding: 14px 20px;
        font-size: 14px;
    }

    .flash-item {
        margin-right: 50px;
        font-size: 14px;
    }

    .namaam-join-btn {
        padding: 14px 18px;
        font-size: 14px;
    }

}

/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {

    .namaam-flash-container {
        width: 100%;
    }

    .namaam-flash-label {
        padding: 12px 15px;
        font-size: 12px;
    }

    .flash-item {
        margin-right: 30px;
        font-size: 12px;
    }

    /* Hide Join Button on Mobile */
    .namaam-join-btn {
        display: none;
    }

}