﻿body {
    position: relative;
    background-color: rgba(0, 0, 0, 0.5) !important;
    
    color: white;
    font-family: Arial, sans-serif;
    /*    background-image: url('/Images/BackgroundStars.jpg');*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1; /* Ensures content stays above overlay */
}

    body::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5); /* Light blackish overlay */
        z-index: -1; /* Keeps overlay behind the content */
    }


.album-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: #1e1e1e;
    padding: 10px;
    width: 100%;
    height: 300px; /* Fixed height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    cursor: pointer; /* Pointer cursor */
}

    .album-card:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
    }

.album-image-container {
    width: auto;
    height: 100%; /* Consistent height */
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    text-align:center;
}

    .album-image-container img {
        width: 100%;
        height: 100%;
        object-fit: fill;
        transition: transform 0.3s ease-in-out;
    }

/* Zoom effect on hover */
.album-card:hover .album-image-container img {
    transform: scale(1.1);
}

/* Blackish overlay on hover */
.album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

/* Show overlay and play icon on hover */
.album-card:hover .album-overlay {
    opacity: 1;
}

/* Font Awesome Play Icon */
.play-icon {
    color: white;
    font-size: 50px;
}

.album-title {
    text-align: center;
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
}

.album-card:hover .album-overlay {
    opacity: 1;
}

.play-icon {
    color: white;
    font-size: 50px;
}

.album-title {
    text-align: center;
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
}

.album-herosection {
    padding-top: 135px;
    padding-bottom: 50px;
}

@media (max-width: 992px) {
    .album-herosection {
        padding-top: 400px;
    }
}
