/* bottombar player stuff, awful styling. */

@font-face {
    font-family: "jk::player-icons";
    src: url("../fonts/icons.woff");
    font-weight: normal;
    font-style: normal;
}

.player-icons {
    font-family: "jk::player-icons";
    font-style: normal;
    font-weight: normal;
    color: white;
    user-select: none;
}

.music-player {
    bottom: 0;
    left: 0;
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
    height: 32px;
    background-color: var(--dark-color);
    border-top: 1px solid var(--outline-color);
    position: fixed;
    display: flex;
    align-items: center;
    user-select: none;
    overflow: hidden;
}

.music-player a {
    color: var(--text-color);
    font-size: 1.2em;
    text-align: center;
    padding: 10px;
}

.music-info {
    display: flex;
    align-items: center;
}


input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background-color: var(--bg);
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 2px;
    animate: 0.2s;
    box-shadow: 0px 0px 0px #000000;
    background: var(--outline-color);
    border-radius: 1px;
    border: 0px solid #000000;
}

input[type=range]::-webkit-slider-thumb {
    box-shadow: 0px 0px 0px #000000;
    border: 0px solid var(--outline-color);
    height: 10px;
    width: 10px;
    border-radius: 0px;
    background: var(--outline-color);
    -webkit-appearance: none;
    margin-top: -4px;
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: var(--outline-color);
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 2px;
    animate: 0.2s;
    box-shadow: 0px 0px 0px #000000;
    background: var(--outline-color);
    border-radius: 1px;
    border: 0px solid #000000;
}

input[type=range]::-moz-range-thumb {
    box-shadow: 0px 0px 0px #000000;
    border: 0px solid var(--outline-color);
    height: 10px;
    width: 10px;
    border-radius: 0px;
    background: var(--outline-color);
}

/* phone */
@media only screen and (max-width: 768px),
(orientation: portrait) {
    input[type=range] {
        display: none;
    }

    #split {
        display: none;
    }

    #music-queue {
        display: none;
    }

    #music-duration {
        display: none;
    }

    .music-control a {
        font-size: 1.5em;
        padding: 5px;
    }

    .music-info a {
        font-size: 3vw;
    }
}