.timeline-container {
    overflow: visible !important;
    position: relative;
}

.timeline-card {
    background-color: transparent; /* Sin fondo por defecto */
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    width: 120px;
    height: 50px;
    margin: 5px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    overflow: visible;
    z-index: 1;
    box-shadow: none !important; /* Elimina cualquier sombra indeseada */
    outline: none;
    border: none !important; /* Elimina cualquier borde residual */
}

.timeline-card:hover {
    height: 120px;
    width: 150px;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.7); /* Solo se añade en hover */
}


.timeline-card img {
    height: 3vh;
    width: 1.5vw;
    transition: all 0.3s ease-in-out;
}

.timeline-card:hover img {
    height: 4vh; /* Escudos más grandes en hover */
    width: 2vw;
}

.timeline-card .details-container {
    display: none;
    font-size: 0.7vw;
    margin-top: 2px;
}

.timeline-card:hover .details-container {
    display: block !important;
}
