/*--Music player css--*/
.music-body {
    height: auto;
    margin: 0;
    font-family: "Comic Sans MS", Lato;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.music-container {
    display: flex;
    flex-direction: row;
    padding: 0px;
    margin-left: 0px;
    position: relative;
    margin: 0px;
    box-sizing: border-box;
}

.music-container p {
    margin: 0px;
}

.jukebox-img img{
    position: absolute;
    display: inline-block;
    left: -295px;
    top: -60px;
    z-index: 1;
}

.img-container {
    box-sizing: border-box;
    position: relative;
    width: 110px;
}

.img-container::after {
    content: '';
    background-image: '';
    height: 20px;
    width: 20px;
    position: absolute;
    bottom: -50px;
    transform: translate(50%, 50%);
}

.img-container img {
    box-sizing: border-box;
    width: inherit;
    height: 110px;
    object-fit: cover;
    position: absolute;
    bottom:-120px;
    left: 50px;
    border-style: dotted;
    border-width: 2px;
    border-color: lightseagreen;
    
    animation: rotate 3s linear infinite;
    
    animation-play-state: paused;
}

.music-container.play {     /*--.img-container img--*/
    animation-play-state: running;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    
    to {
        transform: rotate(360deg);
    }
}

.navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    margin-top: 3px;
    position: absolute;
    left: -22px;
    top: 223px;
}

.action-btn {
    background: none;
    border: 0;
    color: white;
    font-size: 20px;
    padding: 0px 10px;
    margin: 0 0px;
}

.music-info {
    position: absolute;
    top: -10px;
    margin-left: -50px;
    z-index: 2;
    width: 210px;
}

.music-info h1 {
    margin: 0;
    font-size: 18px;
    font-style: italic;
    color: rgb(255, 183, 0);
    text-decoration: none;
}

.progress-container {
    background-color: rgb(9, 5, 36);
    border-radius: 0px;
    margin: 8px 0;
    height: 5px;
    width: 100%;
    z-index: 2;
    margin-left: 0px;
    position: relative;
}

.progress {
    background-color: rgb(255, 183, 0);
    background-image: url("../Images/Backgrounds/canvas26.png");
    object-fit: cover;
    border-radius: 0px;
    height: 100%;
    width: 0%;
    transition: width 0.1s linear;
    z-index: 2;
    position: relative;
}

.playlist {
    position: absolute;
    display: inline;
    margin-top: 280px;
    width: 204px;
    height: 150px;
    margin-left: -50px;
    overflow-y: scroll;
    overflow-x: hidden;
    background: rgb(15, 0, 76, 0.40);
    border: dotted;
    border-width: 2px;
    border-color: lightseagreen;
    z-index: 1;
}

.playlist ul, .playlist li {
    width: 100%;
    margin-left: -7px;
    margin-top: 3px;
    list-style-image: url("../Images/Web/Pixels/note.gif");
    
}

.playlist li {
    font-size: 12.5px;
    width: 100%;
    vertical-align: middle;
}

.playlist li:hover {
    background: rgba(15, 0, 76, 0.40);
}

.activeSong {
    background: rgba(15, 0, 76, 0.66);
}

.trackDuration {
    position: absolute; 
    right: 5px;
    margin-top: 3.5px;
    font-size: 10px;
}

.trackInfo {
    display: inline-block;
    width: 130px;
    word-wrap: break-word;
    margin-left: -5px;
}

.rotate-anim:hover {
    animation: rotateBackAndForth 5s ease infinite;
    animation-play-state: running;
}

@keyframes rotateBackAndForth {
    33% {transform: rotate(30deg)}
    66% {transform: rotate(-30deg)}
}