html {
    scroll-behavior:smooth;
    scroll-padding-top: 1rem;
    /*font-family: sans-serif;*/
}

h2 {
    text-align: center;
    text-decoration: underline;
}
h3 {
    text-align: center;
    margin-bottom: 8px;
}

a {
    color: black;
    text-decoration: none;
}
a:hover {
    color: green;
}

table {
    border: solid 2px black;
    border-spacing: 0;
    border-radius: 12px;
    background-color: #f5f5f5;
    box-shadow: #444 4px 4px 2px;
    margin: 0 auto 50px auto;
    width: 80%;
    max-width: 1200px;
}

thead {
    border: solid 2px green;
    position: -webkit-sticky;
    position: sticky;
    top: -8px; /*90*/
    z-index: 1;
}

th {
    background-color: #bbb;
    border-bottom: 2px solid;
    border-right: 2px solid;
    padding: 10px 8px 6px 8px;
}

td {
    text-align:center;
    border-bottom: 2px solid;
    border-right: 2px solid;
    padding: 8px;
    white-space: nowrap;
}

a svg {
    /*border:1px solid black;*/
}

.play-button {
    width: 24px;
    height: 24px;
    margin-top:2px;
    padding: 1px 2px;
}

.dl {
    margin-right: 2px;
}

.dl, .spot, .yt, .dm {
    width: 26px;
    height: 26px;
    margin-top: 4px;
    padding: 0 2px 1px 2px;
}
.dm {
    margin-top: 5px;
    padding: 0 2px;

}

a:hover {
    cursor: pointer;
}
a:active svg {
    scale: 90%;
}

.play-button:hover, .play-button:active, .dl:hover, .dl:active { fill: #666; }
.dm:hover, .dm:active     { fill: #5865F2; }
.spot:hover, .spot:active { fill: #1DB954; }
.yt:hover, .yt:active     { fill: #FF0000; }

tr td:nth-child(3) {
    padding: 0 4px 0 4px;
    margin: 0;
    vertical-align: center;
    width: 0;
}

tr td:nth-child(1) {
    width: 0;
    /*padding: 0;*/
    /*margin: 0;*/
    vertical-align: center;
}


tr td:nth-child(2) {
    text-align: left;
    width: 70%;
    white-space: normal !important;
}

tr td:nth-child(4) {
    text-align: right;
    width: 0;
}

tr:nth-child(even) td{ background-color: #ddd; }
th:last-child, td:last-child { border-right: none; }
tr:last-child td { border-bottom: none; }

th:first-child { border-radius: 10px 0 0 0; }
th:last-child { border-radius: 0 10px 0 0; }
tr:last-child td:first-child { border-radius: 0 0 0 10px; }
tr:last-child td:last-child { border-radius: 0 0 10px 0; }

.stats {
    margin: 0 auto 50px auto;
    width: 75%;
    max-width: 1200px;
}

.stats-table {
    width: 0;
}

.stats-table tr td {
    text-align: center;
    white-space: nowrap !important;
    font-family: monospace, monospace;
}
.stats-table tr:last-child td {
    border-top: 2px solid black;
}

.nav-table tr td {
    text-align: center;
    width: 1%;
    padding: 0;
}
.nav-table tr td a:hover {color: inherit;}
.nav-table tr td div {padding:8px; margin:0 auto}
.nav-table tr td:nth-child(1):hover { background-color: #1DB954; }
.nav-table tr td:nth-child(2):hover { background-color: #FF5555; color: white;}
.nav-table tr td:nth-child(3):hover { background-color: #5865F2; color: white; }
.nav-table tr td:nth-child(4):hover { background-color: #1a70b8; color: white; }
.nav-table tr td:nth-child(5):hover { background-color: gold; }
.back-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    text-align: center;
}



#settings_wrapper {
    position: fixed;
    bottom: 58px;
    right: 0;
    left: 0;
    transform: scale(80%);
    margin: 0 auto 0 auto;
    max-width: 1520px;
    z-index: 2;
}

#settings {
    display: none;

    border: solid 2px black;
    border-radius: 12px;
    background-color: #f5f5f5;
    /*background-color: #222;*/
    box-shadow: #444 4px 4px 2px;
    /*margin-right: 10%;*/
    padding: 4px 0 32px 9px;

    margin-left: calc(100% - 314px);
    width: 300px;
}

#wrapper {
    display: none;
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    transform: scale(80%);
    /*filter: invert();*/

    border: solid 2px black;
    border-radius: 12px;
    background-color: #f5f5f5;
    /*background-color: #222;*/
    box-shadow: #444 4px 4px 2px;
    margin: 0 auto 0 auto;


    /*width: 80%;*/
    max-width: 1520px;
    z-index: 3;
}


#player {
    position: fixed;
    width: calc(100% - 16px);
    top: 0;
    display: flex;
    flex-direction: column;
    padding: 8px 12px 16px 12px;

}

canvas { /* vis */
    margin-bottom: -4px;
    width: 100%;
    height: 100px;
    z-index: -100;
    filter: brightness(80%);
    border-radius: 12px;
    /*transform: translateY(-30px);*/
}

span {
    width: fit-content;
    padding: 0 5px;
    margin: 0 5px;
    color: black;
    background-color: #f5f5f5;
    border-radius: 12px;
    /*filter: drop-shadow(2px 2px 0 #f5f5f5) drop-shadow(-2px -2px 0 #f5f5f5) drop-shadow(2px -2px 0 #f5f5f5) drop-shadow(-2px 2px 0 #f5f5f5);*/
}
.player-icon {
    /*background-color: #f5f5f5;*/
    /*border-radius: 6px;*/
    /*padding: 4px;*/
    filter: drop-shadow(1px 1px 0 #f5f5f5) drop-shadow(-1px -1px 0 #f5f5f5) drop-shadow(1px -1px 0 #f5f5f5) drop-shadow(-1px 1px 0 #f5f5f5);
}

#title-row {
    display: flex;
    justify-content: space-between;
}


#file-name {
    font-size: 14px;
    font-style: italic;
    height: 14px;
    padding: 0;
    margin-top:-6px;
    color: #222;
    background-color: #f5f5f588;
    border-radius: 6px;
}

#title {
    padding: 0;
    font-size: 1.2em;
    font-weight: 800;
    height: 1.2em;

    background-color: #f5f5f588;
    border-radius: 6px;
    /*text-decoration: underline;*/
}

#close-button {
    margin-top: -6px;
    margin-right: 14px;
    padding: 4px;
    font-weight: bold;
    font-size: 16px;
}
#close-button:hover, #close-button:active {
    color: darkred;
}


.controls {
    margin: 8px 16px 0;
    display: flex;
    align-items: center;
    flex-direction: row;
}

button {
    margin-top: 3px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    outline: none;
    /*width: 40px;*/
    /*height: 40px;*/
    float: left;
}
button:active {
    transform: scale(90%);
}



#settings-button {
    width: 16px;
    padding: 4px;
    margin-right: 12px;
    transform: translateY(-5px);
}
#settings-button svg {
    width: 16px;
}
#settings-button:hover svg, .settings-button:active svg {
    fill: darkgreen;
}
#settings-button:active {
    transform: translateY(-5px) scale(90%);
}
.settings-open {
    fill: green;
}

#seek {
    flex: 1;
    width: calc(100% - 4px);
}
#seek, #volume {
    filter: drop-shadow(1px 1px 0 #f5f5f5) drop-shadow(-1px -1px 0 #f5f5f5) drop-shadow(1px -1px 0 #f5f5f5) drop-shadow(-1px 1px 0 #f5f5f5);
}

#volume {
    margin-left: 10px;
}

.show-panel {
    display: block !important;
}



































