/* General Page Setup */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden; /* Prevent scrollbars with the video background */
    color: black;
}

/* Video Background */
#background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; /* Place the video behind all content */
}

/* Main Menu Container */
.menu {
    position: relative; /* Ensures proper layering */
    z-index: 1; /* Higher z-index to place it above the video */
    width: 80%;
    max-width: 1000px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Main Title */
h1 {
    font-size: 2em;
    color: #333;
    margin-bottom: 20px;
}

/* Channel Grid */
.channels {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns layout */
    gap: 15px;
    width: 100%;
    margin-bottom: 40px;
}

/* Style for Each Channel */
.channel {
    background-color: #eeeeee;
    border-radius: 8px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666666;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.channel:hover {
    transform: scale(1.05);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Blank Channels */
.blank {
    background-color: #cccccc;
    color: transparent; /* Hide text for blank channels */
}

/* Bottom Bar */
.bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px;
    background-color: #dcdcdc;
    border-radius: 0 0 10px 10px;
    box-shadow: inset 0px 5px 10px rgba(0, 0, 0, 0.1);
}

.bottom-icon {
    font-size: 18px;
    color: #666666;
    font-weight: bold;
}

.time-display {
    font-size: 24px;
    color: #333333;
    font-weight: bold;
}
