.floating-message-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 18rem;
    padding: 10px;
    display: none; /* Oculto inicialmente */
    background-color: rgba(255, 255, 255, 1);
    color: #1f1f1f;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    animation: fadeInOut 9s infinite;
    z-index: 15;
}

.floating-message-container img {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    margin-right: 10px;
}

.floating-message-container .message-content {
    display: flex;
    align-items: center;
}

.floating-message-container .text-container {
    display: flex;
    flex-direction: column;
}

.floating-message-container .winner-name {
    font-weight: bold;
    font-size: 14px;
}

.paragraph{
    font-weight: normal;
    font-size: 14px;
}

.floating-message-container .win-date {
    font-size: 12px;
    color: #383838;
}

.floating-message-container {
    
    animation: fadeInOutMobile 10s ease-in-out forwards infinite;
}

@keyframes fadeInOutMobile {
    0% { opacity: 0; transform: translateY(20px); }          /* Inicia fuera de vista */
    10%, 50% { opacity: 1; transform: translateY(0); }       /* Aparece y se mantiene visible 5 segundos */
    60%, 100% { opacity: 0; transform: translateY(20px); }   /* Desvanece y se mueve hacia abajo en 5 segundos */
}

@media (min-width: 100px) and (max-width: 1023px){
    .floating-message-container {
        left: 5%;
        transform: translateX(-50%) translateY(20px); /* Centramos el div horizontalmente y ligeramente hacia abajo */
        
        bottom: 5.5rem;
        animation: fadeInOutMobile 10s ease-in-out forwards infinite;
    }

    @keyframes fadeInOutMobile {
        0% { opacity: 0; transform: translateY(20px); }          /* Inicia fuera de vista */
        10%, 50% { opacity: 1; transform: translateY(0); }       /* Aparece y se mantiene visible 5 segundos */
        60%, 100% { opacity: 0; transform: translateY(20px); }   /* Desvanece y se mueve hacia abajo en 5 segundos */
    }
}