/**
 * /*
 * Prefixed by https://autoprefixer.github.io
 * PostCSS: v8.3.6,
 * Autoprefixer: v10.3.1
 * Browsers: last 4 version
 *
 * @format
 */

/** @format */
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');
@font-face {
    font-family: 'Digital';
    src: url(../fonts/SFDigitalReadout-Medium.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Digital';
    src: url(../fonts/SFDigitalReadout-Heavy.ttf) format('truetype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'Digital';
    src: url(../fonts/SFDigitalReadout-Light.ttf) format('truetype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Digital';
    src: url(../fonts/SFDigitalReadout-LightObliq.ttf) format('truetype');
    font-weight: 300;
    font-style: oblique;
}

/*=============================== algemene stijlen ===============================*/
:root {
    --bgcolor: #143d59;
    --bgcolor2: rgb(14, 48, 77);
    --bgcolorGrey: rgb(36, 35, 35);
    --boxLineColor: rgb(0, 247, 255);
    --smallGrey: rgb(182, 179, 179);
    --activeColor: rgb(255, 255, 255);
    --seek-before-width: 0%;
    --buffered-width: 0%;
    --volume-percentage: 50%;
    --playing-cover: url(../media/covers/Aardvarck\ -\ Kutparra_Front\ Cover.jpg) no-repeat;
    --audio-freq: url(../media/covers/Aardvarck\ -\ Kutparra_audio_freq.png) no-repeat;
    --scrollwidth-playlist: 0%;
}

*,
::before,
::after {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #144b70 #143d59;
}
*::-webkit-scrollbar {
    width: 6px;
}

*::-webkit-scrollbar-track {
    background: #143d59;
}

*::-webkit-scrollbar-thumb {
    background-color: #144b70;
    border-radius: 10px;
    border: 1px solid rgb(109, 108, 108);
}
a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
a:hover,
button:hover {
    color: white;
}
button,
[type='button'] {
    outline: none;
    border: none;
    cursor: pointer;
    /* border-radius: 10%; */
    /* background: transparent; */
}

body {
    width: 100vw;
    height: 100vh;
    font-family: 'Ubuntu', 'Helvetica', 'Helvetica Neue', 'Segoe UI', 'Arial', sans-serif;
    background-color: var(--bgcolorGrey);
    scroll-behavior: smooth;
    overflow: hidden;
}

h1 {
    color: #eee;
    margin-bottom: 30px;
}
/*=============================== structuur ===============================*/

header {
    height: 8vh;
    background: var(--bgcolorGrey);
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 2fr 3vh 4fr 3vh 2fr;
    grid-template-columns: 2fr 4fr 2fr;
    gap: 3vh;
}
footer {
    height: 22vh;
    background: var(--bgcolorGrey);
}
main {
    height: 70vh;
    overflow: hidden;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 2fr 3vh 4fr 3vh 2fr;
    grid-template-columns: 2fr 4fr 2fr;
    gap: 3vh;
    border-radius: 15% 15% 15% 15% / 25% 25% 25% 25%;
}

/*=============================== header: search ===============================*/
.smallSearch {
    margin: 1vh;
    opacity: 0;
}
.smallSearch > input {
    width: 100%;
    height: 50%;
}
#searchBar {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border-radius: 5px;
    font-size: 12px;
    outline: none;
    margin: 1vh 0;
    background: var(--bgcolor);
    border-top-left-radius: 20%;
    border-top-right-radius: 20%;
    -webkit-box-shadow: inset 0 0 10px rgb(3, 3, 3);
    box-shadow: inset 0 0 10px rgb(3, 3, 3);
}
#searchInput {
    width: 90%;
    border: none;
    outline: none;
    padding-left: 10px;
    padding-top: 2px;
    background: transparent;
    color: var(--boxLineColor);
}

#searchButton {
    width: 10%;
    outline: none;
    border-top-right-radius: 40%;
    background: transparent;
    color: var(--boxLineColor);
    border: none;
}

/*================================================ icons ===============================================*/
.search-icon {
    display: inline-block;
    font-weight: light;
    color: var(--boxLineColor);
    -webkit-transform: rotate(45deg) scale(2.2);
    -ms-transform: rotate(45deg) scale(2.2);
    transform: rotate(45deg) scale(2.2);
    text-align: center;
}
.search-icon:active {
    color: limegreen;
    /* text-shadow: 0px 0px 1px var(--boxLineColor); */
}
.material-icons.left {
    -webkit-transform: translate(-15%, 5%) scale(0.8);
    -ms-transform: translate(-15%, 5%) scale(0.8);
    transform: translate(-15%, 5%) scale(0.8);
    width: 100%;
}
.material-icons.right {
    -webkit-transform: translate(15%, 5%) scale(0.8);
    -ms-transform: translate(15%, 5%) scale(0.8);
    transform: translate(15%, 5%) scale(0.8);
    width: 100%;
}
.material-icons:hover {
    color: var(--boxLineColor);
}
.material-icons:active {
    color: var(--activeColor);
}
.material-icons.in-song {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-line-pack: center;
    align-content: center;
    color: white;
    pointer-events: none;
}
.material-icons.in-song.favorites {
    font-size: 21px;
}
.song.favorite .favoriteBtn > .material-icons.in-song {
    color: limegreen;
    background: limegreen;
}
.songFlip > button:hover .material-icons {
    color: var(--boxLineColor);
}
.songFlip > button:active .material-icons {
    color: var(--activeColor);
}
.loggingDisplay {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    -ms-flex-line-pack: center;
    align-content: center;
    background: var(--bgcolor);
    margin: 0 1vh;
    height: 0;
    -webkit-box-shadow: inset 0 0 10px rgb(3, 3, 3);
    box-shadow: inset 0 0 10px rgb(3, 3, 3);
    -webkit-transition: height 0.3s ease-in;
    -o-transition: height 0.3s ease-in;
    transition: height 0.3s ease-in;
}
.loggingDisplay.showing {
    height: 8vh;
    -webkit-transition: height 0.3s ease-out;
    -o-transition: height 0.3s ease-out;
    transition: height 0.3s ease-out;
}
.loggingDisplay > .loggingButtons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    position: absolute;
    height: 100%;
    right: 5px;
}

.loggingButtons > button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 1.5vh;
    width: 1.5vh;
    font-weight: bold;
    font-size: 1rem;
    background: transparent;
    color: limegreen;
    -webkit-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
}
#slideLoggingMenuBtn {
    -webkit-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
}
.loggingDisplay.showing #slideLoggingMenuBtn {
    -webkit-transform: rotateX(180deg);
    transform: rotateX(180deg);
    -webkit-transition: -webkit-transform 0.3s ease-out;
    transition: -webkit-transform 0.3s ease-out;
    -o-transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
}
#showAllLoggingBtn {
    height: 0;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    font-weight: normal;
    letter-spacing: -1px;
    -webkit-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
}
.loggingDisplay.showing #showAllLoggingBtn {
    height: 1.5vh;
    -webkit-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
#loggingList {
    list-style-type: none;
    color: var(--smallGrey);
    font-size: 0.6rem;
    width: 22vw;
    padding: 0 2vh 0 1vh;
    overflow: hidden;
    white-space: nowrap;
}
#loggingList > li {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}
#loggingList > li.green,
#logAllList > li.green {
    color: limegreen;
}
#loggingList > li.red,
#logAllList > li.red {
    color: red;
}
#loggingList > li.blue,
#logAllList > li.blue {
    color: var(--boxLineColor);
}
#loggingList > li.error,
#logAllList > li.error {
    color: hotpink;
}

#logAllList {
    position: absolute;
    list-style-type: none;
    color: var(--smallGrey);
    font-size: 0.6rem;
    height: auto;
    max-height: 0;
    width: 99.5%;
    top: 9vh;
    left: 0.4%;
    border-top: none;
    border-right: none;
    overflow-y: scroll;
    z-index: 10;
    background: var(--bgcolor);
    -webkit-box-shadow: inset 0 0 10px rgb(3, 3, 3);
    box-shadow: inset 0 0 10px rgb(3, 3, 3);
    -webkit-transition: max-height 0.3s ease-out;
    -o-transition: max-height 0.3s ease-out;
    transition: max-height 0.3s ease-out;
}
#logAllList.showing {
    -webkit-box-shadow: inset 0 0 10px rgb(3, 3, 3), 0 -1px 0 var(--boxLineColor), 1px 0 0 var(--boxLineColor),
        -1px 0 0 var(--boxLineColor);
    box-shadow: inset 0 0 10px rgb(3, 3, 3), 0 -1px 0 var(--boxLineColor), 1px 0 0 var(--boxLineColor),
        -1px 0 0 var(--boxLineColor);
    max-height: 69vh;
    -webkit-transition: max-height 0.3s ease-in;
    -o-transition: max-height 0.3s ease-in;
    transition: max-height 0.3s ease-in;
}
#logAllList > li {
    padding: 0 1vh;
}
#logAllList > li:first-of-type {
    padding-top: 1vh;
}
#logAllList > li:last-of-type {
    padding-bottom: 1vh;
}

/*=============================== middle: songlist ===============================*/
/******* General *******/
.search-wrapper {
    width: 100%;
    color: white;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin: 1vh 0;
    outline: none;
    height: 68vh;
    overflow: hidden;
}
.searchHeader {
    color: var(--smallGrey);
    font-size: 0.7em;
    padding: 1vh 1vh 0.5vh 1vh;
    position: relative;
    display: -ms-grid;
    display: grid;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-grid-columns: 1fr auto 1fr;
    grid-template-columns: 1fr auto 1fr;
    /* box-shadow: inset 0px -2px 0px var(--boxLineColor); */
}
.searchHeader::after {
    content: '';
    position: absolute;
    display: block;
    height: 2px;
    background: var(--boxLineColor);
    width: var(--scrollwidth-playlist);
    top: 91%;
    left: 0;
    max-width: 100%;
    -webkit-transition: width 0.7s ease-in;
    -o-transition: width 0.7s ease-in;
    transition: width 0.7s ease-in;
}
#songlist {
    -webkit-padding-start: 0;
    padding-inline-start: 0;
    background-color: var(--bgcolor2);
    padding: 1vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 1vh;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    height: 64vh;
    overflow: hidden scroll;
    /* outline: 2px solid var(--boxLineColor); */
    -webkit-box-shadow: inset 0 0 10px black, inset 0 0 15px var(--boxLineColor);
    box-shadow: inset 0 0 10px black, inset 0 0 15px var(--boxLineColor);
    scrollbar-color: var(--boxLineColor) #143d59;
}
#songlist::after {
    /* content: ''; */
    position: relative;
    display: block;
    height: 4px;
    background: red;
    width: 100%;
    top: 0;
}
/******* popups (cover, loader...) *******/
.popup {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: absolute;
    opacity: 0;
    pointer-events: none;
    -webkit-transition: opacity 0.3s ease-in-out;
    -o-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
}
.popup.showing {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    opacity: 1;
    pointer-events: all;
    -webkit-transition: opacity 0.5s ease-in-out;
    -o-transition: opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out;
}

/* modal */
.modal {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 20px;
    top: 50%;
    height: auto;
    width: 35%;
    left: 50%;
    overflow: hidden;
    -webkit-box-shadow: 0 0px 45px rgba(8, 9, 9, 0.83);
    box-shadow: 0 0px 45px rgba(8, 9, 9, 0.83);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.modal::before {
    content: '';
    margin: -35px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    background: #02133382;
}
.modal.confirm {
    background: #00f900b8;
}
.modal.error {
    background: #ff0000d4;
}
.modal.info {
    background: rgba(0, 247, 255, 0.85);
}
.modal.warning {
    background: #ffa500de;
}

.modal > h3 {
    text-align: center;
    color: var(--boxLineColor);
    background: var(--bgcolor);
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 1vh 2vh;
    width: 100%;
    -webkit-box-shadow: 0 0 5px 1px #0b0a0aa3;
    box-shadow: 0 0 5px 1px #0b0a0aa3;
    text-transform: capitalize;
}
.modal > h3 > span {
    justify-self: flex-start;
}
.modal.error > h3 {
    border-bottom: 1px solid red;
}
.modal.error > h3 > span {
    color: red;
}
.modal.warning > h3 {
    border-bottom: 1px solid orange;
}
.modal.warning > h3 > span {
    color: orange;
}
.modal.info > h3 {
    border-bottom: 1px solid var(--boxLineColor);
}
.modal.info > h3 > span {
    color: var(--boxLineColor);
}
.modal.confirm > h3 {
    border-bottom: 1px solid limegreen;
}
.modal.confirm > h3 > span {
    color: limegreen;
}
.modal > p {
    padding: 1vh 2vh;
    width: 100%;
    text-align: center;
    text-shadow: 2px 1px 2px #0b0b0b;
}
.modal > span {
    font-size: 0.7rem;
    font-style: italic;
    text-shadow: 2px 1px 2px #0b0b0b;
}
.modal > div {
    padding: 1vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.modal [type='button'] {
    font-size: 1rem;
    width: 12vh;
    background: var(--bgcolor);
    color: var(--boxLineColor);
    display: inline-block;
    margin: 1vh;
    padding: 1vh;
    border: 1px solid var(--boxLineColor);
    border-radius: 15%;
    -webkit-box-shadow: 0 0 3px 3px rgba(17, 17, 17, 0.65);
    box-shadow: 0 0 3px 3px rgba(17, 17, 17, 0.65);
}
.modal [type='button']:first-of-type {
    background: transparent;
    color: white;
    font-weight: bold;
}
.modal [type='button']:hover {
    color: white;
}
.modal [type='button']:first-of-type:hover {
    background: var(--boxLineColor);
    color: var(--bgcolor);
}

.modal [type='button']:active {
    border: 1px solid var(--boxLineColor);
    color: var(--boxLineColor);
    background: transparent;
    -webkit-box-shadow: 0 0 3px 3px rgba(17, 17, 17, 0.65);
    box-shadow: 0 0 3px 3px rgba(17, 17, 17, 0.65);
}

/* cover */
#showCover {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 48.5%;
    height: 62.5vh;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-line-pack: center;
    align-content: center;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(19, 60, 85, 0.94)), to(rgba(5, 5, 5, 0.952)));
    background: -o-linear-gradient(rgba(19, 60, 85, 0.94), rgba(5, 5, 5, 0.952));
    background: linear-gradient(rgba(19, 60, 85, 0.94), rgba(5, 5, 5, 0.952));
    -webkit-transform: translate(0%, 9%);
    -ms-transform: translate(0%, 9%);
    transform: translate(0%, 9%);
}
#showCover > img {
    position: relative;
    height: 95%;
    -webkit-box-shadow: 0 0 0px 2px white, 0 0 8px 5px var(--boxLineColor);
    box-shadow: 0 0 0px 2px white, 0 0 8px 5px var(--boxLineColor);
}
#showCover > span {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 2vh;
    height: 2vh;
    font-weight: bold;
    -ms-flex-item-align: start;
    align-self: flex-start;
    padding-bottom: 0.7vh;
    padding-left: 0.3vh;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-line-pack: center;
    align-content: center;
    border-radius: 0%;
    color: var(--bgcolor);
    background: white;
    cursor: pointer;
    -webkit-transform: translate(-100%, 80%);
    -ms-transform: translate(-100%, 80%);
    transform: translate(-100%, 80%);
}
#showCover > span:hover {
    color: var(--boxLineColor);
}

/* loader */
.loaderSection {
    display: none;
    height: 78vh;
    width: 100%;
    top: 0;
    left: 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: black;
}
.loaderSection.showing {
    opacity: 0.5;
}

@-webkit-keyframes changeColor {
    0% {
        -webkit-filter: hue-rotate(0deg);
        filter: hue-rotate(0deg);
    }
    100% {
        -webkit-filter: hue-rotate(360deg);
        filter: hue-rotate(360deg);
    }
}

@keyframes changeColor {
    0% {
        -webkit-filter: hue-rotate(0deg);
        filter: hue-rotate(0deg);
    }
    100% {
        -webkit-filter: hue-rotate(360deg);
        filter: hue-rotate(360deg);
    }
}
section .loader {
    position: relative;
    width: 120px;
    height: 120px;
}
section .loader span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transform: rotate(calc(18deg * var(--i)));
    -ms-transform: rotate(calc(18deg * var(--i)));
    transform: rotate(calc(18deg * var(--i)));
}
section .loader span::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--boxLineColor);
    /* box-shadow: 0 0 10px var(--boxLineColor), 0 0 20px var(--boxLineColor), 0 0 40px var(--boxLineColor),
        0 0 60px var(--boxLineColor), 0 0 80px var(--boxLineColor), 0 0 100px var(--boxLineColor); */
    -webkit-box-shadow: 0 0 10px var(--boxLineColor), 0 0 20px var(--boxLineColor), 0 0 40px var(--boxLineColor),
        0 0 60px var(--boxLineColor), 0 0 80px var(--boxLineColor), 0 0 100px rgba(0, 247, 255, 0);
    box-shadow: 0 0 10px var(--boxLineColor), 0 0 20px var(--boxLineColor), 0 0 40px var(--boxLineColor),
        0 0 60px var(--boxLineColor), 0 0 80px var(--boxLineColor), 0 0 100px rgba(0, 247, 255, 0);
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    -webkit-animation: animateDot 2s linear infinite;
    animation: animateDot 2s linear infinite;
    -webkit-animation-delay: calc(0.1s * var(--i));
    animation-delay: calc(0.1s * var(--i));
}
@-webkit-keyframes animateDot {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    80%,
    100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
}
@keyframes animateDot {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    80%,
    100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
}

/******* folder buttons *******/
#folderButtons {
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
[name='folder'] {
    position: relative;
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0;
}
[name='folder'] + label {
    display: block;
    height: 15px;
    width: 15px;
    pointer-events: none;
    border-radius: 50%;
    position: relative;
    -webkit-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    transform: translateX(-100%);
}
[name='folder'] + label::after {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    background: inherit;
    border-radius: 50%;
    opacity: 1;
    border: 1px solid currentColor;
    -webkit-box-shadow: inset -2px -2px 5px rgba(183, 181, 181, 0.35), inset 2px 2px 3px #090808;
    box-shadow: inset -2px -2px 5px rgba(183, 181, 181, 0.35), inset 2px 2px 3px #090808;
}
[name='folder']:hover + label::after {
    border: 2px solid var(--boxLineColor);
}

[name='folder']:checked + label::after {
    -webkit-box-shadow: 0 0px 1px 1px var(--boxLineColor), 0 0 8px 3px var(--boxLineColor), 0 0 0 1px currentColor;
    box-shadow: 0 0px 1px 1px var(--boxLineColor), 0 0 8px 3px var(--boxLineColor), 0 0 0 1px currentColor;
    border: 2px solid var(--boxLineColor);
}

[data-layout='All folders'] {
    background: white;
    color: white;
}
[data-layout='1'] {
    background: rgb(57, 184, 235);
    color: rgb(57, 184, 235);
}
[data-layout='2'] {
    background: black;
    color: black;
}
[data-layout='3'] {
    background: blue;
    color: blue;
}
[data-layout='4'] {
    background: goldenrod;
    color: goldenrod;
}
[data-layout='5'] {
    background: limegreen;
    color: limegreen;
}
[data-layout='6'] {
    background: rgb(97, 96, 96);
    color: rgb(97, 96, 96);
}
[data-layout='7'] {
    background: rgb(255, 47, 47);
    color: rgb(255, 47, 47);
}
[data-layout='8'] {
    background: yellow;
    color: yellow;
}
[data-layout='9'] {
    background: purple;
    color: purple;
}
[data-layout='10'] {
    background: darkgrey;
    color: darkgrey;
}

.matchButtons {
    -ms-grid-column-align: end;
    justify-self: end;
}

/******* matches *******/
.matches > span {
    color: white;
    font-style: italic;
}

/******* songs *******/
.song {
    list-style-type: none;
    background-color: #24222254;
    color: #01ecfd;
    border-radius: 3px;
    -ms-flex-preferred-size: 49%;
    flex-basis: 49%;
    height: 9.5vh;
    cursor: context-menu;
    position: relative;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 4fr 0.5fr;
    grid-template-columns: 1fr 4fr 0.5fr;
    -ms-grid-rows: 0.333fr 0.333fr 0.333fr;
    grid-template-rows: 0.333fr 0.333fr 0.333fr;
    grid-template-areas:
        'image track songFlip'
        'image artist songFlip'
        'image remix songFlip';
    text-align: left;
    -webkit-box-shadow: 5px 5px 20px rgba(32, 47, 77, 0.548);
    box-shadow: 5px 5px 20px rgba(32, 47, 77, 0.548);
    -webkit-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
    outline: 2px solid var(--bgcolor);
    -webkit-box-shadow: -1px 1px 2px var(--boxLineColor);
    box-shadow: -1px 1px 2px var(--boxLineColor);
}
.song.active {
    -ms-grid-columns: 1fr 0fr 4.5fr;
    grid-template-columns: 1fr 0fr 4.5fr;
}
.song.playing {
    color: limegreen;
    -webkit-box-shadow: -4px 3px 0px var(--boxLineColor);
    box-shadow: -4px 3px 0px var(--boxLineColor);
}
.song > h2 {
    -ms-grid-row: 1;
    -ms-grid-column: 2;
    grid-row: 1;
    grid-column: 2;
    grid-area: track;
    margin: 0;
    padding-top: 0.3em;
    font-size: 0.8em;
    max-height: 100%;
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    text-transform: capitalize;
    cursor: pointer;
}

.song > p:nth-of-type(1) {
    -ms-grid-row: 2;
    -ms-grid-column: 2;
    grid-row: 2;
    grid-column: 2;
    grid-area: artist;
    margin: 0;
    padding-top: 0.1em;
    font-size: 0.8em;
    max-height: 100%;
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    cursor: pointer;
}
.song > p:nth-of-type(2) {
    -ms-grid-row: 3;
    -ms-grid-column: 2;
    grid-row: 3;
    grid-column: 2;
    grid-area: remix;
    margin: 0;
    padding-top: 0.1em;
    font-size: 0.6em;
    max-height: 100%;
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}
.song > p > a:hover,
.song > h2:hover {
    display: block;
    color: white;
    direction: rtl;
    padding-right: 4vh;
    -o-text-overflow: clip;
    text-overflow: clip;
    -webkit-transition: padding-right 2s linear;
    -o-transition: padding-right 2s linear;
    transition: padding-right 2s linear;
}

.song > p > a:active,
.song > p > a:focus,
.song > h2:active {
    color: var(--activeColor);
}

.song.active > div {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.song > .songFlip {
    -ms-grid-row: 1;
    -ms-grid-row-span: 3;
    -ms-grid-column: 3;
    grid-row: 1;
    grid-column: 3;
    grid-area: songFlip;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: rgba(0, 255, 242, 0.219);
    max-width: 100%;
    border-radius: 0 3px 3px 0;
}
.songFlip > button {
    outline: none;
    border: none;
    overflow: hidden;
    width: 5px;
    height: 5px;
    margin: 4px;
    border-radius: 50%;
    pointer-events: none;
    background-color: var(--boxLineColor);
}

.song.active > div > button {
    display: block;
    width: 30px;
    height: 30px;
    margin: 5px;
    pointer-events: all;
    background-color: var(--bgcolor);
    border-radius: 15%;
    /* outline: 2px solid var(--boxLineColor); */
    -webkit-box-shadow: inset 0 0 5px black;
    box-shadow: inset 0 0 5px black;
    -webkit-transition: all 0.4s ease-in-out 0.2s;
    -o-transition: all 0.4s ease-in-out 0.2s;
    transition: all 0.4s ease-in-out 0.2s;
}
.song.active.favorite .material-icons.in-song.favorites {
    background-color: transparent;
}
.song.active .material-icons.in-song {
    background: transparent; /* correctie voor de data-folder buttons */
}

.song > img {
    -ms-grid-row: 1;
    -ms-grid-row-span: 3;
    -ms-grid-column: 1;
    grid-row: 1;
    grid-column: 1;
    height: 9vh;
    width: 9vh;
    grid-area: image;
    border-radius: 50%;
    margin-right: 0.5em;
    cursor: pointer;
    -webkit-box-shadow: inset 0 0 20px blue;
    box-shadow: inset 0 0 20px blue;
}
/*=============================== playlist ===============================*/
.playlist-wrapper {
    height: 68vh;
    margin: 1vh;
    border-radius: 0% 50% 50% 0% / 25% 25% 25% 25%;
    overflow: hidden;
    border: 1px solid var(--boxLineColor);
    background: var(--bgcolor);
    -webkit-box-shadow: inset 0 0 10px rgb(3, 3, 3);
    box-shadow: inset 0 0 10px rgb(3, 3, 3);
}
.playlistHeader {
    max-height: 0;
    overflow: hidden;
    width: 100%;
    border-bottom: none;
    -webkit-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}
#thisPlaylist {
    font-size: 0.7rem;
    font-weight: normal;
    color: limegreen;
    background: var(--bgcolor);
    border-radius: 10%;
    padding: 2px 5px;
    margin-right: 1vh;
    cursor: pointer;
}
#thisPlaylist:hover {
    color: var(--smallGrey);
}
#thisPlaylist:active {
    background: white;
}
.playlistHeader.showing {
    max-height: 30vh;
    overflow-y: scroll;
    border-bottom: 2px solid var(--boxLineColor);
    -webkit-transition: max-height 0.5s ease-out;
    -o-transition: max-height 0.5s ease-out;
    transition: max-height 0.5s ease-out;
}

#allPlaylists {
    direction: rtl;
    height: 100%;
    width: 22vw;
    opacity: 1;
    padding-bottom: 1vh;
    overflow-y: scroll;
    scrollbar-color: var(--boxLineColor) #143d59;
}
#allPlaylists > li {
    color: var(--boxLineColor);
    font-size: 0.8em;
    list-style-type: none;
    height: 0vh;
    pointer-events: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: height 0.5s ease-out;
    -o-transition: height 0.5s ease-out;
    transition: height 0.5s ease-out;
}

#allPlaylists > li > a:active {
    color: var(--activeColor);
}
#allPlaylists > li {
    direction: ltr;
    float: left;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 3vh;
    width: 80%;
    pointer-events: all;
    -webkit-box-shadow: -2px 1px 0px rgba(2, 233, 240, 0.26);
    box-shadow: -2px 1px 0px rgba(2, 233, 240, 0.26);
    -webkit-transition: height 0.3s ease-out;
    -o-transition: height 0.3s ease-out;
    transition: height 0.3s ease-out;
    padding: 1vh 1vh 1vh 0vh;
}
#allPlaylists > li > span {
    font-size: 0.6rem;
    color: var(--smallGrey);
    pointer-events: none;
}
#allPlaylists > li > button {
    width: 5vh;
    border: none;
    background: transparent;
    outline: none;
}

#allPlaylists > li > button:active {
    color: var(--activeColor);
}

#playlistInput {
    width: 0;
    border: none;
    pointer-events: none;
    outline: none;
    margin-left: 1vh;
    font-size: 0.7rem;
    height: 1.2rem;
    color: var(--boxLineColor);
    background: rgba(3, 18, 31, 0.527);
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
.createPlaylist:hover > #playlistInput,
#playlistInput:focus {
    width: 15vw;
    pointer-events: all;
    padding-left: 0.5vh;
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
#createPlaylist {
    direction: ltr;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    height: 3.5vh;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 0.7rem;
    padding-left: 5px;
    padding-bottom: 2px;
    color: limegreen;
    background: var(--bgcolor);
    border: none;
    -webkit-box-shadow: inset 0 0 3px rgb(3, 3, 3);
    box-shadow: inset 0 0 3px rgb(3, 3, 3);
}
#createPlaylist:hover {
    color: white;
}
#createPlaylist:active {
    color: var(--boxLineColor);
}
#createPlaylist > .material-icons {
    font-size: 18px;
    padding-top: 2px;
}
#createPlaylist > .material-icons:hover {
    color: white;
}
#createPlaylist > .material-icons:active {
    color: var(--activeColor);
}
#playlist {
    direction: rtl;
    padding: 0.5vh 0 0 0.5vh;
    max-height: 59.8vh; /* zeker nog aanpassen: nu Ok volgens scrollbar*/
    overflow: hidden scroll;
    border-top: 2px solid var(--boxLineColor);
    scrollbar-color: var(--boxLineColor) #143d59;
}
.playlistButtons {
    padding: 1vh;
    background: var(--bgcolorGrey);
}
.matchButtons > button,
.playlistButtons > button {
    background: transparent;
    border: 1px solid var(--boxLineColor);
    color: var(--boxLineColor);
    padding: 2px 4px;
    border-radius: 15%;
    margin-bottom: 0.7vh;
}
.matchButtons > button:hover,
.playlistButtons > button:hover {
    color: white;
}
.matchButtons > button:active,
.playlistButtons > button:active {
    color: var(--smallGrey);
    border: 1px solid white;
}
.playlistButtons > p {
    color: var(--smallGrey);
    font-size: 0.7em;
}
.playlistSongs {
    direction: ltr;
    font-size: 0.7em;
    text-align: left;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 93%;
    height: 3vh;
    padding-left: 0.5vh;
    color: var(--boxLineColor);
    -webkit-box-shadow: 0px 1px 0px rgba(2, 233, 240, 0.26);
    box-shadow: 0px 1px 0px rgba(2, 233, 240, 0.26);
    float: left;
    cursor: context-menu;
}
.playlistSongs.playing {
    color: limegreen;
}
.playlistSongs p {
    width: 78%;
    overflow: hidden;
    white-space: nowrap;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    cursor: pointer;
}
.playlistSongs p::before {
    content: '\2937';
    display: inline-block;
    position: relative;
    background: transparent;
    color: limegreen;
    height: 3vh;
    width: 12px;
    font-size: 1.2em;
    top: 0;
    left: 0;
}
.myPlaylistButtons {
    width: 20%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.playlistSongs button {
    color: var(--smallGrey);
    background-color: transparent;
    font-size: 1em;
}
.playlistSongs button:hover {
    color: white;
}
.playlistSongs p:hover {
    color: white;
}
.playlistSongs p:active {
    color: var(--activeColor);
}

/*=============================== aside ===============================*/
aside {
    height: 68vh;
    border-radius: 50% 0% 0% 50% / 25% 25% 25% 25%;
    margin: 1vh;
    padding: 0 1vh;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--boxLineColor);
    background: var(--bgcolor);
    -webkit-box-shadow: inset 0 0 10px rgb(3, 3, 3);
    box-shadow: inset 0 0 10px rgb(3, 3, 3);
}
.filterHeader {
    height: 2vh;
    width: 100%;
    background: var(--bgcolorGrey);
    -webkit-box-shadow: inset 8px 8px 18px #020a29, inset -8px -8px 18px #0628a5;
    box-shadow: inset 8px 8px 18px #020a29, inset -8px -8px 18px #0628a5;
    opacity: 0;
}
aside > .filters {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    height: 64vh;
}

.select {
    width: 70%;
    height: 13.4vh;
    list-style-type: none;
    scrollbar-color: var(--boxLineColor) #143d59;
    margin: 0.5vh 0;
    padding: 0vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    overflow: hidden scroll;
    position: relative;
    border: 1px solid var(--boxLineColor);
    background: var(--bgcolor);
    border-radius: 20%;
    -webkit-box-shadow: inset 0 0 10px rgb(3, 3, 3);
    box-shadow: inset 0 0 10px rgb(3, 3, 3);
}
.select > li {
    width: 100%;
    font-size: 0.8rem;
    padding: 0.1vh 1vh;
    height: 3vh;

    border-bottom: 1px solid var(--boxLineColor);
    text-align: center;
}
.select > li a {
    display: block;
    height: 3vh;
    color: limegreen;
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}
.select > li:first-of-type {
    color: var(--boxLineColor);
    background: var(--bgcolor);
    -webkit-box-shadow: inset 0 0 10px rgb(3, 3, 3);
    box-shadow: inset 0 0 10px rgb(3, 3, 3);
    font-weight: bold;
    position: sticky;
    top: 0;
    bottom: 0;
    cursor: context-menu;
    text-align: right;
}
.select > li:not(:nth-of-type(1)) > a::after {
    content: ' ' attr(data-count);
    font-size: 0.5rem;
    font-weight: bold;
    display: inline-block;
    color: var(--smallGrey);
    padding-left: 0.7vh;
}

.select > li:not(:nth-of-type(1)) > a:hover {
    cursor: pointer;
    color: white;
}
.select > li:not(:nth-of-type(1)) > a:active {
    color: var(--activeColor);
}

/*======================================== AUDIOPLAYER ========================================*/
/*======================================== AUDIOPLAYER ========================================*/
/*======================================== AUDIOPLAYER ========================================*/

/*============ FOOTER setup ===========*/

.audioplayer {
    /* outline: 2px solid var(--boxLineColor); */
    width: 100%;
    height: 100%;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 2fr 4fr 2fr;
    grid-template-columns: 2fr 4fr 2fr;
    padding-bottom: 0.5vh;
}
.audioplayer > div {
    /* outline: 1px solid var(--boxLineColor); */
    overflow: hidden;
}

.playerLeft,
.playerRight {
    padding: 1vh;
}
/*============ FOOTER LEFT ===========*/
.infoList,
#canvas {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 1vh;
    width: 100%;
    height: 100%;
    border: 1px solid var(--boxLineColor);
    background: -webkit-gradient(linear, left top, left bottom, from(var(--bgcolor)), to(black));
    background: -o-linear-gradient(var(--bgcolor), black);
    background: linear-gradient(var(--bgcolor), black);
    border-radius: 20%;
    -webkit-box-shadow: inset 0 0 10px rgb(3, 3, 3);
    box-shadow: inset 0 0 10px rgb(3, 3, 3);
}
.infoList > div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    font-family: 'Ubuntu', Verdana, Geneva, Tahoma, sans-serif;
}
.infoList .artist,
.infoList .track,
.infoList .album {
    font-weight: bold;
    padding: 0.4vh 0;
    font-size: 0.8rem;
    color: var(--boxLineColor);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

.infoList p > span {
    font-size: 0.7rem;
    overflow: hidden;
    white-space: nowrap;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}
.infoList p > a {
    font-size: 0.7rem;
    text-decoration: underline;
    overflow: hidden;
    white-space: nowrap;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}
.infoList p > a:hover {
    color: white;
}
/*============ FOOTER CENTER ===========*/

/**************** AP CENTER general *****************/

#audio-player-container {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 3fr 1vh 4fr 1vh 0.5fr;
    grid-template-columns: 3fr 4fr 0.5fr;
    -ms-grid-rows: 0.5fr 1vh 2fr 1vh 0.5fr;
    grid-template-rows: 0.5fr 2fr 0.5fr;
    grid-template-areas:
        'up up up'
        'left center right'
        'left down right';
    position: relative;
    margin: 0vh 2vh;
    height: 20vh;
    gap: 1vh;
}
#audio-player-container::before {
    position: absolute;
    /* content: ''; */
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    left: -2px;
    top: -2px;
    background: -webkit-gradient(linear, right top, left top, from(#007db5), to(#ff8a00));
    background: -o-linear-gradient(right, #007db5, #ff8a00);
    background: linear-gradient(to left, #007db5, #ff8a00);
    z-index: 0;
}

/**************** AP CENTER top *****************/
#audio-player-container > .audio-cd {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
    grid-row: 1;
    grid-column: 1;
    -ms-grid-column-span: 5;
    grid-area: up;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background: var(--bgcolorGrey);
    z-index: 1;
}
input[type='range'] {
    position: relative;
    margin: 1vh 0;
    padding: 0.5vh 0.3vh 0.1vh 0.3vh;
    width: 100%;
    height: 7px;
    background: black;
    border-top-left-radius: 30%;
    border-top-right-radius: 30%;
    overflow: hidden;
    -webkit-box-shadow: 0 -1px 1px black, 0 2px 0px black, 0 1px 2px rgb(255, 255, 255),
        inset 0 0px 2px rgb(250, 248, 248);
    box-shadow: 0 -1px 1px black, 0 2px 0px black, 0 1px 2px rgb(255, 255, 255), inset 0 0px 2px rgb(250, 248, 248);
}

input[type='range']::-moz-range-progress {
    background-color: var(--boxLineColor);
    outline: 1px solid rgba(0, 238, 255, 0.308);
    height: 3px;
    position: relative;
    width: var(--buffered-width);
    overflow: hidden;
    cursor: pointer;
    -moz-transition: width 0.5s ease-in-out;
    transition: width 0.5s ease-in-out;
}
input[type='range']::-moz-focus-outer {
    border: 0;
}
input[type='range']::-moz-range-thumb {
    box-sizing: content-box;
    border: none;
    outline: none;
    background-color: transparent;
    cursor: pointer;
}
input[type='range']::-webkit-progress-bar {
    -webkit-appearance: none;
    background-color: var(--boxLineColor);
    border: 1px solid red;
}
input[type='range']::-webkit-slider-runnable-track,
input[type='range']::-webkit-slider-thumb {
    -webkit-appearance: none;
    box-sizing: content-box;
    border: none;
    outline: none;
    background-color: var(--boxLineColor);
    cursor: pointer;
}

/**************** AP CENTER left *****************/
#audio-player-container > .audio-left {
    -ms-grid-row: 3;
    -ms-grid-row-span: 3;
    -ms-grid-column: 1;
    grid-row: 3;
    grid-column: 1;
    grid-area: left;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 0.5fr 15vh 0.5fr;
    grid-template-columns: 0.5fr 15vh 0.5fr;
}
.audio-left > div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-line-pack: center;
    align-content: center;
    background: var(--bgcolorGrey);
}

/* buttons */

.audio-left-left > button,
.audio-left-right > button {
    height: 30%;
    width: 100%;
    outline: 2px solid black;
    border: 1px solid var(--boxLineColor);

    color: white;
    background: var(--bgcolorGrey);
    -webkit-box-shadow: inset 2px 2px 5px rgba(255, 255, 255, 0.575), inset -2px -2px 2px black, -2px -2px 3px black;
    box-shadow: inset 2px 2px 5px rgba(255, 255, 255, 0.575), inset -2px -2px 2px black, -2px -2px 3px black;
    -webkit-box-shadow: inset -1px 1px 5px rgb(1, 232, 248), inset 0px 0px 20px rgb(12, 12, 12),
        0px 0px 3px 2px rgb(247, 244, 244), 0px 0px 6px 5px rgb(8, 8, 8);
    box-shadow: inset -1px 1px 5px rgb(1, 232, 248), inset 0px 0px 20px rgb(12, 12, 12),
        0px 0px 3px 2px rgb(247, 244, 244), 0px 0px 6px 5px rgb(8, 8, 8);
}
.audio-left button:active {
    outline: 1px solid var(--boxLineColor);
    color: var(--boxLineColor);
}

.audio-left-left > button:nth-of-type(1) {
    border-top-left-radius: 50%; /*repeat*/
}
#repeat-button.active,
#shuffle-button.active {
    outline: 2px solid var(--boxLineColor);
    color: limegreen;
}

.audio-left-left > button:nth-of-type(3) {
    border-bottom-left-radius: 50%; /*seek-back*/
}
.audio-left-right > button:nth-of-type(1) {
    border-top-right-radius: 50%; /*shuffle*/
}

.audio-left-right > button:nth-of-type(3) {
    border-bottom-right-radius: 50%; /*seek-forward*/
}
.audio-left-center {
    z-index: 0;
}

/* circles */

.audio-volume {
    margin: 0.5vh 0;
    width: 15.5vh;
    height: 15.5vh;
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-shadow: inset 0px 0px 2px rgb(62, 89, 94), inset 0px 0px 1px var(--boxLineColor),
        inset 0px 0px 3px black;
    box-shadow: inset 0px 0px 2px rgb(62, 89, 94), inset 0px 0px 1px var(--boxLineColor), inset 0px 0px 3px black;
    background: conic-gradient(
            transparent 0%,
            var(--boxLineColor) 0%,
            var(--boxLineColor) var(--volume-percentage),
            transparent var(--volume-percentage)
        ),
        repeating-conic-gradient(transparent 0 25deg, black 25deg 27deg);
}

.wrapper.spinning .audio-volume {
    -webkit-animation: 12s flirtinColors linear infinite alternate;
    animation: 12s flirtinColors linear infinite alternate;
}
@-webkit-keyframes flirtinColors {
    0% {
        -webkit-box-shadow: 0 0 15px hotpink;
        box-shadow: 0 0 15px hotpink;
    }
    25% {
        -webkit-box-shadow: 0 0 15px limegreen;
        box-shadow: 0 0 15px limegreen;
    }
    50% {
        -webkit-box-shadow: 0 0 15px var(--boxLineColor);
        box-shadow: 0 0 15px var(--boxLineColor);
    }
    75% {
        -webkit-box-shadow: 0 0 15px goldenrod;
        box-shadow: 0 0 15px goldenrod;
    }
    100% {
        -webkit-box-shadow: 0 0 15px red;
        box-shadow: 0 0 15px red;
    }
}
@keyframes flirtinColors {
    0% {
        -webkit-box-shadow: 0 0 15px hotpink;
        box-shadow: 0 0 15px hotpink;
    }
    25% {
        -webkit-box-shadow: 0 0 15px limegreen;
        box-shadow: 0 0 15px limegreen;
    }
    50% {
        -webkit-box-shadow: 0 0 15px var(--boxLineColor);
        box-shadow: 0 0 15px var(--boxLineColor);
    }
    75% {
        -webkit-box-shadow: 0 0 15px goldenrod;
        box-shadow: 0 0 15px goldenrod;
    }
    100% {
        -webkit-box-shadow: 0 0 15px red;
        box-shadow: 0 0 15px red;
    }
}
.audio-volume::after {
    content: '';
    display: block;
    position: absolute;
    height: 130%;
    width: 130%;
    border-radius: 50%;
    /* background-image: radial-gradient(var(--boxLineColor) 1px, var(--bgcolorGrey) 1px); */
    background-size: 15px 15px;
    background-color: var(--bgcolorGrey);
    background-position: top center;
    z-index: -2;
    -webkit-box-shadow: inset 2px 0px 5px black, inset 2px 0px 10px rgba(255, 255, 255, 0.452);
    box-shadow: inset 2px 0px 5px black, inset 2px 0px 10px rgba(255, 255, 255, 0.452);
    pointer-events: none;
}
.audio-volume::before {
    content: '';
    display: block;
    position: absolute;
    height: 150%;
    width: 150%;
    border-radius: 50%;
    border: 5px solid rgb(4, 247, 247);
    background: rgb(5, 0, 0);
    -webkit-box-shadow: inset 2px 0px 5px rgba(0, 0, 0, 0.397), inset -2px 0px 10px rgba(255, 255, 255, 0.452);
    box-shadow: inset 2px 0px 5px rgba(0, 0, 0, 0.397), inset -2px 0px 10px rgba(255, 255, 255, 0.452);
    z-index: -2;
    pointer-events: none;
}
.audio-cover {
    width: 12vh;
    height: 12vh;
    border-radius: 50%;
    background: var(--playing-cover);
    background-size: cover;
    border: 2px groove rgb(90, 90, 90);
}
#play-button {
    width: 100%;
    height: 100%;
    outline: none;
    border: none;
    background: rgba(255, 192, 203, 0);
    border-radius: 50%;
    -webkit-box-shadow: inset 0px 0px 5px #090808;
    box-shadow: inset 0px 0px 5px #090808;
}
.wrapper.spinning .audio-cover {
    -webkit-animation: 6s spinning infinite linear;
    animation: 6s spinning infinite linear;
}
.wrapper.spinning .audio-cover > #play-button {
    animation: 6s spinning infinite reverse linear;
}

@-webkit-keyframes spinning {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinning {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
/**************** AP CENTER center (display) *****************/

#audio-player-container > .audio-display {
    -ms-grid-row: 3;
    -ms-grid-column: 3;
    grid-row: 3;
    grid-column: 3;
    grid-area: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background: var(--bgcolor);
    border-radius: 20%;
    -webkit-box-shadow: inset 0 0 10px rgb(3, 3, 3);
    box-shadow: inset 0 0 10px rgb(3, 3, 3);
    overflow: hidden;
    border: 1px solid var(--boxLineColor);
}
.audio-freq-container {
    position: relative;
    height: 100%;
    width: 100%;
    background-image: -webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(49%, transparent),
        color-stop(49%, black),
        color-stop(49.5%, grey),
        color-stop(51%, white),
        color-stop(51%, transparent)
    );
    background-image: -o-linear-gradient(top, transparent 49%, black 49%, grey 49.5% 50.5%, white 51%, transparent 51%);
    background-image: linear-gradient(
        to bottom,
        transparent 49%,
        black 49%,
        grey 49.5% 50.5%,
        white 51%,
        transparent 51%
    );
}

.audio-freq-left {
    position: relative;
    background: var(--audio-freq) no-repeat;
    background-size: 100% 70px;
    background-position: 0%;
    height: 100%;
    width: 1500px;
    left: 50%;
    -webkit-filter: sepia(1) saturate(100) saturate(100%) hue-rotate(135deg) drop-shadow(0px -1px 10px black);
    filter: sepia(1) saturate(100) saturate(100%) hue-rotate(135deg) drop-shadow(0px -1px 10px black);
    -webkit-filter: sepia(100%) contrast(0%) brightness(30.2%) drop-shadow(0px 0px 4px yellow) hue-rotate(120.5deg);
    filter: sepia(100%) contrast(0%) brightness(30.2%) drop-shadow(0px 0px 4px yellow) hue-rotate(120.5deg);
    -webkit-transform: translateX(calc(-1 * var(--seek-before-width)));
    -ms-transform: translateX(calc(-1 * var(--seek-before-width)));
    transform: translateX(calc(-1 * var(--seek-before-width)));
}
.audio-freq-right {
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 50%;
    height: 100%;
    top: 0;
    border-right: 2px solid white;
    background: rgba(255, 255, 255, 0.247);
}
.time {
    font-family: 'Digital', 'Ubuntu', Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1.7rem;
    font-weight: 400;
    padding: 1vh;
    color: white;
}

.audio-freq-left::after {
    /* content: ''; */
    display: block;
    position: absolute;
    left: 50%;
    top: 0;
    height: 100%;
    width: 2px;
    background: transparent;
    border-left: 2px solid white;
}

/**************** AP CENTER down *****************/
#audio-player-container > .audio-down {
    -ms-grid-row: 5;
    -ms-grid-column: 3;
    grid-row: 5;
    grid-column: 3;
    grid-area: down;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background: var(--bgcolor);
    border-radius: 5%;
    -webkit-box-shadow: inset 0 0 10px rgb(10, 10, 10);
    box-shadow: inset 0 0 10px rgb(10, 10, 10);
    overflow: hidden;
    border: 1px solid var(--boxLineColor);
    padding: 0 1vh;
}
#info-slider,
#info-slider2 {
    display: none;
}

.audio-down.sliding #info-slider,
.audio-down.sliding #info-slider2 {
    font-family: 'Digital', 'Ubuntu', Verdana, Geneva, Tahoma, sans-serif;
    display: block;
    letter-spacing: 2px;
    font-size: 2.5vh;
    white-space: nowrap;
    color: var(--boxLineColor);
    position: relative;
    -webkit-animation: mymove 15s linear infinite;
    animation: mymove 15s linear infinite;
}
.audio-down.sliding #info-slider2 {
    display: inline-block;
}
.audio-down.sliding span {
    color: limegreen;
}

@-webkit-keyframes mymove {
    to {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
}

@keyframes mymove {
    to {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
}

/**************** AP CENTER right *****************/
#audio-player-container > .audio-right {
    -ms-grid-row: 3;
    -ms-grid-row-span: 3;
    -ms-grid-column: 5;
    grid-row: 3;
    grid-column: 5;
    grid-area: right;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: var(--bgcolorGrey);
}
.audio-right > p {
    color: var(--smallGrey);
    font-size: 0.6rem;
}
.audio-right > button {
    height: 5vh;
    width: 5vh;
    border-radius: 50%;
    color: var(--boxLineColor);
    background: var(--bgcolor);
    -webkit-box-shadow: inset 0 0 6px black;
    box-shadow: inset 0 0 6px black;
    margin-bottom: 10px;
}
.audio-right > button > .material-icons:hover {
    color: white;
}
.audio-right > button > .material-icons {
    border-radius: 50%;
    font-size: 3.4vh;
    padding-top: 2px;
}
.audio-right > .outputSpan {
    font-family: 'Digital', 'Ubuntu', Verdana, Geneva, Tahoma, sans-serif;
    letter-spacing: 2px;
    font-size: 3.5vh;
    height: 5vh;
    width: 5vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    /* font-weight: bold; */
    border-radius: 50%;
    color: var(--boxLineColor);
    background: var(--bgcolor);
    -webkit-box-shadow: inset 0 0 6px black;
    box-shadow: inset 0 0 6px black;
}

/*============ FOOTER RIGHT ===========*/
