.card {
    position: relative;
}

.overlay-container {
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay span {
    color: #fff;
    font-size: 1.5rem;
}

.hide {
    display: none !important;
}

img.mfp-img {
    padding: 20px;
    background-color: white;
}