/* Ticker Wrapper Styling */
.ticker-wrapper {
    display: flex;
    background-color: #1a1a1a;
    color: white;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid #f39c12;
}
.ticker-wrapper-content {
    
    display: flex;
    align-items: center;
    padding-left: 20px;
    overflow: hidden;
    flex: 1;
     white-space: nowrap; /* Affiche tout sur une seule ligne */
    
}
/* Ticker Header Styling */
.ticker-header {
    background-color:red;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    white-space: nowrap; /* Affiche tout sur une seule ligne */
}

/* Ticker Content Styling */
.ticker-content {
    display: flex;
    align-items: center;
    padding-left: 20px;
    overflow: hidden;
    flex: 1;
     white-space: nowrap; /* Affiche tout sur une seule ligne */
    animation: ticker 20s linear infinite;
}

.ticker-content span {
    display: inline-block;
    font-size: 30px;
    color:white;
    padding-right: 60px;
    
}

/* Ticker Animation */
@keyframes ticker {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Style each message inside the ticker */
.ticker-content span {
    background-color: #1a1a1a;
    border-left: 3px solid red;
    padding-left: 15px;
    border-radius: 0 5px 5px 0;
    margin-right: 30px;
}

