/* Global Styles */
body {
    background: #aaaaaa url('/assets/bg_image.jpg') no-repeat bottom center;
    background-size: cover;
    height: 100vh;
    -webkit-font-smoothing: antialiased;
    font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
    line-height: 1.1;

    /* no scrolling */
    overflow: hidden;
    margin: 0px;
}

html {
    -webkit-text-size-adjust: 100%;
    /* Prevent font scaling in landscape while allowing user zoom */
}

/* About Seciton Styles */
#side-panel {
    padding: 20px;
    /* background-color: rgba(255, 255, 255, 0.1); */
    /* background: rgb(0,0,0); */
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 20%, rgba(255, 255, 255, 0.2) 45%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 2px 6px 40px rgba(0, 0, 0, 0.08);
    /* border-radius: 12px; */
    /* border-right: 1px solid #CFD8DC; */
    /* width: 50%; */
    /* display: flex; */
    /* flex-direction: column; */
    position: fixed;
    top: 0px;
    bottom: 0px;
    right: 0px;
    width: 30%;
    min-width: 350px;
    overflow-y: scroll;
}

#about-heading {
    color: white;
    font-size: 25px;
    font-weight: 300;
    text-shadow: 1px 3px 8px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
    margin-bottom: 10px;
}

.about-content {
    color: rgba(255, 255, 255, 0.6);
    text-shadow: 1px 3px 8px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    line-height: 1.4;
}

.about-link-div {
    margin-top: 10px;
    margin-bottom: 20px;
    text-align: right;
}

.about-link {
    color: rgba(255, 255, 255, 0.4);
    text-shadow: 1px 3px 8px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    -moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
}

.about-link:hover {
    color: rgba(255, 255, 255, 1);
}

/* Playlist styles */

.list-group {
    /*background-color: rgba(0, 0, 0, 0.2);*/
    /*box-shadow: 2px 6px 40px rgba(0, 0, 0, 0.1);*/
    /*border-radius: 12px;*/
    /*overflow: hidden;*/
    /*margin-bottom: 10px;*/
    /*display: flex;*/
}

.pl-song {
    background-color: rgba(0, 0, 0, 0.3);
    box-shadow: 2px 6px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
    display: flex;

    -moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
}

.pl-song.active {
    background-color: rgba(255, 255, 255, 0.2);
}


.pl-icon {
    background-color: rgba(255, 255, 255, 0.35);
    display: flex;
    /* flex: 1; */
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
    width: 4.5em;
    height: 4.5em;
}

.pl-icon-content {
    color: white;
    text-shadow: 1px 3px 4px rgba(0, 0, 0, 0.1);
    font-size: 40px;
}

.pl-song-meta {
    padding: 10px;
    flex: 50;
}

.pl-title {
    color: rgba(255, 255, 255, 1.0);
    text-shadow: 1px 3px 4px rgba(0, 0, 0, 0.1);
    display: block;
    font-size: 20px;
    /* font-family: 'Open Sans', sans-serif; */
    font-weight: 300;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 3px 0px;
}

.pl-artist {
    color: rgba(255, 255, 255, 0.6);
    text-shadow: 1px 3px 4px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    font-weight: 400;
    /* text-transform: uppercase; */
    /* font-family: 'Open Sans', sans-serif; */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pl-duration {
    color: rgba(255, 255, 255, 0.6);
    text-shadow: 1px 3px 4px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    font-weight: 400;
    /* text-transform: uppercase; */
    /* font-family: 'Open Sans', sans-serif; */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    float: left;
    /* background-color: rgba(0, 0, 0, 0.3);*/
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#pl-empty-area {
    height: 145px;
    display: none;
}


/* Player controller Styles */
.player-controller {
    position: fixed;
    bottom: 0px;
    left: 0px;
    right: max(350px, 30%);
    /*display: flex;*/
    /*display: block;*/
    padding: 10px 20px;
    margin: 10px 30px;
}

.player-controller-internal {
    /*flex: 1;*/
    display: block;
    padding: 10px 20px;
    margin: 10px 30px;
}

#player-panel {
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 12px;
    box-shadow: 2px 6px 10px rgba(0, 0, 0, 0.08);
    /* border-right: 1px solid #CFD8DC; */
    /* width: 50%; */
    /* display: flex; */
    flex-direction: column;
    margin: auto;
    max-width: 700px;
}

@media screen and (max-width: 700px) {
    .player-controller {
        margin: 0px;
        padding: 0px;
        right: 0px;
    }

    #player-panel {
        border-radius: 0px;
    }

    #pl-empty-area {
        display: block;
    }

    #side-panel {
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
    }

    .about-info {
        box-shadow: 1px 3px 8px rgba(0, 0, 0, 0.05);
        border-radius: 12px;
        /*background-color: rgba(255, 255, 255, 0.3);*/
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 10%, rgba(120, 120, 120, 0.3) 90%);
        padding: 12px;
        margin-bottom: 20px;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }
}

.button-and-info {
    display: flex;
    width: 100%;
}

.play-btn {
    position: relative;
    top: 8px;
    height: 50px;
    aspect-ratio: 1/1;
    /* cursor: pointer; */
    box-shadow: 1px 3px 8px rgba(0, 0, 0, 0.05);
    /* float: left; */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    text-shadow: 1px 3px 4px rgba(0, 0, 0, 0.15);
    color: white;
    font-size: 20px;
}

.song-artist-album {
    height: 1em;
    padding: 2px;
    color: rgba(255, 255, 255, 0.6);
    text-shadow: 1px 3px 4px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    font-weight: 400;
    /* text-transform: uppercase; */
    /* font-family: 'Open Sans', sans-serif; */
    text-align: center;
    white-space: nowrap;
}

.song-title {
    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 1.0);
    text-shadow: 1px 3px 4px rgba(0, 0, 0, 0.1);
    display: block;
    font-size: 25px;
    /* font-family: 'Open Sans', sans-serif; */
    font-weight: 300;
    white-space: nowrap;
    overflow: visible;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.time-duration {
    height: 1em;
    color: rgba(255, 255, 255, 0.6);
    text-shadow: 1px 3px 4px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    font-weight: 400;
}