.body-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 768px;
}

input[type=radio] {
    display: none;
}

.card-carousel {
    position: absolute;
    width: 60%;
    height: 100%;
    left: 0;
    right: 0;
    margin: auto;
    transition: transform 0.4s ease;
    cursor: pointer;
}

.container-carousel {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.cards-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    margin-bottom: 20px;
}

.img-carousel {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    -o-object-fit: cover;
    object-fit: cover;
}

#item-1:checked~.cards-carousel #song-3,
#item-2:checked~.cards-carousel #song-1,
#item-3:checked~.cards-carousel #song-2 {
    transform: translatex(-40%) scale(0.8);
    opacity: 0.4;
    z-index: 0;
}

#item-1:checked~.cards-carousel #song-2,
#item-2:checked~.cards-carousel #song-3,
#item-3:checked~.cards-carousel #song-1 {
    transform: translatex(40%) scale(0.8);
    opacity: 0.4;
    z-index: 0;
}

#item-1:checked~.cards-carousel #song-1,
#item-2:checked~.cards-carousel #song-2,
#item-3:checked~.cards-carousel #song-3 {
    transform: translatex(0) scale(1);
    opacity: 1;
    z-index: 1;
}

#item-1:checked~.cards-carousel #song-1 img,
#item-2:checked~.cards-carousel #song-2 img,
#item-3:checked~.cards-carousel #song-3 img {
    box-shadow: 0px 0px 5px 0px rgba(81, 81, 81, 0.47);
}


/* mobile */

@media only screen and (max-width: 600px) {
    .body-carousel {
        height: 240px;
    }
}


/* dasktop */

@media only screen and (min-width: 600px) {
    .body-carousel {
        height: 480px;
    }
}