/*-- Basic stuff --*/
@font-face {
    font-family: "Chaparral";
    src: url("https://willdotjpg.gay/fonts/CHAPARRALPRO-REGULAR.OTF");
}

body {
    background-color: #8c724c;
    color: rgb(0, 0, 0);
    font-family: "Chaparral";
    margin: 0px;
    position: relative;
    height: auto;
    width: 100%;
}

.dice {
    background-image: url("https://willdotjpg.gay/shrines/morphine/dice.png");
    width: 82px;
    height: 90px;
    position: absolute;
    margin-left: 485px;
    margin-top: 10px;
}

.roseleft {
    background-image: url("https://willdotjpg.gay/shrines/morphine/roseleft.png");
    width: 150px;
    height: 68px;
    position: absolute;
    margin-left: 320px;
    margin-top: 10px;
}

.roseright {
    background-image: url("https://willdotjpg.gay/shrines/morphine/roseright.png");
    width: 150px;
    height: 68px;
    position: absolute;
    margin-left: 580px;
    margin-top: 10px;
}

.sidebar p {
    font-size: 14px;
    color: rgb(0, 0, 0);
}

.sidebar h1 {
    font-style: italic;
    margin: 0px;
    margin-top: 2px;
    margin-bottom: 10px;
    text-align: center;
    line-height: 20px;
    font-size: 25px;
    color: #000;
}

/*--Music player css--*/
.music-body {
    height: auto;
    margin: 0;
    font-family: "Chaparral";
    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: 120px;
    height: 120px;
    object-fit: cover;
    position: absolute;
    bottom: -120px;
    margin-left: -5px;
    border-width: 2px;
    border-color: #000;
}

.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;
    margin-left: -7px;
}

.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(0, 0, 0);
    text-decoration: none;
}

.progress-container {
    background-color: rgb(14, 9, 3);
    border-radius: 0px;
    margin: 8px 0;
    height: 5px;
    width: 100%;
    z-index: 2;
    margin-left: 0px;
    position: relative;
}

.progress {
    background-color: rgb(58, 50, 27);
    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: 580px;
    height: 150px;
    margin-left: -235px;
    overflow-y: scroll;
    overflow-x: hidden;
    background: #785d3b;
    z-index: 1;
}

.playlist ul,
.playlist li {
    width: 100%;
    margin-left: -7px;
    margin-top: 3px;
    list-style-image: url("https://willdotjpg.gay/shrines/morphine/note.png");
}

.playlist li {
    font-size: 12.5px;
    width: 100%;
    vertical-align: middle;
}

.playlist li:hover {
    background: rgba(61, 42, 17, 0.4);
}

.activeSong {
    background: rgba(79, 58, 35, 0.66);
}

.trackDuration {
    position: absolute;
    right: 5px;
    margin-top: 3.5px;
    font-size: 10px;
}

.trackInfo {
    display: inline-block;
    width: 300px;
    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);
    }
}
