:root {
    --bg-color: transparent;
    --text-color: #D9D9D9;
    --accent-color: #BB0001;
}
@font-face {
    font-family: 'Silkscreen';
    src: url('https://gotomary.github.io/ElaineCanListenLastFM/slkscr.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Silkscreen';
    src: url('https://gotomary.github.io/ElaineCanListenLastFM/slkscrb.ttf') format('truetype');
    font-weight: bold;
    font-style: bold;
}

body {
    font-family: 'Silkscreen', sans-serif;
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: unset;
    font-smooth: never;
}
.widget {
    background-color: transparent !important; /* Set background to transparent */
    border: none !important; /* Remove any borders if applicable */
    background: var(--bg-color);
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
    padding: 10px; /* padding */
    width: 220px; /* width */
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.lastfm-link {
    display: flex;
    align-items: top;
    color: inherit;
    text-decoration: none;
    font-size: 8px;
    margin-bottom: 5px; /* Add some space below the link */
}

#lastfm-logo {
    margin-right: 5px; /* Add some space between the logo and text */
    width: 17px; /* Adjust this value as needed */
    height: auto; /* Maintains aspect ratio */
}
.current-song {
    display: flex; /* use flexbox for alignment */
    align-items: flex-start;
    margin-bottom: 0px; /* margin */
    height: 20%; /* height */
    min-height: 50px;
}
.current-song-details {
    margin-left: 5px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-grow: 1;
}
#current-song-info {
    margin-bottom: 2px;
}
.current-song img {
    width: 50px; /* Album art size */
    height: 50px; /* Album art size */
    margin-right: 5px; /* Space between image and text */
    flex-shrink: 0;
}
.current-song div {
    font-size: 8px; /* text size */
    text-align: left; /* Align text to the left */
}
.scrobbles {
    list-style-type: none;
    padding: 0;
    flex-grow: 1;
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
}
.scrobble {
    padding: 3px 0; /* padding */
    display: flex;
    align-items: flex-top;
    border-top: 1px solid #ddd;
    flex-shrink: 0; /* prevent scrobble items from collapsing */
    width: 100%;
}
.scrobble img {
    width: 30px; /* album art size */
    height: 30px; /* album art size */
    margin-right: 5px; /* space between image and text */
    flex-shrink: 0;
}
.scrobble div {
    font-size: 8px; /* text size */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 170px;
}
.now-playing {
    font-size: 8px;
    color: #1DB954;
    font-weight: bold;
    margin-top: 2px;
}

.time-ago {
    font-size: 8px;
    color: #666;
    margin-top: 3px;
}
