body { font-family: Arial, sans-serif; background-color: #f4f4f4; color: #333; margin: 0; padding: 0; } .button-group { display: flex; justify-content: center; gap: 5px; margin: 10px 0; flex-wrap: nowrap; } .button-group button, .source-button { padding: 10px 20px; cursor: pointer; background-color: #3498db; color: #fff; border: none; border-radius: 5px; transition: background-color 0.3s ease; flex: 1; max-width: 200px; } .button-group button:hover, .source-button:hover { background-color: #2980b9; } #tv-container { position: relative; height: 500px; width: 100%; overflow: hidden; margin-top: 20px; } #tv-iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; } #button-container { display: flex; justify-content: center; gap: 5px; margin-top: 10px; flex-wrap: nowrap; } @media (max-width: 768px) { .button-group button, .source-button { flex: 1 1 calc(50% - 5px); /* Two buttons per row */ } } @media (max-width: 400px) { .button-group button, .source-button { flex: 1 1 100%; max-width: 100%; } } You can change the TV Link by clicking on the Links button below LIVE TV 1 TV 2 TV 3 function changeSource(newSource, showArticle, showButtons) { document.getElementById('tv-iframe').src = newSource; document.getElementById('stream-article').style.display = showArticle ? 'block' : 'none'; document.getElementById('button-container').style.display = showButtons ? 'flex' : 'none'; }