html, body {
	max-width: 800px;
	align-items: center;
    margin: 0 auto;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #000;
    color: #fff;
    overflow: hidden; /* Prevents scrolling on the body */

}


/* Header styles */
.header {
    background-color: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
	
}

.icon-links {
            display: flex;
            gap: 10px;
        }
        .icon-links img {
            width: 35px;
            height: 35px;
        }

main {
   
}

/* Footer styles */
.footer {
    /* Your existing footer styles */
    font-size: 14px;
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: #fff;
}

.footer a {
    color: #fff;
    text-decoration: none;
    padding: 0 10px;
}

.footer a:hover {
    text-decoration: underline;
}


/* Navigation menu styles */
.menu {
    list-style: none;
    padding: 0;
    display: flex;
    align-items: center;
}

.menu-item {
    color: #FFF;
    text-decoration: none;
    margin: 20px 10px;
}

/* Logo styles */
.logo {
    height: 50px;
    padding-left: 30px;
    padding-right: 60px;
}

/* Video player container styles */
.video-player-container {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    height: 0; /* Collapse the container to the padding */
    width: 100%;
    margin: 0 auto;
	
}

/* Video element styles */
#videoPlayer {
    position: absolute;
    top: 0;
    left: 0;
    width:100%;
    height: 80%;
}

#loadingImage {
    display: none;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    /* Adjust width and height as needed, or keep it full size */
    width: 100%; /* Full width of the container */
    height: 90%; /* Full height of the container */
}


/* Style for the black bar separator */
.video-player-separator {
    background-color: #000;
    color: white;
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
	height: 50px;
    padding: 10 30 30 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
	z-index: 15;
}

/* Clock and date styles */
.clock {
    margin-right: 20px;
}

.date {
    margin-left: 20px;
}

/* EPG container styles */
/* Container for EPG */
.epg-container {
    height: calc(100vh - 350px); /* Example: Adjust 250px to your header + video player + separator bar height */
    overflow-y: auto;
    overflow-x: hidden;


}

/* EPG styles */
#epg {
    background-color: #333;
    padding: 5px;
    /* No specific height needed here, it will expand within the container */
	padding-bottom: 50px;
}

.category-header {
    display: flex;
    align-items: center;
}

.category-image {
    /* Adjust size as needed */
    width: 40px;
    height: 40px;
    margin-right: 10px;
	margin-left: 30px;
	margin-top: 20px;
	margin-bottom: 10px;
}

.category-name {
    font-weight: bold;
	margin-top: 10px;
	font-size: 1.5em;
    /* additional styling */
}

hr {
    width: 100%;
    border: 0;
    height: 1px;
    background-color: #ccc;
    margin: 10px 0;
}



/* Channel row styles */
.channel-row {
    display: flex;
    align-items: center;
    background-color: #222;
    border-radius: 10px;
    overflow: hidden;
    padding: 5px;
    width: 95%;
    margin: 5px auto;
}

/* Channel logo styles */
.channel-logo {
    width: 80px;
    height: 40px;
    margin-right: 10px;
    border-radius: 5px;
}

.channel-row.active {
    border: 2px solid #fdbe2c;;
}

/* Program info container styles */
.program-info {
    display: flex;
    justify-content: space-between;
    width: 100%;
    overflow-x: hidden;
    font-size: 0.7em;
    text-align: center;
}

/* Individual program entry styles */
.program-entry {
    width: 200px;
    height: 60px;
    background-color: #444;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-right: 5px;
    position: relative;
}

.program-entry .time-left {
    position: absolute;
    bottom: 5px;
    left: 5px;
    font-size: 0.7em;
    color: #fff;
    font-style: italic;
}

.program-entry .progress-bar {
    position: absolute;
    top: 0;
    left: 0;
}

.starts-at {
    position: absolute;
    bottom: 5px;
    right: 5px;
    font-size: 0.7em; 
    color: #fdbe2c;
	font-style: italic;
}

/* Style for the favorites container */
#favorites-container {
    margin-top: 20px;
}

/* Style for category header */
.category-header {
    display: flex;
    align-items: center;
  
	background-color: #333;
}

.category-image {
    /* Style for category icon */
    margin-right: 5px;
}

.category-name {
    /* Style for category name */
}

/* Style for the line separator */
#favorites-container hr {
    border: none;
    height: 1px;
    background-color: #ccc;
    margin: 0;
}

/* Style for the container holding favorite channel logos */
.favorites-logo-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
	background-color: #333;
}

.individual-logo-container {
    display: flex;
    align-items: center;
    margin: 5px; /* Adjust spacing as needed */
    /* Additional styles as needed */
}

.logo-container {
    display: flex;
    align-items: center;
}

.favorite-heart {
    cursor: pointer;
    font-size: 20px;
    margin-left: 5px;
	padding-right: 5px;
    /* Additional styles if needed */
}

/* Common styles for favorite channel logos */
.favorite-channel-logo {
    height: auto;
	max-width: 80px;
    margin: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
}

.category-header {
    display: flex;
    align-items: center;
}

.edit-toggle {
    margin-left: 10px;
	padding-top: 15px;
	color: #fdbe2c;
    cursor: pointer;
    /* Additional styling for the button */
}

.trash-icon {
    cursor: pointer;
    margin-left: 5px;
    /* Additional styles if needed */
}

/* Web view: 6 items per row */
@media (min-width: 601px) {
    .favorite-channel-logo {
        width: 120px; /* Increased fixed width */
    }

    .favorites-logo-container {
        justify-content: center; /* Align items from the start */
    }
}

/* Mobile view: 3 items per row */
@media (max-width: 600px) {
    .favorite-channel-logo {
        width: calc(66.33% - 5px); /* Adjust width for 3 items per row */
    }

    .favorites-logo-container {
        justify-content: center; /* Center alignment */
    }
}


/* Footer styles */
.footer {
    text-align: center;
    padding: 10px 0;
    background-color: #222;
	padding-bottom: 200px;
}

/* Hamburger menu styles for mobile view */
.hamburger-menu {
    display: none; /* Hidden by default */
    cursor: pointer;
    font-size: 24px;
    color: #fdbe2c;
    background: none;
    border: none;
}

@media screen and (max-width: 767px) {
    .program-info {
        display: flex;
        overflow-x: hidden; /* Allows horizontal scrolling for program entries */
    }

    .program-entry {
        flex: 0 0 49.3%; /* Makes each box take half the container width */
        width: 49.3%; /* Sets the width to almost 50% for mobile, accounting for margin */
        margin-right: 5px; /* Ensure some space between program entries */
    }
}

@media screen and (max-width: 767px) {
    .hamburger-menu {
        display: block;
	}

.menu {
    display: none; /* Hide regular menu on mobile */
    position: absolute;
    top: 60px; /* Adjust based on header height */
    left: 50;
    right: 0;
    background-color: #000;
    flex-direction: column;
    width: 50%;
    z-index: 20;
}

.menu.active {
    display: flex; /* Show menu when active */
}
	

