﻿.audio-header {
    position: relative;
    padding-bottom: 64px;
}

.audio-player:hover, .audio-player .text:hover {
    cursor: pointer;
}

.audio-player {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 8px;
    margin: 0;
    z-index: 1;
}

    .audio-player .text {
        position: absolute;
        bottom: 24px;
        left: 0;
        width: 100%;
        text-align: center;
        font-size: 20px;
        font-family: bayside;
        font-style: italic;
        color: rgba(255, 255, 255, 0.65);
    }

.progress {
    position: relative;
    margin: 3px;
    width: calc(100% - 6px);
    height: 10px;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.2);
    z-index: 0;
}

.progress-bar {
    position: absolute;
    bottom: 1px;
    left: 1px;
    width: 0;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right, rgba(210, 190, 170, 0.65), rgba(253, 225, 205, 0.85));
    z-index: 1;
}

.text.playing {
    color: rgba(128, 255, 128, 0.65);
}

.text.paused {
    animation: thrum;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

@keyframes thrum {
    0% {
        color: rgba(255, 128, 128, 0.45);
    }

    50% {
        color: rgba(255, 128, 128, 0.95);
    }

    100% {
        color: rgba(255, 128, 128, 0.45);
    }
}
