@font-face {
    font-family: "pxl"; 
    src: url("https://heathersaturnia.neocities.org/font/pxl.ttf");
}
@font-face {
    font-family: "slk"; 
    src: url("https://heathersaturnia.neocities.org/font/slk.ttf");
}
body {
    font-family: 'pxl';
    font-weight: bold;
    font-size: 15px;
    background-color: transparent;
    overflow: hidden;
}

.player {
    background: var(--bkgrnd);
    padding: 10px;
    width: 220px;
    height: 125px;
    position: relative;
}

.header {
    position: relative;
    margin-top: 0;
}

.now-playing-container {
    position: absolute;
    bottom: -70px; 
    left: -8px;
    width: 100%;
    display: flex; 
    text-align: left;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.show-now-playing {
    opacity: 1;
}

.album-art {
    width: 70px;
    height: 70px;
    margin-bottom: 5px;
    transition: opacity 1s ease-in-out;
    position: fixed;
    top: 15px; 
    left: 15px; 
    filter: grayscale(100%);
}

.current-song-container {
    flex-grow: 1; 
    margin-left: 80px; 
    text-align: left;
}

#current-song {
    width: 100%;
    text-align: left;
    transition: opacity 1s ease-in-out;
    opacity: 0;
}

.song-title, .song-artist {
    color: var(--font);
    white-space: normal; 
    overflow: hidden;
    text-overflow: ellipsis;
   
}

.show-song-details #current-song {
    opacity: 1;
}

.list-icon {
    position: absolute;
    right: -8px;
    top: -8px;
}

.controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
}

button {
    background: var(--accent);
    color: var(--font);
    border: none;
    padding: 2px;
    border-radius: 5px;
    cursor: pointer;
    height: 25px;
    width: 25px;
    display: inline-block;
    margin: 0 2px;
}

button:hover {
    background: var(--darkaccent);
}

button i {
    font-size: 1em;
}

button.active {
    background: var(--lightaccent);
    color: var(--bkgrnd);
}

button.active-repeat {
    background: var(--lightaccent);
    color: var(--bkgrnd);
}

.progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 0px;
    cursor: pointer;
}

#progress-bar {
    height: 100%;
    background: var(--lightaccent);
    width: 0;
    transition: width 0.2s;
}

.song-list-container {
    background: #fff;
    border: solid 2px var(--accent);
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 10px;
    width: 180px;
    height: 120px;
    overflow-y: auto;
    position: absolute;
    top: 8px;
    left: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 10;
}

.song-list-container.show {
    opacity: 1;
    visibility: visible;
}

.song-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    font-family: 'pxl';
    font-size: 12px;
    color: #000;
}

.song-list li {
    padding: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.song-list li:hover {
    background: var(--lightaccent);
}

.song-list-container::-webkit-scrollbar {
    width: 12px;
}

.song-list-container::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 10px;
}

.song-list-container::-webkit-scrollbar-thumb {
    background-color: var(--accent);
    border-radius: 10px;
    border: 3px solid #fff;
}

.song-list-container::-webkit-scrollbar-thumb:hover {
    background-color: var(--lightaccent);
}

.song-list-container::-webkit-scrollbar-thumb:active {
    background-color: var(--lightaccent);
}

.song-list-container {
    scrollbar-width: thin;
    scrollbar-color: var(--accent) #e0e0e0;
}

.song-list-container:hover {
    scrollbar-color: var(--lightaccent) #e0e0e0;
}

.song-list-container:active {
    scrollbar-color: var(--lightaccent) #e0e0e0;
}
