.image-card {
    position: relative;
    overflow: hidden;
}

.image-card img {
    width: 100%;
    height: auto;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(57, 110, 255, 0.7);
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: .5s ease;
}

.image-card:hover .overlay {
    height: 100%;
}

.text {
    color: rgb(255, 255, 255);
    font-size: 15px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    /* text-align: center; */
    padding: 20px;
}
