.overlay-image {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    background: #f0f0f0;
}

.overlay-image img {
    width: 100%;
    height: auto;
    display: block;
}

#img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--blue_main_opac);
    color: white;
    height: 8rem;
    transform: translateY(0);
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;
}
#img-overlay p
{
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: inherit;
    vertical-align: center;
    width: 100vw;
}
