.image {
    height: 300px;
    width: 100vw;
    background-image: url("../images/background.jpg");
    background-size: cover;
    text-align: center;
    color: #500000;
    font-size: 40px;
    padding: 100px 0;
    margin-top: 78px;
}

.data {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    width: 100%;
    margin: auto;
    text-align: justify;
}

.albums {
    height: 400px;
    width: 49%;
    margin-top: 10px;
    position: relative;
}

.album-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.albums img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%;  /* Adjust this value to control the height of the overlay */
    background: rgba(0, 0, 0, 0.7);
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.albums:hover .overlay {
    opacity: 1;
}


/* ******Body complete******** */

@media(max-width:1092px){
    .data{
        flex-direction: column;
    }
    .albums{
        width: auto;
        /* height: auto; */
    }
}