body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: black;
}
#player-container {
    position: absolute;
    top: 10%;
    left: 0;
    width: 100%;
    height: 80%;
    overflow: hidden;
}
#player {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
}
#overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}
.cursor-hidden {
    cursor: none;
}
.black-bar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 10%;
    background-color: black;
    z-index: 1001;
}
#top-bar {
    top: 0;
}
#bottom-bar {
    bottom: 0;
}
#static-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1002;
    background-image: url("assets/static.gif");
    background-repeat: repeat;
}

.button {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    height: 50px;
}
.button:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

#channel-prev {
    right: 142px;
}
#channel-next {
    right: 76px;
}

@keyframes muteFlash {
    0% {
        background-color: rgba(255, 255, 255, 0.2);
    }
    50% {
        background-color: rgba(255, 0, 0, 0.9);
    }
    100% {
        background-color: rgba(255, 255, 255, 0.2);
    }
}
#mute-toggle {
    background-color: rgba(255, 0, 0, 0.9);
    animation: muteFlash 1.5s infinite;
}

.overlay-text {
    position: fixed;
    color: white;
    font-family: "IBM Plex Mono", monospace;
    font-weight: 700;
    text-shadow: 0px 0px 2px #000;
    z-index: 1002;
    padding: 1rem;
}

.top-left {
    top: 1rem;
    left: 1rem;
    font-size: 1.5rem;
}

.bottom-left {
    bottom: 1rem;
    left: 1rem;
    font-size: 1rem;
}

.top-right {
    top: 1rem;
    right: 1rem;
    font-size: 1rem;
}
