.image-container {
    position: relative;
    height: 200px;
}
.overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}
.text-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
}
.text-container h2 {
    margin: 0;
    font-size: 2rem;
    color: #fff;
}
.image-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
