@font-face {
    font-family: 'SaxMono';
    src: local('SaxMono'), url('./fonts/saxmono-webfont.woff2') format('woff2'), url('./fonts/saxmono-webfont.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

/* Voeg deze stijl toe aan je stylesheet */
/* Standaardstijlen voor het geval dat de schermbreedte groter is dan 300px */
body {
    transform: none;
}

/* Aanvullende stijlen voor schermbreedte kleiner dan 300px */
@media (max-width: 340px) {
    body {
        transform: scale(0.88); /* Of welke schaal je wilt toepassen */
        transform-origin: 0 0; 
    }
}


#title,
#artist {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-audio-player {
    background: url('jingle-player-bgr-01.png') no-repeat top left;
    background-size: cover;
    width: 320px;
    height: 220px;
    display: flex;
    align-items: flex-end;
    padding: 10px;
    border-radius: 2px;
    border: 1px solid #999999;
    position: relative;
    margin: 0px auto;
}

.meta-container {
    background: url('display-01.jpg') no-repeat center center;
    background-size: cover;
    width: 311px;
    height: 78px;
    color: black;
    text-align: left;
    font-family: 'SaxMono', monospace;
    font-size: 15px;
    line-height: 20px;
    position: absolute;
    top: 47px;
    left: 14px;
}

.meta-container p:first-child {
    margin: 3px 4px 0px 5px;
}

#artist {
    margin: 0px 4px 0px 5px;
}

.meta-container p.time {
    margin: 0px 5px 0px 5px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.custom-replay-button {
    background-color: #008f5c;
    color: white;
    width: 60px;
    height: 42px;
    padding: 10px;
    border: 0px;
    border-radius: 2px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    margin-right: 19px;
    transition: background-color 0.05s ease;
}

.custom-replay-button:hover {
    background-color: #00cc99;
}

.custom-replay-button.blink {
    animation: blinker 0.7s linear infinite;
}

@keyframes blinker {
    0% {
        background-color: #58efb9;
    }
    40% {
        background-color: #58efb9;
    }
    41% {
        background-color: #008f5c;
    }
    82% {
        background-color: #008f5c;
    }
    83% {
        background-color: #58efb9;
    }
    100% {
        background-color: #58efb9;
    }
}

.custom-pause-button {
    background-color: #95081b;
    color: white;
    width: 60px;
    height: 42px;
    margin-right: 10px;
    padding: 10px;
    border: 0px;
    border-radius: 2px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.custom-pause-button.paused {
    background-color: #e28e99;
}

.progress-bar-container {
    width: 95%;
    height: 3px;
    background: transparent;
    border: 1px solid #333;
    border-radius: 2px;
    overflow: hidden;
    margin: 4px 5px 4px 5px;
    cursor: pointer;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background-color: #333;
    transition: width 0.1s linear;
}

.button-container {
    display: flex;
    width: 100%;
    margin-top: 10px;
    padding: 20px 17px 15px 15px;
    overflow: hidden;
}

.custom-download-button {
    background-color: #ccaa00;
    color: white;
    width: 60px;
    height: 42px;
    padding: 10px;
    border: 0px;
    border-radius: 2px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.05s ease;
    margin-left: auto;
}

.custom-download-button:hover {
    background-color: #ffe066;
}
