body {
    background: url("Backgrounds/bg-4.gif");
    color: #727070;
}


/* Embed Playlist Customization */
.playlist {
    border-radius: 12px;
    height: 352px;
    margin-bottom: 10px;
}


/* CD Case Code */
.text-frame {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    align-items: center;
}

.album-frame {
    position: relative;
    display: flex;

    justify-content: center;
    align-items: center;

    width: 150px;
    height: 140px;
}

.album-photo {
    margin-left: 12px;
    display: block;
    width: 132px; 
    height: 138px;
    align-self: flex-end;
    border-radius: 2px;
}

.album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.album-text {
    display: block;
    position: relative;
    text-align: center;
    margin-top: 3px;
}
.text-frame:hover {
    transform: scale(1.1);
}


/* fonts */
@font-face {
    font-family: "ShadowUnder";
    src: url("fonts/ShadowUnder.ttf");
}
@font-face {
    font-family: "ShadowOver";
    src: url("fonts/ShadowOver.ttf");
}
.stacked-text {
    position: relative;
    display: inline-block;
}

.shadow-under,
.shadow-over {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.shadow-under {
    font-family: "ShadowUnder";
    z-index: 1;
    color: white;
}

.shadow-over {
    font-family: "ShadowOver";
    z-index: 2;
    color: black;
}


/* Mobile Rules */
@media (max-width: 768px) {
    .playlist {
        width: 100%;
        height: 152px;
    }
   
    .icon-button span {
        display: block;
        width: 60px;
        margin-top: 5px;
        font-size: 10px;
    }
   
}

@media (max-width: 428px) {
    .playlist-title {
        margin-bottom: 12px;
    }
    .icon-button {
        margin: 2px;
    }
}
