/* Style for the overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    color: white;
    display: none; /* Hidden by default */
    text-align: center;
    font-size: 24px;
    padding-top: 40%;
    font-weight: bold;
    z-index: 1; /* Ensure it's on top of the card content */
}

/* Ensure card content is positioned correctly */
.card {
    position: relative; /* To position the overlay inside the card */
}













