/* ---------- Grundlegendes Grid ---------- */
.main-content {
    display: grid;
    
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas:
            "picture"
            "text"
            "sample";

}

/* ---------- Song Picture ---------- */
.song-picture {
    grid-area: picture;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.song-picture img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    margin-top: 10px;
}

/* ---------- Song Information ---------- */
#song_info {
    grid-area: text;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.song-name {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.song-price, .song-release, .account-name {
    font-size: 1.1rem;
}

/* ---------- Buttons ---------- */
.add-cart, .download, .play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #fa8128;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    border: none;
    font-weight: bold;
    padding: 10px 20px;
    margin-top: 15px;
    transition: transform 0.2s, background-color 0.2s;
}

.add-cart:hover, .download:hover, .play:hover {
    background-color: #e6731f;
    transform: scale(1.05);
}

.play {
    grid-column: 1 / span 2;
    grid-row: 4;
    width: 120px;
    height: 50px;
    border-radius: 50px;
}

.fa-solid.fa-play {
    margin-left: 5px;
}

/* ---------- Line Separator ---------- */
.line {
    width: 80%;
    height: 2px;
    background-color: #ccc;
    margin: 20px auto;
}

/* ---------- Sample Section ---------- */
.song-sample {
    grid-area: sample;
    text-align: center;
    place-content: center;
    cursor: pointer;
    font-weight: bold;
}

/* ---------- Not Found ---------- */
.not-found {
    grid-column: 2 / span 3;
    grid-row: 3;
    text-align: center;
    font-size: 1.5rem;
    color: #999;
}

/* ---------- Responsive Anpassungen ---------- */
@media (max-width: 900px) {
    .main-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas:
            "picture"
            "text"
            "sample";
    }

    #song_info {
        margin-top: 20px;
    }

    .song-picture img {
        max-width: 90%;
    }

    .add-cart, .download, .play {
        width: 60%;
        height: 45px;
    }
}
