/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Oct 28 2024 | 21:19:47 */
/* Root Styles */
.custom-audio-player {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    column-gap: 10px;
    background-image: url('https://files.facepunch.com/garry/1b1011b1/test.png?1');
    background-color: lightgray;
    margin: 0;
    padding: 0 5px; /* Add left and right padding */
    width: 100%;
    height: 100%; /* Full height to match the head */
    box-sizing: border-box; /* Ensures padding doesn’t add to height */
}

#statusLight {
    width: 5px;
    height: 18px;
    background-color: gray;
    background-image: url('https://files.facepunch.com/garry/1b1011b1/test.png?1');
    border-top: 1.9px solid #e1e1e1;
    border-bottom: 2px solid lightgray;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

#statusLight.blinking {
    animation: blink 1s infinite;
}

.blinking-red-glow {
    box-shadow: 0px 3px 5px rgba(255, 102, 102, 0.5);
    animation: blink 1s infinite alternate;
}

@keyframes blink {
    0%, 100% { background-color: black; }
    50% { background-color: red; }
}

button {
    border: none;
    border-top: 2px solid white;
    border-bottom: 2px solid gray;
    cursor: pointer;
    width: 40px;
    height: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.875em;
    -webkit-appearance: none;
}

button:disabled {
    width: 40px;
    height: 20px;
    background-color: #d4d4d4;
    cursor: default;
    pointer-events: none;
    font-size: 0.875em;
    color: grey;
}

.audition-name-container {
    width: 200px;
    height: 18px;
    border-left: 2px solid red;
    border-top: 2px solid red;
    border-bottom: 2px solid pink;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    background: radial-gradient(circle, #f2583d 30%, red 50%);
    background-size: 3px 3px;
    box-shadow: 0px 3px 4px rgba(255, 102, 102, 0.5);
}

.cc_streaminfo {
    color: pink;
    text-shadow: 0 0 2px #f2583d;
    font-size: 1.5em;
    line-height: 0.7em;
    font-family: "VT323", monospace;
    text-transform: uppercase;
    display: inline-block;
    white-space: nowrap;
    animation: slide-left 8s linear infinite;
}

@keyframes slide-left {
    0% { transform: translateX(400%); }
    100% { transform: translateX(-400%); }
}

.volume-container {
    position: relative;
    width: 100px;
    height: 18px;
    display: flex;
    margin-right: 8px;
    align-items: center;
    background-color: pink;
    border-top: 1.9px solid red;
    border-bottom: 2px solid pink;
    overflow: hidden;
    box-shadow: 0px 3px 4px rgba(255, 102, 102, 0.5);
}

.volume-bar {
    display: flex;
    column-gap: 1px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.volume-bar div {
    background-color: red;
    background: radial-gradient(circle, #f2583d 15%, red 60%);
    background-size: 3px 3px;
    height: 100%;
    flex-grow: 1;
    opacity: 0.2;
}

.volume-bar div.active {
    opacity: 1;
}

/* Range Slider Styles */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    background-color: lightgray;
    border-radius: 5px;
    outline: none;
    touch-action: pan-x;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 0px;
    height: 0px;
    background-color: transparent;   
}

/* Volume Control Customization */
#volumeControl {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 100%;
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    cursor: pointer;
    outline: none;
}

#volumeControl::-webkit-slider-thumb,
#volumeControl::-moz-range-thumb,
#volumeControl::-ms-thumb {
    width: 0;
    height: 0;
    background: none;
    border: none;
}

#volumeControl::-webkit-slider-runnable-track,
#volumeControl::-moz-range-track,
#volumeControl::-ms-track {
    background: transparent;
    border: none;
    box-shadow: none;
}

@media (max-width: 640px) {
    @keyframes slide-left-mobile {
        0% { transform: translateX(500%); }
        100% { transform: translateX(-100%); }
    }
}

/* Layout for Mobile Screens */
@media (max-width: 768px) {
    /* Header Links at the Top */
    .header-links {
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 100%;
        height: 50px; /* Set height for a consistent top bar */
        padding: 10px 0;
        position: fixed;
        top: 0;
        background-color: #f8f8f8; /* Adjust as needed */
        z-index: 1000;
    }

    /* Custom Audio Player at the Bottom */
    .custom-audio-player {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        max-height: 60px; /* Limit the height to prevent full-screen coverage */
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 5px;
        background-color: lightgray;
        box-sizing: border-box;
        z-index: 1000;
    }

    /* Prevent overlap of main content with header and player */
    .main-content {
        padding-top: 60px; /* Match header height */
        padding-bottom: 70px; /* Match audio player height */
    }
}

/* Further Adjustments for Very Small Screens */
@media (max-width: 480px) {
    .header-links {
        height: 40px; /* Reduce height if needed for iPhone SE */
        padding: 5px 0;
    }

    .custom-audio-player {
        max-height: 50px; /* Further restrict height */
        padding: 5px;
    }

    /* Volume container adjustments */
    .volume-container {
        width: 50px;
        margin-right: 3px;
    }

    #statusLight {
        margin-left: 3px;
    }
}
