html {
    height: 6em;
}
.radio_player_widget {
    display: flex;
    flex-direction: row;
    height: 6em;
    align-items: center;
    overflow: hidden;
}
.radio_player_nowplaying {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-self: self-end;
    width: 100%;
    flex-grow: 3;
}
.radio_player_artwork img {
    width: 100%;
    height: 100%;
}

.radio_player_artwork {
    border-radius: 0.75em;
    height: 4em;
    width: 4em;
    border: 1px grey solid;
    margin: 0.5em;
}

.radio_player_metadata {
    display: flex;
    flex-direction: row;
    flex-grow: 3;
}
#metadata-current {
    width: 50%;
}
.spacer {
    width: 5em;
}
.radio_player_controls {
    display: flex;
    align-items: center;
    flex-direction: row;
    align-self: center;
}
.metadata-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: middle;
    padding-left: 1em;
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}
.metadata-text-33 {
    height: 33%;
    width: 100%;
}

.metadata-span {
    padding-left: 0.25em;
    padding-right: 0.25em;
    flex-grow: 0;
    font-size: 0.7em;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.metadata-status {
    padding-left: 0.25em;
    padding-right: 0.25em;
    flex-grow: 1;
    align-items: end;
    text-align: right;
}

#metadata-current-title {
    font-size: 1rem;
    font-weight: bold;
    color: #1a2a6c;
    white-space: nowrap;
    overflow-x: scroll;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0);
}
#metadata-current-artist {
    font-size: 0.8rem;
    color: #4a5568;
    margin-top: 2px;
}
#metadata-current-show {
    font-size: 0.65rem;
    color: #718096;
    margin-top: 4px;
}
#metadata-next-text {
    font-size: 0.8rem;
    color: #111;
    margin-top: 4px;
}
#metadata-next-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding: 2px 0;
    border-top: 1px solid #eee;
    color: #1a2a6c;
    overflow-x: hidden;
}
#metadata-next-artist {
    font-size: 0.8rem;
    color: #4a5568;
}
.radio_player_playbutton {
    height: 4em;
    width: 4em;
    background-color: white;
    border-radius: 1em;
    border: 2px blue solid;
    text-align: center;
    vertical-align: middle;
    line-height: 4em;
    font-size: 1em;
}
#artwork {
    border-radius: 0.75em;
}
.hidden {
    display: none;
}
#play_button {
    background-image: url("/images/play-button-green-icon.png");
}
#pause_button {
    background-image: url("/images/music-player-pause-square-icon.png");
}
/* Responsive design for smaller screens */
@media (max-width: 850px) {
    .metadata-span {
        display: none;
    }
    #metadata-next-title {
        font-size: 0.7em;
    }
}
@media (max-width: 650px) {
    .metadata-span {
        display: none;
    }
    #metadata-next-title {
        font-size: 0.5em;
    }
    #metadata-current-title {
        font-size: 0.7em;
    }
    #metadata-current-artist {
        font-size: 0.7em;
    }
    #metadata-current-show {
        #metadata-current-title {
            font-size: 0.7em;
        }
    }
}
