.overlayedbanner {
    position: relative;
    height: 220px; /* You can adjust the height */
    margin-bottom: 20px; /* Margin to separate the banner from content below */
}

.overlayedbanner img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the container */
}

.overlayedbanner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:linear-gradient(to bottom,rgb(250, 208, 196),rgba(255, 247, 243, 0.507));
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.overlayedbanner .content {
    z-index: 2;
}