body{
    background-color: #080000;
    overflow: hidden;
}

.left-panel {
    width: 50vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #080000;
    margin: 0 1em 0 0;
    padding: 1em 0 1em 1em;
}

#album-cover{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-position: center;
    background-size: contain;
    height: 60dvh;
}

.controls {
    display: flex;
    flex-direction: row;
    justify-content: center;
    height: 15dvh;

}

.control-button{
    max-width: 120px;
    max-height: 120px;
    min-width: 15px;
    min-height: 15px;
    flex-grow: 1;
    aspect-ratio: 1;
    margin:5px;
    background: #222222;
    color: #ffdddd;
    border-radius: 8px;
    background-size: contain;
    background-repeat: no-repeat;
    background-size: 60%;
    background-position: center;
}
.control-button:hover{
    background-color: #444444;
}

.control__button__icon{
    position: absolute;
    top:10%;
    right: 10%;
    bottom: 10%;
    left:10%;
}

#play-button{
    background-image: url("/imgs/mb_play.png");
}

#pause-button{
    background-image: url("/imgs/mb_pause.png");
}

#prev-button{
    background-image: url("/imgs/mb_prev.png");
}

#next-button{
    background-image: url("/imgs/mb_next.png");
}

#stop-button{
    background-image: url("/imgs/mb_stop.png");
}

#menu-button{
    background-image: url("/imgs/mb_menu.png");
}


#music-player {
    display: flex;
    position: fixed;
    flex-direction: row;
    justify-content: stretch;
    align-items: stretch;
    height:100vh;
    width:100vw;
}

#playlist-selector{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
}

#hide-album-selection{
    right:10px;
    top:10px;
    position: absolute;
}

#song-info{
    height: 10dvh;
    width: auto;
}
#song-info>p{
    color: #c1c1c1;
    text-align: center;
    margin: 10px;

}

#album-list>h1 {
    background-color: #080000;
    color: #ffe1e1;
    padding: .4rem 1rem;
}

.progress__song{
    width:100%;
    max-width: 700px;
    height: 0.7em;
    align-self: center;
    background-color: #222222;
    margin-bottom:0.2em;
}

.progress__song::-webkit-progress-bar{
    background-color: #222222 ;
}

.progress__song::-webkit-progress-value{
    background-color: #ffe1e1 ;
    transition: 0.3s;
}

.container__progress {
    display: flex;
    flex-direction: row;
    justify-content: stretch;
    align-items: center;
    text-align: center;
    /* margin-top:1em; */
    height: 10dvh;
}

.song-time{
    color: #ffe1e1;
    width: 140px;
    height: 100%;
    text-align: right;
    margin: 0 0 0 1em;
}

.close-button{
    position: absolute;
    width:60px;
    height:60px;
    font-size: 1.5em;
    right:0;
    top:1.2em;
    z-index: 1000;
}

.back-button {
    position: absolute;
    width:60px;
    height:60px;
    font-size: 0.7em;
    left:2%;
    top:1.2em;
    z-index: 1000;
}

@media screen and (max-width: 768px) {
    .left-panel {
        display: flex;
        justify-content: center;
        align-items: center;
        width: auto;
        height: 46vh;
    }

    #music-player{
        display: block;
        text-align: center;
        
    }

    #album-cover{
        display: block;
        width: 40vh;
    }

    .controls{
        display: flex;
        position: fixed;
        top:33vh;
        width: 90vw;
    }

    .control-button{
        margin: 0 0.7em;
        width:30vh;
        max-width: 8vh;
        max-height: 8vh;
    }

    #stop-button{
        display: none;
        visibility: hidden;
    }

    #menu-button{
        position: fixed;
        top:1.1em;
        right:0%;
        width: 20vw;
        height: 20vw;
    }

    .container__progress{
        width:100%;
        
    }

    #song-info{
        display: block;
        position: fixed;
        width: 100vw;
        top: 1rem;
        background-image: linear-gradient(to bottom, #080000 50%, #08000000 100%);
      

    }

    .close-button{
        margin:0;
        position: absolute;
        width:100px;
        height:100px;
        font-size: 1.5em;
        right:0;
        top:1.2em;
    }

    .back-button{
        margin:0;
        position: absolute;
        width:100px;
        height:100px;
        font-size: 0.7em;
        right:0;
    }
}