/* Desain dasar untuk player */

 body {font-family: Arial, sans-serif;display: flex;justify-content: center;height: 100vh;margin: 0;overflow: hidden;}
 button, .btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    padding: .375rem .75rem;
    font-size: 12pt;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    padding-top: 0px;
    padding-bottom: 0px;
    color: white;
}
.fa {font-family: var(--fa-style-family, "Font Awesome 6 Free");font-weight: var(--fa-style, 900);font-size: 10px;color: white;}
.audio-controls {display: flex;justify-content: center;align-items: center;gap: 20px;}
.audio-controls input {display: none;}

/* Desain tombol Play */
.play-btn, .pause-btn, .stop-btn {
    display: flex;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #4CAF50;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.play-btn:hover, .pause-btn:hover, .stop-btn:hover {background-color: #4CAF50;color: #fff;transform: scale(1.1);}
.play-btn::before {content: "►"; }
.pause-btn::before {content: "❚❚";}
.stop-btn::before {content: "■";}

/* Logika untuk menampilkan tombol yang sesuai berdasarkan pilihan */
#play:checked ~ .audio-controls .play-btn {background-color: #4CAF50;color: #fff;}
#pause:checked ~ .audio-controls .pause-btn {background-color: #4CAF50;color: #fff;}
#stop:checked ~ .audio-controls .stop-btn {background-color: #4CAF50;color: #fff;}
.audio-player {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background: #f3f3f3;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    box-sizing: border-box;
    background-color: lightblue;
}

.audio-player .controls {display: flex;justify-content: space-between;align-items: center;gap: 15px;}
.audio-player button {background-color: transparent;color: black;border: none;padding: 10px;border-radius: 5px;cursor: pointer;font-size: 20px;}
.audio-player button:focus {outline: none;}
.audio-player .progress-container {width: 100%;height: 8px;background: #ddd;border-radius: 5px;margin: 10px 0;position: relative;}
.audio-player .progress-bar {height: 100%;width: 0;background-color: #4CAF50;border-radius: 5px;}
.audio-player .volume-container {width: 100%;margin-top: 10px;}
.audio-player input[type="range"] {width: 100%;max-width: 200px;margin: 0 auto;}
.audio-player .volume-container input[type="range"] {-webkit-appearance: none;height: 5px;background: #4CAF50;outline: none;border-radius: 5px;}
.audio-player .volume-container input[type="range"]::-webkit-slider-thumb {-webkit-appearance: none;height: 20px;width: 20px;background: #fff;border-radius: 50%;cursor: pointer;border: 2px solid #4CAF50;}
.judulTema {color:white;}
  footer {background-color: black;color: white;padding-bottom: 10px;text-align: center;height: 30px;font-size: 10pt;}
.fixed-bottom {position: fixed;right: 0;bottom: 0;left: 0;z-index: 1030;font-size: 12px;}

/* Media query untuk perangkat kecil (mobile) */
@media (max-width: 600px) {
    .audio-player {padding: 15px;max-width: 100%; }
    .audio-player .controls {flex-direction: column; gap: 10px;}
    .audio-player button {width: 100%;}
    .audio-player input[type="range"] {width: 100%;}
    .fixed-bottom {position: fixed;right: 0;bottom: 0;left: 0;z-index: 1030;font-size: 10px;}
    .card {border: 0px solid rgba(0, 0, 0, .125);}
    .card-body {-ms-flex: 1 1 auto;flex: 1 1 auto;min-height: 1px;padding: 1.25rem;margin-left: -20px;margin-right: -20px;}
    .container-fluid {width: 100%;padding-right: 0px;padding-left: 0px;margin-right: 0px;margin-left: 0px;}

}

/* Media query untuk perangkat lebih besar (tablet, desktop) */
@media (min-width: 769px) {
    .audio-player {
        max-width: 600px; /* Maksimal lebar untuk tablet dan desktop */
    }

    .audio-player .controls {
        justify-content: space-between;
    }
}