<html lang="en"><head>
    <meta charset="UTF-8">
    <title>Simple Basic Blue Calculator</title>
    <style>
        * {
            color: white;
            font-family: Arial, Helvetica, sans-serif;
            text-align: center;
            box-sizing: border-box; 
        }
        
        html, body {
            margin: 0; 
            padding: 0; 
            width: 100%;
            height: 100%; /* Corrected from 'heihgt' to 'height' */
            overflow: hidden; 
            background-color: black;
        }

        .grid-container {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            background-color: #D3D3D3;
            padding: 95px;
            min-height: 100vh; /* Ensures it fills the viewport height */
            opacity: 0; 
            pointer-events: none; 
            transition: opacity 700ms;
        }
        
        .grid-container.visible {
            opacity: 1; 
            pointer-events: all; 
        }

        .grid-container > div {
            background-color: transparent;
            border: 4px solid black;
            text-align: center;
            height: 298px; /* You can adjust the height based on your design */
            width: 280px;
            font-size: 20px;
            margin: auto;
            position: relative;
            display: flex; 
            flex-direction: column; 
            justify-content: center;
            align-items: center; 
        }

        .grid-container > div > h1 {
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            font-size: 30px;
            margin-top: 10px;
        }

        button {
            width: 135px;
            height: 48px; 
            border-radius: 12px;
            background-color: #959595;
            margin: 0 auto; 
            font-family: Arial, Helvetica, sans-serif;
            border: none;
            transition: background-color 350ms;
            font-size: 19px; 
            cursor: pointer;
        }

        button:hover {
            background-color: #e36710; 
        }

        #fullscreen-btn {
            width: 150px;
            height: 50px;
            background: black;
            color: white;
            font-size: 18px;
            font-weight: bold;
            border: none;
            cursor: pointer;
            position: fixed;
            right: 20px;
            bottom: 20px;
            z-index: 10; 
            display: none; 
        }

        #content {
            opacity: 0; 
            pointer-events: none; 
            transition: opacity 900ms;
        }
        
        #content.visible {
            opacity: 1;
            transition: opacity 400ms;
            pointer-events: all; 
        }
    </style>
</head>
<body contenteditable="false">
    <div style="height: 5px; visibility: hidden;"></div>
    <div id="header" style="position: fixed; top: 0; left: 0; right: 0; background-color: black; z-index: 1000; padding: 10px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);">
        <button id="toggleButton" style="background-color: black; color: white; width: 250px; font-weight: bold; font-size: 28px; margin-top: 0px;">Go get A+</button>
    </div>
    <div style="height: 50px; visibility: hidden;"></div>
    <div id="content" class="hidden-content" style="position: fixed; top: 65px; left: 0; right: 0; background-color: transparent; color: black; z-index: 1000; padding: 3px; border-radius: 12px; white-space: nowrap;">
        <div style="position: relative; width: 100%; height: 100%;">
            <div style="position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 90%; backdrop-filter: blur(9px); border-radius: 12px;">
                <p style="font-weight: 800; font-size: 21px; color: black;">This will be hidden or shown when the button above is clicked.</p>
            </div>
        </div>
    </div>
    
    <div id="gridContainer" class="grid-container">
          <div>
    <h1 style="color: black;">Music</h1>
    <button id="innerButton" style="
            width: 130px; 
            height: 44px; 
            border-radius: 12px; 
            background-color: #959595; 
            color: white; 
            font-family: Arial, Helvetica, sans-serif; 
            border: none; 
            transition: background-color 500ms;" onmouseover="this.style.backgroundColor='#e36710';" onmouseout="this.style.backgroundColor='#959595';" onclick="
            var win = window.open('', '_blank'); 
            if (win) {
                var doc = win.document;
                var html = `
                    <!DOCTYPE html>
                    <html lang='en'>
                    <head>
                        <meta charset='UTF-8'>
                        <meta name='viewport' content='width=device-width, initial-scale=1.0'>
                        <title>404 error</title>
                        <style>
                            body {
                                background-color: black;
                                margin: 0;
                                display: flex;
                                flex-direction: column;
                                align-items: center;
                                justify-content: center;
                                height: 100vh;
                                overflow: hidden; /* Changed to hidden */
                            }

                            h1 {
                                color: white;
                                font-family: Arial, Helvetica, sans-serif;
                                margin-bottom: 20px; 
                            }

                            .webgl-content {
                                display: none;
                                position: relative;
                                width: 100%;
                                height: 100%;
                                overflow: auto; 
                            }

                            .responsive-iframe {
                                position: absolute;
                                top: 0;
                                left: 0;
                                width: 100%;
                                height: 100%;
                                border: none;
                            }

                            .button {
                                border-radius: 10px; 
                                background-color: #959595; 
                                color: white; 
                                width: 120px; 
                                height: 40px; 
                                font-family: Arial, Helvetica, sans-serif; 
                                border: none; 
                                transition: background-color 500ms; 
                                cursor: pointer; 
                                margin: 0 5px; 
                                position: relative; 
                                z-index: 1; 
                            }

                            .button:hover {
                                background-color: #e36710;
                            }

                            .controls {
                                position: absolute;
                                top: 20px; 
                                right: 20px; 
                                display: flex;
                                flex-direction: row; 
                                align-items: center; 
                            }

                            .button.hide-button, 
                            .button.back-button, 
                            .button.fullscreen-button {
                                width: 75px; 
                                height: 25px; 
                            }

                            /* Overlay styles */
                            .overlay {
                                display: none; /* Start hidden */
                                position: fixed;
                                top: 0;
                                left: 0;
                                width: 100%;
                                height: 100%;
                                background: white; /* White background */
                                z-index: 10; /* On top of other elements */
                                text-align: center; /* Center text */
                                padding-top: 25%; /* Space for the hide button */
                                color: black; /* Set color for overlay text */
                                font-size: 24px; /* Size for error message */
                            }

                            /* Styling for hide button in overlay */
                            .overlay .hide-button {
                                background-color: white; /* Default background color */
                                color: black; /* Default text color */
                            }

                            /* Hover effect for the hide button in overlay */
                            .overlay .hide-button:hover {
                                background-color: #e36710; /* Hover effect color */
                                color: white; /* Change text color on hover */
                            }
                        </style>
                    </head>
                    <body>
                        <h1 id='title'>S0undCl0ud</h1>
                        <button class='button' id='innerButton'>OpenPage</button>
                        <div class='webgl-content'>
                            <div class='iframe-container'>
                                <iframe class='responsive-iframe' src='' allowtransparency='true' frameborder='0' scrolling='yes' allowfullscreen></iframe>
                            </div>
                            <div class='controls'>
                                <button class='button hide-button' id='hideButton' onclick='toggleOverlay();'>Hide</button>
                                <button class='button fullscreen-button' id='fullscreenButton' onclick='toggleFullScreen();'>Fullscreen</button>
                                <button class='button back-button' onclick='goBack();'>Back</button>
                            </div>
                        </div>
                        <div class='overlay' id='overlay'>
                            <div>404 Error Occurred</div>
                            <button class='button hide-button' id='hideButtonInOverlay' onclick='toggleOverlay()' style='width: 250px; height: 60px; font-size: 16px;'>Hide Overlay</button>
                        </div>
                        <script>
                            function disableContextMenu() {
                                document.addEventListener('contextmenu', function(event) {
                                    event.preventDefault(); // Disable the context menu
                                });
                            }

                            window.onload = function() {
                                disableContextMenu(); // Call the function to disable the context menu
                            };

                            var currentLinkIndex = 0;
                            var links = ['https://iwanttobealightemployee.cissp.or.id/@/light/hvtrs8%2F-smuldalmuf.aoo%2F', 'https://cool-beans.rafaelo.com.br/a','https://sirtherearetaxesforexisting.cissp.or.id/a'];

                            function goBack() {
                                document.getElementById('title').style.display = 'block';
                                document.getElementById('innerButton').style.display = 'block';
                                document.querySelector('.webgl-content').style.display = 'none';
                                if (document.fullscreenElement) {
                                    document.exitFullscreen();
                                }
                            }

                            function toggleFullScreen() {
                                var gameContainer = document.querySelector('.webgl-content');
                                var fullscreenButton = document.getElementById('fullscreenButton');
                                if (!document.fullscreenElement) {
                                    if (gameContainer.requestFullscreen) {
                                        gameContainer.requestFullscreen();
                                    } else if (gameContainer.mozRequestFullScreen) {
                                        gameContainer.mozRequestFullScreen();
                                    } else if (gameContainer.webkitRequestFullscreen) {
                                        gameContainer.webkitRequestFullscreen();
                                    } else if (gameContainer.msRequestFullscreen) {
                                        gameContainer.msRequestFullscreen();
                                    }
                                    fullscreenButton.textContent = 'Exit Fullscreen';
                                } else {
                                    document.exitFullscreen();
                                    fullscreenButton.textContent = 'Fullscreen';
                                }
                            }

                            function toggleOverlay() {
                                var overlay = document.getElementById('overlay');
                                var hideButton = document.getElementById('hideButton'); // Main hide button for overlay
                                var hideButtonInOverlay = document.getElementById('hideButtonInOverlay'); // Hide button in overlay
                                if (overlay.style.display === 'none' || overlay.style.display === '') {
                                    overlay.style.display = 'block';
                                    hideButton.style.backgroundColor = 'white'; // Change color to white for the main hide button
                                    hideButton.style.color = 'black'; // Change text color to black for the main button
                                    hideButtonInOverlay.style.backgroundColor = 'white'; // Set overlay hide button color to white
                                    hideButtonInOverlay.style.color = 'black'; // Set overlay hide button text color to black
                                } else {
                                    overlay.style.display = 'none';
                                    hideButton.style.backgroundColor = '#959595'; // Reset color to original for the main button
                                    hideButton.style.color = 'white'; // Reset text color to original for the main button
                                    hideButtonInOverlay.style.backgroundColor = ''; // Reset overlay button color
                                    hideButtonInOverlay.style.color = ''; // Reset overlay button text color
                                }
                            }

                            document.getElementById('innerButton').onclick = function() {
                                currentLinkIndex = (currentLinkIndex + 1) % links.length;
                                document.querySelector('.responsive-iframe').src = links[currentLinkIndex];
                                document.getElementById('title').style.display = 'none';
                                document.getElementById('innerButton').style.display = 'none';
                                var gameContainer = document.querySelector('.webgl-content');
                                gameContainer.style.display = 'block';
                                // No call to toggleOverlay here to keep overlay hidden initially
                            }
                        </script>
                    </body>
                    </html>`;
                doc.open();
                doc.write(html);
                doc.close();
            }
        ">
        OpenPage
    </button>
</div>
        <div>
    <h1 style="color: black;">Asteriod</h1>
    <button id="innerButton" style="
            width: 140px; 
            height: 44px; 
            border-radius: 12px; 
            background-color: #959595; 
            color: white; 
            font-family: Arial, Helvetica, sans-serif; 
            border: none; 
            transition: background-color 500ms;" onmouseover="this.style.backgroundColor='#e36710';" onmouseout="this.style.backgroundColor='#959595';" onclick="
            var win = window.open('', '_blank'); 
            if (win) {
                var doc = win.document;
                var html = `
                    <!DOCTYPE html>
                    <html lang='en'>
                    <head>
                        <meta charset='UTF-8'>
                        <meta name='viewport' content='width=device-width, initial-scale=1.0'>
                        <title>404 error</title>
                        <style>
                            body {
                                background-color: black;
                                margin: 0;
                                display: flex;
                                flex-direction: column;
                                align-items: center;
                                justify-content: center;
                                height: 100vh;
                                overflow: hidden; /* Changed to hidden */
                            }

                            h1 {
                                color: white;
                                font-family: Arial, Helvetica, sans-serif;
                                margin-bottom: 20px; 
                            }

                            .webgl-content {
                                display: none;
                                position: relative;
                                width: 100%;
                                height: 100%;
                                overflow: auto; 
                            }

                            .responsive-iframe {
                                position: absolute;
                                top: 0;
                                left: 0;
                                width: 100%;
                                height: 100%;
                                border: none;
                            }

                            .button {
                                border-radius: 10px; 
                                background-color: #959595; 
                                color: white; 
                                width: 120px; 
                                height: 40px; 
                                font-family: Arial, Helvetica, sans-serif; 
                                border: none; 
                                transition: background-color 500ms; 
                                cursor: pointer; 
                                margin: 0 5px; 
                                position: relative; 
                                z-index: 1; 
                            }

                            .button:hover {
                                background-color: #e36710;
                            }

                            .controls {
                                position: absolute;
                                top: 20px; 
                                right: 20px; 
                                display: flex;
                                flex-direction: row; 
                                align-items: center; 
                            }

                            .button.hide-button, 
                            .button.back-button, 
                            .button.fullscreen-button {
                                width: 75px; 
                                height: 25px; 
                            }

                            /* Overlay styles */
                            .overlay {
                                display: none; /* Start hidden */
                                position: fixed;
                                top: 0;
                                left: 0;
                                width: 100%;
                                height: 100%;
                                background: white; /* White background */
                                z-index: 10; /* On top of other elements */
                                text-align: center; /* Center text */
                                padding-top: 25%; /* Space for the hide button */
                                color: black; /* Set color for overlay text */
                                font-size: 24px; /* Size for error message */
                            }

                            /* Styling for hide button in overlay */
                            .overlay .hide-button.active {
                                background-color: white; /* Active background color */
                                color: white; /* Active text color */
                            }
                        </style>
                    </head>
                    <body>
                        <h1 id='title'>ASteriodV3</h1>
                        <button class='button' id='innerButton'>OpenPage</button>
                        <div class='webgl-content'>
                            <div class='iframe-container'>
                                <iframe class='responsive-iframe' src='' allowtransparency='true' frameborder='0' scrolling='yes' allowfullscreen></iframe>
                            </div>
                            <div class='controls'>
                                <button class='button hide-button' id='hideButton' onclick='toggleOverlay();'>Hide</button>
                                <button class='button fullscreen-button' id='fullscreenButton' onclick='toggleFullScreen();'>Fullscreen</button>
                                <button class='button back-button' onclick='goBack();'>Back</button>
                            </div>
                        </div>
                        <div class='overlay' id='overlay'>
                            <div>404 Error Occurred</div>
                            <button class='button hide-button active' id='hideButtonInOverlay' onclick='toggleOverlay();'>Hide Overlay</button>
                        </div>
                        <script>
                            function disableContextMenu() {
                                document.addEventListener('contextmenu', function(event) {
                                    event.preventDefault(); // Disable the context menu
                                });
                            }

                            window.onload = function() {
                                disableContextMenu(); // Call the function to disable the context menu
                            };

                         var currentLinkIndex = 0;
var links = [
    'https://spreadingpropagandathroughlinks.mywire.org/worksheets/index.html',
    'https://superhuman.hotunix.com/'
];

                            function goBack() {
                                document.getElementById('title').style.display = 'block';
                                document.getElementById('innerButton').style.display = 'block';
                                document.querySelector('.webgl-content').style.display = 'none';
                                if (document.fullscreenElement) {
                                    document.exitFullscreen();
                                }
                            }

                            function toggleFullScreen() {
                                var gameContainer = document.querySelector('.webgl-content');
                                var fullscreenButton = document.getElementById('fullscreenButton');
                                if (!document.fullscreenElement) {
                                    if (gameContainer.requestFullscreen) {
                                        gameContainer.requestFullscreen();
                                    } else if (gameContainer.mozRequestFullScreen) {
                                        gameContainer.mozRequestFullScreen();
                                    } else if (gameContainer.webkitRequestFullscreen) {
                                        gameContainer.webkitRequestFullscreen();
                                    } else if (gameContainer.msRequestFullscreen) {
                                        gameContainer.msRequestFullscreen();
                                    }
                                    fullscreenButton.textContent = 'Exit Fullscreen';
                                } else {
                                    document.exitFullscreen();
                                    fullscreenButton.textContent = 'Fullscreen';
                                }
                            }

                            function toggleOverlay() {
                                var overlay = document.getElementById('overlay');
                                var hideButton = document.getElementById('hideButton'); // Main hide button for overlay
                                var hideButtonInOverlay = document.getElementById('hideButtonInOverlay'); // Hide button in overlay
                                if (overlay.style.display === 'none' || overlay.style.display === '') {
                                    overlay.style.display = 'block';
                                    hideButton.style.backgroundColor = 'white'; // Change color to white for the main hide button
                                    hideButton.style.color = 'black'; // Change text color to black for the main button
                                    hideButtonInOverlay.classList.add('active'); // Add active class for styling
                                } else {
                                    overlay.style.display = 'none';
                                    hideButton.style.backgroundColor = '#959595'; // Reset color to original for the main button
                                    hideButton.style.color = 'white'; // Reset text color to original for the main button
                                    hideButtonInOverlay.classList.remove('active'); // Remove active class to reset styles
                                }
                            }

                            document.getElementById('innerButton').onclick = function() {
                                currentLinkIndex = (currentLinkIndex + 1) % links.length;
                                document.querySelector('.responsive-iframe').src = links[currentLinkIndex];
                                document.getElementById('title').style.display = 'none';
                                document.getElementById('innerButton').style.display = 'none';
                                var gameContainer = document.querySelector('.webgl-content');
                                gameContainer.style.display = 'block';
                                // No call to toggleOverlay here to keep overlay hidden initially
                            }
                        </script>
                    </body>
                    </html>`;
                
                doc.open();
                doc.write(html);
                doc.close();
            }
        ">
        OpenPage
    </button>
</div>

        
        <div>
    <h1 style="color: black;">Search</h1>
    <button id="innerButtonSearch" style="
            width: 140px;  
            height: 44px; 
            border-radius: 12px; 
            background-color: rgb(149, 149, 149); 
            color: white; 
            font-family: Arial, Helvetica, sans-serif; 
            border: none; 
            transition: background-color 500ms;" onmouseover="this.style.backgroundColor='#e36710';" onmouseout="this.style.backgroundColor='#959595';" onclick="
            var win = window.open('', '_blank'); 
            if (win) {
                var doc = win.document;
                var html = `
                    <!DOCTYPE html>
                    <html lang='en'>
                    <head>
                        <meta charset='UTF-8'>
                        <meta name='viewport' content='width=device-width, initial-scale=1.0'>
                        <title>Search Page</title>
                        <style>
                            body {
                                background-color: black;
                                margin: 0;
                                display: flex;
                                flex-direction: column;
                                align-items: center;
                                justify-content: center;
                                height: 100vh;
                                overflow: hidden; /* Changed to hidden */
                            }

                            h1 {
                                color: white;
                                font-family: Arial, Helvetica, sans-serif;
                                margin-bottom: 20px; 
                            }

                            .webgl-content {
                                display: none;
                                position: relative;
                                width: 100%;
                                height: 100%;
                                overflow: auto; 
                            }

                            .responsive-iframe {
                                position: absolute;
                                top: 0;
                                left: 0;
                                width: 100%;
                                height: 100%;
                                border: none;
                            }

                            .button {
                                border-radius: 10px; 
                                background-color: #959595; 
                                color: white; 
                                width: 120px; 
                                height: 40px; 
                                font-family: Arial, Helvetica, sans-serif; 
                                border: none; 
                                transition: background-color 500ms; 
                                cursor: pointer; 
                                margin: 0 5px; 
                                position: relative; 
                                z-index: 1; 
                            }

                            .button:hover {
                                background-color: #e36710;
                            }

                            .controls {
                                position: absolute;
                                top: 20px; 
                                right: 20px; 
                                display: flex;
                                flex-direction: row; 
                                align-items: center; 
                            }

                            .button.hide-button, 
                            .button.back-button, 
                            .button.fullscreen-button {
                                width: 75px; 
                                height: 25px; 
                            }

                            /* Overlay styles */
                            .overlay {
                                display: none; /* Start hidden */
                                position: fixed;
                                top: 0;
                                left: 0;
                                width: 100%;
                                height: 100%;
                                background: white; /* White background */
                                z-index: 10; /* On top of other elements */
                                text-align: center; /* Center text */
                                padding-top: 25%; /* Space for the hide button */
                                color: black; /* Set color for overlay text */
                                font-size: 24px; /* Size for error message */
                            }

                            /* Styling for hide button in overlay */
                            .overlay .hide-button {
                                background-color: white; /* Default background color */
                                color: black; /* Default text color */
                            }

                            /* Hover effect for the hide button in overlay */
                            .overlay .hide-button:hover {
                                background-color: #e36710; /* Hover effect color */
                                color: white; /* Change text color on hover */
                            }
                        </style>
                    </head>
                    <body>
                        <h1 id='title'>Search Page</h1>
                        <button class='button' id='innerButton'>OpenPage</button>
                        <div class='webgl-content'>
                            <div class='iframe-container'>
                                <iframe class='responsive-iframe' src='' allowtransparency='true' frameborder='0' scrolling='yes' allowfullscreen></iframe>
                            </div>
                            <div class='controls'>
                                <button class='button hide-button' id='hideButton' onclick='toggleOverlay();'>Hide</button>
                                <button class='button fullscreen-button' id='fullscreenButton' onclick='toggleFullScreen();'>Fullscreen</button>
                                <button class='button back-button' onclick='goBack();'>Back</button>
                            </div>
                        </div>
                        <div class='overlay' id='overlay'>
                            <div>404 Error Occurred</div>
                            <button class='button hide-button' id='hideButtonInOverlay' onclick='toggleOverlay()' style='width: 250px; height: 60px; font-size: 16px;'>Hide Overlay</button>
                        </div>
                        <script>
                            // Disable the context menu
                            document.addEventListener('contextmenu', function(event) {
                                event.preventDefault(); // Disable right-click context menu
                            });

var currentLinkIndex = 0;
var links = [
    'https://yodel.yeti.laoxz.cn/',
    'https://deltamath.assign.decsei.ro/',
    'https://harryputtaisveryhot.io-lng-en.com/a',
    'https://cool-beans.rafaelo.com.br/a',
    'https://sirtherearetaxesforexisting.cissp.or.id/a'
];

                            function goBack() {
                                document.getElementById('title').style.display = 'block';
                                document.getElementById('innerButton').style.display = 'block';
                                document.querySelector('.webgl-content').style.display = 'none';
                                if (document.fullscreenElement) {
                                    document.exitFullscreen();
                                }
                            }

                            function toggleFullScreen() {
                                var gameContainer = document.querySelector('.webgl-content');
                                var fullscreenButton = document.getElementById('fullscreenButton');
                                if (!document.fullscreenElement) {
                                    if (gameContainer.requestFullscreen) {
                                        gameContainer.requestFullscreen();
                                    } else if (gameContainer.mozRequestFullScreen) {
                                        gameContainer.mozRequestFullScreen();
                                    } else if (gameContainer.webkitRequestFullscreen) {
                                        gameContainer.webkitRequestFullscreen();
                                    } else if (gameContainer.msRequestFullscreen) {
                                        gameContainer.msRequestFullscreen();
                                    }
                                    fullscreenButton.textContent = 'Exit Fullscreen';
                                } else {
                                    document.exitFullscreen();
                                    fullscreenButton.textContent = 'Fullscreen';
                                }
                            }

                            function toggleOverlay() {
                                var overlay = document.getElementById('overlay');
                                var hideButton = document.getElementById('hideButton'); // Main hide button for overlay
                                var hideButtonInOverlay = document.getElementById('hideButtonInOverlay'); // Hide button in overlay
                                if (overlay.style.display === 'none' || overlay.style.display === '') {
                                    overlay.style.display = 'block';
                                    hideButton.style.backgroundColor = 'white'; // Change color to white for the main hide button
                                    hideButton.style.color = 'black'; // Change text color to black for the main button
                                    hideButtonInOverlay.style.backgroundColor = 'white'; // Set overlay hide button color to white
                                    hideButtonInOverlay.style.color = 'black'; // Set overlay hide button text color to black
                                } else {
                                    overlay.style.display = 'none';
                                    hideButton.style.backgroundColor = '#959595'; // Reset color to original for the main button
                                    hideButton.style.color = 'white'; // Reset text color to original for the main button
                                    hideButtonInOverlay.style.backgroundColor = ''; // Reset overlay button color
                                    hideButtonInOverlay.style.color = ''; // Reset overlay button text color
                                }
                            }

                            document.getElementById('innerButton').onclick = function() {
                                currentLinkIndex = (currentLinkIndex + 1) % links.length;
                                document.querySelector('.responsive-iframe').src = links[currentLinkIndex];
                                document.getElementById('title').style.display = 'none';
                                document.getElementById('innerButton').style.display = 'none';
                                var gameContainer = document.querySelector('.webgl-content');
                                gameContainer.style.display = 'block';
                                // No call to toggleOverlay here to keep overlay hidden initially
                            }
                        </script>
                    </body>
                    </html>`;
                doc.open();
                doc.write(html);
                doc.close();
            }
        ">
        OpenPage
    </button>
</div>
         <div style="height: 150px; visibility: hidden;"></div>

              
        <h1 style="color: black; font-size: 40px;">G@M3s</h1>  
         <div style="height: 180px; visibility: hidden;"></div>
        <div>
    <h1 style="color: black;">Tomb of Mask</h1>
    <button onclick="
        var win = window.open('about:blank', '_blank'); 
        if (win) {
            var doc = win.document;
            var html = `
                <!DOCTYPE html>
                <html lang='en'>
                <head>
                    <meta charset='UTF-8'>
                    <style>
                        body {
                            background-color: black;
                            margin: 0;
                            display: flex;
                            flex-direction: column;
                            align-items: center;
                            justify-content: center;
                            height: 100vh;
                        }
                        h1 {
                            color: white;
                            font-family: Arial, Helvetica, sans-serif;
                        }
                        button {
                            width: 120px;
                            height: 40px;
                            border-radius: 12px;
                            background-color: #959595;
                            font-family: Arial, Helvetica, sans-serif;
                            border: none;
                            transition: background-color 500ms;
                            z-index: 10;
                            position: relative;
                        }
                        button:hover {
                            background-color: #e36710;
                        }
                        .back-button, .pause-button, .fullscreen-button, .hide-button {
                            position: absolute;
                            top: 10px;
                            width: 80px;
                            height: 30px;
                            border-radius: 8px;
                            background-color: #959595;
                            color: white;
                            font-family: Arial, Helvetica, sans-serif;
                            border: none;
                            cursor: pointer;
                            transition: background-color 500ms;
                        }
                        .back-button:hover,
                        .pause-button:hover,
                        .fullscreen-button:hover,
                        .hide-button:hover {
                            background-color: #e36710;
                        }
                        .back-button {
                            right: 10px;
                        }
                        .pause-button {
                            right: 100px;
                        }
                        .fullscreen-button {
                            right: 190px;
                        }
                        .hide-button {
                            right: 280px;
                            z-index: 1001; /* Ensure the hide button is above the overlay */
                        }
                        .fullscreen {
                            width: 100vw;
                            height: 100vh;
                            overflow: hidden;
                        }
                        .responsive-iframe {
                            position: absolute;
                            top: 0;
                            left: 0;
                            width: 100%;
                            height: 100%;
                            border: none;
                        }
                        .iframe-container {
                            position: relative;
                            width: 100%;
                            height: 100%;
                            overflow: hidden; /* Added scroll bar */
                        }
                        .overlay {
                            position: fixed;
                            top: 0;
                            left: 0;
                            width: 100%;
                            height: 100%;
                            background-color: white;
                            z-index: 1000;
                            display: none;
                        }
                    </style>
                    <script src='https://cdn.jsdelivr.net/gh/lee2sman/everyday@d45d601d2c4d60adf809a0b677c00b7d12aba7e9/96/TemplateData/UnityProgress.js'></script>
                    <script src='https://cdn.jsdelivr.net/gh/topvaz/gfiles1@738d9cb2953428620c44ba7cdb62705b6540bb00/tomb-of-the-mask/d5fuh3d/UnityLoader.js'></script>
                </head>
                <body>
                    <h1 id='title'>Tomb of Mask</h1>
                    <button id='innerButton'>OpenPage</button>
                    <div class='webgl-content fullscreen' style='display: none;'>
                        <div id='gameContainer' style='width: 100%; height: 100%; background: rgb(35, 31, 32);'>
                            <canvas id='canvas' style='cursor: default;' width='100%' height='100%'></canvas>
                            <div class='logo Dark' style='display: none;'></div>
                            <div class='progress Dark' style='display: none;'>
                                <div class='empty' style='width: 0%;'></div>
                                <div class='full' style='width: 100%;'></div>
                            </div>
                        </div>
                        <button class='back-button' onclick='goBack();'>Back</button>
                        <button class='pause-button' onclick='togglePause();'>Pause</button>
                        <button class='fullscreen-button' id='fullscreenButton' onclick='toggleFullScreen();'>Fullscreen</button>
                        <button class='hide-button' id='hideButton' onclick='toggleOverlay();'>Hide</button>
                    </div>
                    <div class='overlay' id='overlay'></div>
                    <script>
                        // Disable the context menu
                        document.addEventListener('contextmenu', function(event) {
                            event.preventDefault(); // Disable right-click context menu
                        });

                        function goBack() {
                            document.getElementById('title').style.display = 'block';
                            document.getElementById('innerButton').style.display = 'block';
                            document.querySelector('.webgl-content').style.display = 'none';
                            if (document.fullscreenElement) {
                                document.exitFullscreen();
                            }
                        }

                        function togglePause() {
                            const gameInstance = UnityLoader.instantiate('gameContainer', 'https://cdn.jsdelivr.net/gh/topvaz/gfiles1@738d9cb2953428620c44ba7cdb62705b6540bb00/tomb-of-the-mask/d5fuh3d/totm.json');
                            const isPaused = gameInstance.SendMessage('GameManager', 'IsPaused');
                            if (isPaused) {
                                gameInstance.SendMessage('GameManager', 'ResumeGame');
                            } else {
                                gameInstance.SendMessage('GameManager', 'PauseGame');
                            }
                        }

                        function toggleFullScreen() {
                            var gameContainer = document.querySelector('.webgl-content');
                            var fullscreenButton = document.getElementById('fullscreenButton');
                            if (!document.fullscreenElement) {
                                if (gameContainer.requestFullscreen) {
                                    gameContainer.requestFullscreen();
                                } else if (gameContainer.mozRequestFullScreen) { // Firefox
                                    gameContainer.mozRequestFullScreen();
                                } else if (gameContainer.webkitRequestFullscreen) { // Chrome, Safari and Opera
                                    gameContainer.webkitRequestFullscreen();
                                } else if (gameContainer.msRequestFullscreen) { // IE/Edge
                                    gameContainer.msRequestFullscreen();
                                }
                                fullscreenButton.textContent = 'Exit Fullscreen';
                            } else {
                                document.exitFullscreen();
                                fullscreenButton.textContent = 'Fullscreen';
                            }
                        }

                        function toggleOverlay() {
                            var overlay = document.getElementById('overlay');
                            var hideButton = document.getElementById('hideButton');
                            if (overlay.style.display === 'none') {
                                overlay.style.display = 'block';
                                hideButton.textContent = '404 error';
                                hideButton.style.backgroundColor = 'white';
                                hideButton.style.color = 'black';
                            } else {
                                overlay.style.display = 'none';
                                hideButton.textContent = 'Hide';
                                hideButton.style.backgroundColor = '#959595';
                                hideButton.style.color = 'white';
                            }
                        }

                        document.getElementById('innerButton').onclick = function() {
                            document.getElementById('title').style.display = 'none';
                            document.getElementById('innerButton').style.display = 'none';
                            var gameContainer = document.querySelector('.webgl-content');
                            gameContainer.style.display = 'block';
                            var gameInstance = UnityLoader.instantiate('gameContainer', 'https://cdn.jsdelivr.net/gh/topvaz/gfiles1@738d9cb2953428620c44ba7cdb62705b6540bb00/tomb-of-the-mask/d5fuh3d/totm.json', {
                                onProgress: UnityProgress,
                                Module: {
                                    onRuntimeInitialized: function() {
                                        UnityProgress(gameInstance, 'complete');
                                    }
                                }
                            });
                        };
                    </script>
                </body>
                </html>`;
            doc.open();
            doc.write(html);
            doc.close();
        }
    ">OpenPage</button>
</div>

    <div>
    <h1 style="color: black;">Pogo</h1>
    <button onclick="
        var win = window.open('about:blank', '_blank');
        if (win) {
            var doc = win.document;
            var html = `
                <!DOCTYPE html>
                <html lang='en'>
                <head>
                    <meta charset='UTF-8'>
                    <title>Pogo Parkour</title>
                    <style>
                        body {
                            background-color: black;
                            margin: 0;
                            display: flex;
                            flex-direction: column;
                            align-items: center;
                            justify-content: center;
                            height: 100vh;
                        }
                        h1 {
                            color: white;
                            font-family: Arial, Helvetica, sans-serif;
                        }
                        #innerButton {
                            width: 120px;
                            height: 40px;
                            border-radius: 13px;
                            background-color: #959595;
                            font-family: Arial, Helvetica, sans-serif;
                            border: none;
                            transition: background-color 500ms;
                            z-index: 10;
                            position: relative;
                            display: inline-block;
                            color: white;
                            visibility: visible;
                        }
                        #innerButton:hover {
                            background-color: #e36710;
                        }
                        .back-button {
                            position: absolute;
                            top: 10px;
                            right: 10px;
                            width: 80px;
                            height: 30px;
                            border-radius: 15px;
                            background-color: #959595;
                            color: white;
                            font-family: Arial, Helvetica, sans-serif;
                            border: none;
                            cursor: pointer;
                            transition: background-color 500ms;
                            display: inline-block;
                            visibility: visible;
                        }
                        .back-button:hover {
                            background-color: #e36710;
                        }
                        .fullscreen {
                            width: 100vw;
                            height: 100vh;
                            overflow: hidden;
                        }
                        .responsive-iframe {
                            position: absolute;
                            top: 0;
                            left: 0;
                            width: 100%;
                            height: 100%;
                            border: none;
                        }
                        .iframe-container {
                            position: relative;
                            width: 100%;
                            height: 0;
                            padding-bottom: 56.25%; /* 16:9 aspect ratio */
                        }
                    </style>
                </head>
                <body>
                    <h1 id='title'>Pogo Parkour</h1>
                    <button id='innerButton'>OpenPage</button>
                    <div class='webgl-content fullscreen' style='display: none;'>
                        <div class='iframe-container'>
                            <iframe class='responsive-iframe' src='https://scratch.mit.edu/projects/178576504/embed' allowtransparency='true' frameborder='0' scrolling='no' allowfullscreen></iframe>
                        </div>
                        <button class='back-button' onclick='goBack();'>Back</button>
                    </div>
                    <script>
                        // Disable the context menu
                        document.addEventListener('contextmenu', function(event) {
                            event.preventDefault(); // Disable right-click context menu
                        });

                        function goBack() {
                            document.getElementById('title').style.display = 'block';
                            document.getElementById('innerButton').style.display = 'block';
                            document.querySelector('.webgl-content').style.display = 'none';
                        }

                        document.getElementById('innerButton').onclick = function() {
                            document.getElementById('title').style.display = 'none';
                            document.getElementById('innerButton').style.display = 'none';
                            var gameContainer = document.querySelector('.webgl-content');
                            gameContainer.style.display = 'block';
                        }
                    </script>
                </body>
                </html>`;
            doc.open();
            doc.write(html);
            doc.close();
        }
    ">OpenPage</button>
</div><div>
    <h1 style="color: black;">Basketball Stars</h1>
    <button onclick="
        var win = window.open('about:blank', '_blank');
        if (win) {
            var doc = win.document;
            var html = `
                <!DOCTYPE html>
                <html lang='en'>
                <head>
                    <meta charset='UTF-8'>
                    <style>
                        body, html, iframe {
                            margin: 0;
                            padding: 0;
                            height: 100%;
                            width: 100%;
                            overflow: hidden;
                            background-color: black;
                        }
                        .forceIosScrolling {
                            overflow: scroll;
                            -webkit-overflow-scrolling: touch;
                        }
                        .container {
                            position: absolute;
                            top: 50%;
                            left: 50%;
                            transform: translate(-50%, -50%);
                            text-align: center;
                        }
                        h1 {
                            color: white;
                            font-family: Arial, Helvetica, sans-serif;
                            margin-bottom: 20px;
                        }
                        button {
                            width: 120px;
                            height: 40px;
                            border-radius: 12px;
                            background-color: #959595;
                            font-family: Arial, Helvetica, sans-serif;
                            border: none;
                            transition: background-color 500ms;
                            z-index: 10;
                        }
                        button:hover {
                            background-color: #e36710;
                        }
                        .back-button, .fullscreen-button, .hide-button {
                            position: absolute;
                            top: 10px;
                            width: 75px;
                            height: 30px;
                            border-radius: 8px;
                            background-color: #959595;
                            color: white;
                            font-family: Arial, Helvetica, sans-serif;
                            border: none;
                            cursor: pointer;
                            transition: background-color 500ms;
                        }
                        .back-button:hover, .fullscreen-button:hover, .hide-button:hover {
                            background-color: #e36710;
                        }
                        .back-button {
                            right: 10px;
                        }
                        .fullscreen-button {
                            right: 100px;
                        }
                        .hide-button {
                            right: 190px;
                        }
                        .fullscreen {
                            width: 100vw;
                            height: 100vh;
                            overflow: hidden;
                        }
                        .overlay {
                            position: fixed;
                            top: 0;
                            left: 0;
                            width: 100%;
                            height: 100%;
                            background-color: rgba(255, 255, 255, 0.9);
                            display: none;
                            z-index: 5;
                            flex-direction: column;
                            justify-content: center; /* Center content vertically */
                            align-items: center; /* Center content horizontally */
                        }
                        h2 {
                            margin: 0; /* Remove margins for header */
                        }
                        .close-overlay-button {
                            margin-top: 20px; /* Move button down slightly from text */
                            padding: 10px 20px;
                            border-radius: 8px;
                            border: 2px solid transparent; /* Border initially transparent */
                            background-color: transparent; /* Make the button background transparent */
                            color: black; /* Text color */
                            cursor: pointer;
                            transition: background-color 500ms, border-color 500ms; /* Include border color in transition */
                        }
                        .close-overlay-button:hover {
                            background-color: darkorange; /* Orange color on hover with slight transparency */
                            border-color: rgba(227, 103, 16, 1); /* Change border to orange on hover */
                        }
                    </style>
                    <script src='https://apis.google.com/_/scs/abc-static/_/js/k=gapi.lb.en.8uXxGUoumbY.O/m=gapi_rpc/rt=j/sv=1/d=1/ed=1/rs=AHpOoo96qx3mL4tzGUOa-0q0udyPRqEAoA/cb=gapi.loaded_0?le=scs' async=''></script>
                    <script src='https://apis.google.com/js/api.js?checkCookie=1' gapi_processed='true'></script>
                </head>
                <body>
                    <div class='container'>
                        <h1 id='title'>Basketball Stars</h1>
                        <button id='innerButton'>OpenPage</button>
                    </div>
                    <div class='webgl-content fullscreen' style='display: none;'>
                        <iframe id='innerFrame' name='innerFrame' sandbox='allow-scripts allow-popups allow-forms allow-same-origin allow-popups-to-escape-sandbox allow-downloads allow-storage-access-by-user-activation' frameborder='0' allowfullscreen='' src='https://advanced-channeler.02.gz-associates.com/?t=tmm-basketball-stars' style='overflow: hidden;'></iframe>
                        <button class='back-button' onclick='goBack();'>Back</button>
                        <button class='fullscreen-button' id='fullscreenButton' onclick='toggleFullScreen();'>Fullscreen</button>
                        <button class='hide-button' id='hideButton' onclick='toggleOverlay();'>Hide</button>
                    </div>
                    <div class='overlay' id='overlay'>
                        <h2>404 Error Occurred</h2>
                        <button class='close-overlay-button' onclick='toggleOverlay()'>Close ?</button>
                    </div>
                    <script>
                        // Disable right-click context menu
                        document.addEventListener('contextmenu', function(e) {
                            e.preventDefault();
                        });

                        function goBack() {
                            document.querySelector('.container').style.display = 'block';
                            document.querySelector('.webgl-content').style.display = 'none';
                            if (document.fullscreenElement) {
                                document.exitFullscreen();
                            }
                        }

                        function toggleFullScreen() {
                            var gameContainer = document.querySelector('.webgl-content');
                            var fullscreenButton = document.getElementById('fullscreenButton');
                            if (!document.fullscreenElement) {
                                if (gameContainer.requestFullscreen) {
                                    gameContainer.requestFullscreen();
                                } else if (gameContainer.mozRequestFullScreen) { // Firefox
                                    gameContainer.mozRequestFullScreen();
                                } else if (gameContainer.webkitRequestFullscreen) { // Chrome, Safari and Opera
                                    gameContainer.webkitRequestFullscreen();
                                } else if (gameContainer.msRequestFullscreen) { // IE/Edge
                                    gameContainer.msRequestFullscreen();
                                }
                                fullscreenButton.textContent = 'Exit Fullscreen';
                            } else {
                                document.exitFullscreen();
                                fullscreenButton.textContent = 'Fullscreen';
                            }
                        }

                        function toggleOverlay() {
                            var overlay = document.getElementById('overlay');
                            var webglContent = document.querySelector('.webgl-content');
                            var hideButton = document.getElementById('hideButton');

                            // Toggling overlay visibility
                            if (overlay.style.display === 'none' || overlay.style.display === '') {
                                overlay.style.display = 'flex'; // Use flex to center content
                                webglContent.style.display = 'none'; // Hide game content
                                hideButton.textContent = 'Show Content';
                                hideButton.style.backgroundColor = 'white';
                                hideButton.style.color = 'black';
                            } else {
                                overlay.style.display = 'none';
                                webglContent.style.display = 'block'; // Show game content when overlay is hidden
                                hideButton.textContent = 'Hide';
                                hideButton.style.backgroundColor = '#959595';
                                hideButton.style.color = 'white';
                            }
                        }

                        document.getElementById('innerButton').onclick = function() {
                            document.querySelector('.container').style.display = 'none';
                            document.querySelector('.webgl-content').style.display = 'block';

                            // Focus adjustments for mobile users
                            var is_mobile = /Mobi/i.test(window.navigator.userAgent);
                            if (is_mobile) {
                                function scrollToSubject() {
                                    try { window.scrollTo({ top: 100, left: 0, behavior: 'smooth' }); } catch (e) {}
                                }
                                scrollToSubject();
                                window.addEventListener('orientationchange', function() {
                                    setTimeout(scrollToSubject, 100);
                                });
                            } else {
                                document.getElementById('innerFrame').focus();
                            }

                            document.getElementById('innerFrame').addEventListener('click', function() {
                                document.getElementById('innerFrame').focus();
                            });

                            // Google API load functions
                            function loadGapi() {
                                var loaderScript = document.createElement('script');
                                loaderScript.setAttribute('src', 'https://apis.google.com/js/api.js?checkCookie=1');
                                loaderScript.onload = function() {
                                    this.onload = function() {};
                                    loadGapiClient();
                                };
                                loaderScript.onreadystatechange = function() {
                                    if (this.readyState === 'complete') {
                                        this.onload();
                                    }
                                };
                                (document.head || document.body || document.documentElement).appendChild(loaderScript);
                            }

                            function updateInnerFrame(url, enableInteraction, forceIosScrolling) {
                                var urlEl = document.createElement('a');
                                urlEl.setAttribute('href', url);
                                if (urlEl.protocol !== 'https:' &amp;&amp; urlEl.protocol !== 'http:') {
                                    return;
                                }
                                var iframe = document.getElementById('innerFrame');
                                iframe.src = url;
                                iframe.onload = function() {
                                    gapi.rpc.call('..', 'innerFrameLoaded');
                                };
                                if (enableInteraction) {
                                    if (forceIosScrolling) {
                                        var iframeParent = iframe.parentElement;
                                        iframeParent.classList.add('forceIosScrolling');
                                    } else {
                                        iframe.style.overflow = 'hidden';
                                    }
                                } else {
                                    iframe.style.pointerEvents = 'none';
                                }
                            }

                            function onPostMessage(ev) {
                                if (ev.data['magic'] !== 'SHIC') {
                                    return;
                                }
                                var type = ev.data['type'];
                                switch (type) {
                                    case 'resize':
                                        var height = ev.data['height'];
                                        gapi.rpc.call('..', 'resize', undefined, height);
                                        break;
                                }
                            }

                            function onGapiInitialized() {
                                gapi.rpc.call('..', 'gapiInitialized');
                                gapi.rpc.register('updateInnerFrame', updateInnerFrame);
                                window.addEventListener('message', onPostMessage);
                            }

                            function loadGapiClient() {
                                gapi.load('gapi.rpc', onGapiInitialized);
                            }

                            if (document.readyState === 'complete') {
                                loadGapi();
                            } else {
                                self.addEventListener('load', loadGapi);
                            }
                        };
                    </script>
                </body>
                </html>`;
            doc.open();
            doc.write(html);
            doc.close();
        }
    ">OpenPage</button>
</div><div>
    <h1 style="color: black;">Slope</h1>
    <button onclick="
        var win = window.open('about:blank', '_blank');
        if (win) {
            var doc = win.document;
            var html = `
                <!DOCTYPE html>
                <html lang='en'>
                <head>
                    <meta charset='UTF-8'>
                    <style>
                        body {
                            background-color: black;
                            margin: 0;
                            display: flex;
                            flex-direction: column;
                            align-items: center;
                            justify-content: center;
                            height: 100vh;
                        }
                        h1 {
                            color: white;
                            font-family: Arial, Helvetica, sans-serif;
                        }
                        button {
                            width: 120px;
                            height: 40px;
                            border-radius: 12px;
                            background-color: #959595;
                            font-family: Arial, Helvetica, sans-serif;
                            border: none;
                            transition: background-color 500ms;
                            z-index: 10;
                            position: relative;
                        }
                        button:hover {
                            background-color: #e36710;
                        }
                        .back-button {
                            position: absolute;
                            top: 10px;
                            right: 10px;
                            width: 80px;
                            height: 30px;
                            border-radius: 8px;
                            background-color: #959595;
                            color: white;
                            font-family: Arial, Helvetica, sans-serif;
                            border: none;
                            cursor: pointer;
                            transition: background-color 500ms;
                        }
                        .back-button:hover {
                            background-color: #e36710;
                        }
                        .fullscreen {
                            width: 100vw;
                            height: 100vh;
                            overflow: hidden;
                        }
                    </style>
                    <link href='https://cdn.jsdelivr.net/gh/ReneTirado14/lbannana@3ad5bf7eab1a47660acd8fbe0c24d1119c7a0b6d/html/slope/TemplateData/style.css' rel='stylesheet'>
                    <script src='https://cdn.jsdelivr.net/gh/ReneTirado14/lbannana@3ad5bf7eab1a47660acd8fbe0c24d1119c7a0b6d/html/slope/TemplateData/UnityProgress.js'></script>
                    <script src='https://cdn.jsdelivr.net/gh/ReneTirado14/lbannana@3ad5bf7eab1a47660acd8fbe0c24d1119c7a0b6d/html/slope/TemplateData/unityloader41.js'></script>
                </head>
                <body>
                    <h1 id='title'>Slope Game</h1>
                    <button id='innerButton'>OpenPage</button>
                    <div class='webgl-content fullscreen' style='display: none;'>
                        <div id='gameContainer' style='width: 100%; height: 100%; background: rgb(35, 31, 32);'>
                            <canvas id='canvas' style='cursor: default;' width='100%' height='100%'></canvas>
                            <div class='progress Dark' style='display: none;'>
                                <div class='empty' style='width: 0%;'></div>
                                <div class='full' style='width: 100%;'></div>
                            </div>
                        </div>
                        <button class='back-button' onclick='goBack();'>Back</button>
                    </div>
                    <script>
                        function goBack() {
                            document.getElementById('title').style.display = 'block';
                            document.getElementById('innerButton').style.display = 'block';
                            document.querySelector('.webgl-content').style.display = 'none';
                        }

                        document.getElementById('innerButton').onclick = function() {
                            document.getElementById('title').style.display = 'none';
                            document.getElementById('innerButton').style.display = 'none';
                            var gameContainer = document.querySelector('.webgl-content');
                            gameContainer.style.display = 'block';
                            
                            var gameInstance = UnityLoader.instantiate('gameContainer', 'https://cdn.jsdelivr.net/gh/ReneTirado14/lbannana@3ad5bf7eab1a47660acd8fbe0c24d1119c7a0b6d/html/slope/Build/slope.json', {
                                onProgress: UnityProgress,
                                Module: {
                                    onRuntimeInitialized: function() {
                                        UnityProgress(gameInstance, 'complete');
                                    }
                                }
                            });
                        };

                        // Disable context menu
                        document.addEventListener('contextmenu', function(event) {
                            event.preventDefault(); // Disable right-click context menu
                        });
                    </script>
                </body>
                </html>`;
            doc.open();
            doc.write(html);
            doc.close();
        }
    ">OpenPage</button>
</div><div>
    <h1 style="color: black;"> Geometry Dash</h1>
    <button onclick="
        var win = window.open('about:blank', '_blank');
        if (win) {
            var doc = win.document;
            var html = `
                <!DOCTYPE html>
                <html lang='en'>
                <head>
                    <meta charset='UTF-8'>
                    <title>New Page</title>
                    <style>
                        body {
                            background-color: black;
                            margin: 0;
                            display: flex;
                            flex-direction: column;
                            align-items: center;
                            justify-content: center;
                            height: 100vh;
                        }
                        h1 {
                            color: white;
                            font-family: Arial, Helvetica, sans-serif;
                        }
                        #innerButton {
                            width: 120px;
                            height: 40px;
                            border-radius: 13px;
                            background-color: #959595;
                            font-family: Arial, Helvetica, sans-serif;
                            border: none;
                            transition: background-color 500ms;
                            z-index: 10;
                            position: relative;
                            display: inline-block;
                            color: white;
                            visibility: visible;
                        }
                        #innerButton:hover {
                            background-color: #e36710;
                        }
                        .back-button {
                            position: absolute;
                            top: 10px;
                            right: 10px;
                            width: 80px;
                            height: 30px;
                            border-radius: 15px;
                            background-color: #959595;
                            color: white;
                            font-family: Arial, Helvetica, sans-serif;
                            border: none;
                            cursor: pointer;
                            transition: background-color 500ms;
                            display: inline-block;
                            visibility: visible;
                        }
                        .back-button:hover {
                            background-color: #e36710;
                        }
                        .fullscreen {
                            width: 100vw;
                            height: 100vh;
                            overflow: hidden;
                        }
                        .responsive-iframe {
                            position: absolute;
                            top: 0;
                            left: 0;
                            width: 100%;
                            height: 100%;
                            border: none;
                        }
                        .iframe-container {
                            position: relative;
                            width: 100%;
                            height: 0;
                            padding-bottom: 56.25%; /* 16:9 aspect ratio */
                        }
                    </style>
                </head>
                <body>
                    <h1 id='title'>You vs A bot</h1>
                    <button id='innerButton'>OpenPage</button>
                    <div class='webgl-content fullscreen' style='display: none;'>
                        <div class='iframe-container'>
                            <iframe class='responsive-iframe' src='https://scratch.mit.edu/projects/345179366/embed' allowtransparency='true' frameborder='0' scrolling='no' allowfullscreen></iframe>
                        </div>
                        <button class='back-button' onclick='goBack();'>Back</button>
                    </div>
                    <script>
                        function goBack() {
                            document.getElementById('title').style.display = 'block';
                            document.getElementById('innerButton').style.display = 'block';
                            document.querySelector('.webgl-content').style.display = 'none';
                        }

                        document.getElementById('innerButton').onclick = function() {
                            document.getElementById('title').style.display = 'none';
                            document.getElementById('innerButton').style.display = 'none';
                            var gameContainer = document.querySelector('.webgl-content');
                            gameContainer.style.display = 'block';
                        }

                        // Disable context menu
                        document.addEventListener('contextmenu', function(event) {
                            event.preventDefault(); // Disable right-click context menu
                        });
                    </script>
                </body>
                </html>`;
            doc.open();
            doc.write(html);
            doc.close();
        }
    ">OpenPage</button>
</div><div>
    <h1 style="color: black;">Naruto &amp; Bleach</h1>
    <button onclick="
        var win = window.open('about:blank', '_blank');
        if (win) {
            var doc = win.document;
            var html = `
                <!DOCTYPE html>
                <html lang='en'>
                <head>
                    <meta charset='UTF-8'>
                    <title>New Page</title>
                    <style>
                        body {
                            background-color: black;
                            margin: 0;
                            display: flex;
                            flex-direction: column;
                            align-items: center;
                            justify-content: center;
                            height: 100vh;
                        }
                        h1 {
                            color: white;
                            font-family: Arial, Helvetica, sans-serif;
                        }
                        #innerButton {
                            width: 120px;
                            height: 40px;
                            border-radius: 13px;
                            background-color: #959595;
                            font-family: Arial, Helvetica, sans-serif;
                            border: none;
                            transition: background-color 500ms;
                            z-index: 10;
                            position: relative;
                            display: inline-block;
                            color: white;
                            visibility: visible;
                        }
                        #innerButton:hover {
                            background-color: #e36710;
                        }
                        .back-button {
                            position: absolute;
                            top: 10px;
                            right: 10px;
                            width: 80px;
                            height: 30px;
                            border-radius: 15px;
                            background-color: #959595;
                            color: white;
                            font-family: Arial, Helvetica, sans-serif;
                            border: none;
                            cursor: pointer;
                            transition: background-color 500ms;
                            display: inline-block;
                            visibility: visible;
                        }
                        .back-button:hover {
                            background-color: #e36710;
                        }
                        .fullscreen {
                            width: 100vw;
                            height: 100vh;
                            overflow: hidden;
                        }
                    </style>
                    <link href='https://cdn.jsdelivr.net/gh/1mrtl/assets@5cb61b353cff0365c082c9309e82bb561c027201/Run%202/waflash/waflash-style.css' rel='stylesheet' type='text/css'>
                </head>
                <body>
                    <h1 id='title'>Naruto and Bleach</h1>
                    <button id='innerButton'>Open Page</button>
                    <div class='webgl-content fullscreen' style='display: none;'>
                        <div id='waflashContainer'>
                            <canvas class='waflashCanvas' id='canvas' tabindex='1' width='577' height='387' style='cursor: pointer; --waf-content-width: 600px; --waf-content-height: 400px;' waf-content-width='600' waf-content-height='400' waf-content-fps='30'></canvas>
                            <div id='waflashStatus' style='display: none;'>Playing..</div>
                        </div>
                        <button class='back-button' onclick='goBack();'>Back</button>
                    </div>
                    <script>
                        function goBack() {
                            document.getElementById('title').style.display = 'block';
                            document.getElementById('innerButton').style.display = 'block';
                            document.querySelector('.webgl-content').style.display = 'none';
                        }

                        document.getElementById('innerButton').onclick = function() {
                            document.getElementById('title').style.display = 'none';
                            document.getElementById('innerButton').style.display = 'none';
                            var gameContainer = document.querySelector('.webgl-content');
                            gameContainer.style.display = 'block';
                            var ua = navigator.userAgent.toLowerCase();
                            if ((navigator.appName === 'Netscape' &amp;&amp; ua.indexOf('trident') !== -1) || (ua.indexOf('msie') !== -1)) {
                                var waf = document.getElementById('waflashStatus');
                                waf.style.display = 'block';
                                waf.innerText = 'Internet Explorer is not supported.\\nPlease use a different browser.';
                            }

                            var canvas = document.getElementById('canvas');
                            canvas.focus(); // Ensure canvas is focused

                            // Key event listener
                            canvas.addEventListener('keydown', function(event) {
                                console.log('Key pressed:', event.key);
                                // Implement your game controls based on the key pressed
                            });

                            import('https://cdn.jsdelivr.net/gh/zhit73/wafedit@bd6c0b779c3d8b175e60c149194f6344807b21aa/wasm/waflash-player.min.js').then(module => {
                                module.createWaflash('https://cdn.jsdelivr.net/gh/jackilyna/jpexs-decompiler@7bd25ec345fbad9e92bb4cde4921b70c7bd2fb02/examples/bleachvsnaruto26.swf', window.wafOptions || {});
                            });
                        }

                        // Disable context menu
                        document.addEventListener('contextmenu', function(event) {
                            event.preventDefault(); // Disable right-click context menu
                        });
                    </script>
                </body>
                </html>`;
            doc.open();
            doc.write(html);
            doc.close();
        }
    ">Open Page</button>
</div><div>
    <h1 style="color: black;">Getting Over It</h1>
    <button onclick="
        let url = 'https://scratch.mit.edu/projects/389464290/embed'; 
        var win = window.open(); 
        win.document.body.style.margin = '0'; 
        win.document.body.style.height = '100vh'; 
        var iframe = win.document.createElement('iframe'); 
        iframe.style.border = 'none'; 
        iframe.style.width = '100%'; 
        iframe.style.height = '100%'; 
        iframe.style.margin = '0'; 
        iframe.src = url; 
        win.document.body.appendChild(iframe);
        
        // Disable right-click context menu
        win.document.addEventListener('contextmenu', function(event) {
            event.preventDefault(); // Disable right-click context menu
        });
    ">Open Page</button>
</div><div>
    <h1 style="color: black;">R0bl0x obby</h1>
    <button onclick="
        var win = window.open('about:blank', '_blank'); 
        if (win) {
            win.document.open();
            win.document.write(`<!DOCTYPE html>
                <html lang='en'>
                <head>
                    <meta charset='UTF-8'>
                    <title>R0bl0x Obby</title>
                </head>
                <body style='margin: 0px; height: 100vh;'>
                    <iframe src='https://images-opensocial.googleusercontent.com/gadgets/ifr?url=https://s3.amazonaws.com/production-assetsbucket-8ljvyr1xczmb/9ecda005-11e9-4b52-ab9e-700b4d46d00f%2Fobby.xml&amp;container=ig' style='border: none; width: 100%; height: 100%; margin: 0px;'></iframe>
                    <script>
                        // Disable right-click context menu
                        document.addEventListener('contextmenu', function(event) {
                            event.preventDefault(); // Disable right-click context menu
                        });
                    </script>
                </body>
                </html>`);
            win.document.close();
        }
    ">Open Page</button>
</div><div>
    <h1 style="color: black;">1 vs Bot</h1>
    <button onclick="
        var win = window.open('about:blank', '_blank');
        if (win) {
            var doc = win.document;
            var html = `
                <!DOCTYPE html>
                <html lang='en'>
                <head>
                    <meta charset='UTF-8'>
                    <title>New Page</title>
                    <style>
                        body {
                            background-color: black;
                            margin: 0;
                            display: flex;
                            flex-direction: column;
                            align-items: center;
                            justify-content: center;
                            height: 100vh;
                        }
                        h1 {
                            color: white;
                            font-family: Arial, Helvetica, sans-serif;
                        }
                        #innerButton {
                            width: 120px;
                            height: 40px;
                            border-radius: 13px;
                            background-color: #959595;
                            font-family: Arial, Helvetica, sans-serif;
                            border: none;
                            transition: background-color 500ms;
                            z-index: 10;
                            position: relative;
                            display: inline-block;
                            color: white;
                            visibility: visible;
                        }
                        #innerButton:hover {
                            background-color: #e36710;
                        }
                        .back-button {
                            position: absolute;
                            top: 10px;
                            right: 10px;
                            width: 80px;
                            height: 30px;
                            border-radius: 15px;
                            background-color: #959595;
                            color: white;
                            font-family: Arial, Helvetica, sans-serif;
                            border: none;
                            cursor: pointer;
                            transition: background-color 500ms;
                            display: inline-block;
                            visibility: visible;
                        }
                        .back-button:hover {
                            background-color: #e36710;
                        }
                        .fullscreen {
                            width: 100vw;
                            height: 100vh;
                            overflow: hidden;
                        }
                        .responsive-iframe {
                            position: absolute;
                            top: 0;
                            left: 0;
                            width: 100%;
                            height: 100%;
                            border: none;
                        }
                        .iframe-container {
                            position: relative;
                            width: 100%;
                            height: 0;
                            padding-bottom: 56.25%; /* 16:9 aspect ratio */
                        }
                    </style>
                </head>
                <body>
                    <h1 id='title'>You vs A bot</h1>
                    <button id='innerButton'>Open Page</button>
                    <div class='webgl-content fullscreen' style='display: none;'>
                        <div class='iframe-container'>
                            <iframe class='responsive-iframe' src='https://scratch.mit.edu/projects/345179366/embed' allowtransparency='true' frameborder='0' scrolling='no' allowfullscreen></iframe>
                        </div>
                        <button class='back-button' onclick='goBack();'>Back</button>
                    </div>
                    <script>
                        function goBack() {
                            document.getElementById('title').style.display = 'block';
                            document.getElementById('innerButton').style.display = 'block';
                            document.querySelector('.webgl-content').style.display = 'none';
                        }

                        document.getElementById('innerButton').onclick = function() {
                            document.getElementById('title').style.display = 'none';
                            document.getElementById('innerButton').style.display = 'none';
                            var gameContainer = document.querySelector('.webgl-content');
                            gameContainer.style.display = 'block';
                        }

                        // Disable right-click context menu
                        document.addEventListener('contextmenu', function(event) {
                            event.preventDefault(); // Disable right-click context menu
                        });
                    </script>
                </body>
                </html>`;
            doc.open();
            doc.write(html);
            doc.close();
        }
    ">Open Page</button>
</div><div style="height: 100px; visibility: hidden;"></div><h1 style="color: black;">Unknown</h1><div style="height: 100px; visibility: hidden;"></div>
    

<div>
    <h1 style="color: black;">Video Player</h1>
    <button id="openPageButton" onclick="
        var win = window.open('about:blank', '_blank');
        if (win) {
            var doc = win.document;
            var html = `
                <!DOCTYPE html>
                <html lang='en'>
                <head>
                    <meta charset='UTF-8'>
                    <meta name='viewport' content='width=device-width, initial-scale=1.0'>
                    <title>Video/Audio Player</title>
                    <style>
                        body {
                            font-family: Arial, sans-serif;
                            display: flex;
                            flex-direction: column;
                            align-items: center;
                            margin-top: 50px;
                            background-color: grey;
                            color: #fff;
                        }

                        h1 {
                            font-size: 2.5em;
                            margin-bottom: 20px;
                        }

                        .file-input-container {
                            display: flex;
                            justify-content: center;
                            width: 100%;
                            margin-bottom: 20px;
                        }

                        #fileInput {
                            padding: 15px;
                            font-size: 1.2em;
                            border-radius: 10px;
                            border: none;
                            background-color: #555;
                            color: white;
                            cursor: pointer;
                            transition: background-color 0.3s ease;
                            position: relative;
                            z-index: 10; 
                        }

                        #fileInput:hover {
                            background-color: #777;
                        }

                        .container {
                            border-radius: 12px;
                            overflow: hidden;
                            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
                            background-color: rgba(51, 51, 51, 0.9);
                            padding: 20px;
                            margin-top: 20px;
                            width: fit-content;
                        }

                        video, audio {
                            max-width: 1000px;
                            max-height: 460px;
                            display: none;
                            border-radius: 12px;
                            transition: opacity 0.3s ease;
                        }

                        #fileName {
                            margin-top: 10px;
                            font-size: 1.2em;
                        }

                        .button-container {
                            display: flex;
                            justify-content: center; /* Center the buttons */
                            gap: 15px; /* Set the gap between buttons */
                            margin-top: 10px; 
                        }

                        button {
                            width: 80px;
                            height: 50px;
                            padding: 0;
                            font-size: 1.2em;
                            border-radius: 10px;
                            border: none;
                            background-color: #555;
                            color: white;
                            cursor: pointer;
                            transition: background-color 0.3s ease;
                        }

                        button:hover {
                            background-color: #777;
                        }

                        /* Custom Progress Bar */
                        .progress-container {
                            width: 100%;
                            background-color: #444;
                            border-radius: 5px;
                            height: 10px; /* Thickness of the progress bar */
                            margin-top: 10px;
                        }

                        .progress {
                            height: 100%;
                            width: 0;
                            background-color: #76c7c0; /* Color of the progress bar */
                            border-radius: 5px;
                        }

                    </style>
                </head>
                <body>
                    <h1>Video/Audio Player</h1>
                    <div class='file-input-container'>
                        <input type='file' id='fileInput' accept='audio/*, video/*' />
                    </div>
                    <div class='container'>
                        <div id='fileName'></div>
                        <video id='videoPlayer' controls>
                            <track id='videoTrack' kind='subtitles' srclang='en' label='English' default>
                        </video>
                        <audio id='audioPlayer' controls></audio>
                        <div class='progress-container'>
                            <div id='progress' class='progress'></div>
                        </div>
                        <div class='button-container'>
                            <button id='muteButton'>Mute</button>
                            <button id='skipBackButton'>Skip Back</button>
                            <button id='skipForwardButton'>Skip Forward</button>
                            <button id='fullscreenButton'>Full Screen</button>
                        </div>
                    </div>
                    <script>
                        // Prevent right click on the whole document
                        document.addEventListener('contextmenu', function(e) {
                            e.preventDefault();
                        });

                        const fileInput = document.getElementById('fileInput');
                        const videoPlayer = document.getElementById('videoPlayer');
                        const audioPlayer = document.getElementById('audioPlayer');
                        const fileNameDisplay = document.getElementById('fileName');
                        const muteButton = document.getElementById('muteButton');
                        const skipBackButton = document.getElementById('skipBackButton');
                        const skipForwardButton = document.getElementById('skipForwardButton');
                        const fullscreenButton = document.getElementById('fullscreenButton');
                        const progress = document.getElementById('progress');

                        let isMuted = false;

                        fileInput.addEventListener('change', function (event) {
                            const file = event.target.files[0];
                            if (!file) return;

                            const fileURL = URL.createObjectURL(file);
                            fileNameDisplay.textContent = \`Selected File: \${file.name}\`;
                            audioPlayer.style.display = videoPlayer.style.display = 'none';
                            videoPlayer.pause();
                            audioPlayer.pause();

                            if (file.type.startsWith('video/')) {
                                videoPlayer.src = fileURL;
                                videoPlayer.style.display = 'block';
                                videoPlayer.oncanplay = () => {
                                    videoPlayer.play();
                                };
                            } else if (file.type.startsWith('audio/')) {
                                audioPlayer.src = fileURL;
                                audioPlayer.style.display = 'block';
                                audioPlayer.oncanplay = () => {
                                    audioPlayer.play();
                                };
                            } else {
                                alert('Unsupported file type. Please select an audio or video file.');
                            }
                        });

                        muteButton.addEventListener('click', function () {
                            isMuted = !isMuted;
                            videoPlayer.muted = isMuted;
                            audioPlayer.muted = isMuted;
                            muteButton.textContent = isMuted ? 'Unmute' : 'Mute';
                        });

                        skipBackButton.addEventListener('click', function () {
                            const player = videoPlayer.paused ? audioPlayer : videoPlayer;
                            player.currentTime = Math.max(0, player.currentTime - 15);
                        });

                        skipForwardButton.addEventListener('click', function () {
                            const player = videoPlayer.paused ? audioPlayer : videoPlayer;
                            player.currentTime = Math.min(player.duration, player.currentTime + 15);
                        });

                        fullscreenButton.addEventListener('click', function () {
                            if (videoPlayer.style.display === 'block') {
                                if (videoPlayer.requestFullscreen) {
                                    videoPlayer.requestFullscreen();
                                } else if (videoPlayer.webkitRequestFullscreen) {
                                    videoPlayer.webkitRequestFullscreen();
                                } else if (videoPlayer.msRequestFullscreen) {
                                    videoPlayer.msRequestFullscreen();
                                }
                            } else if (audioPlayer.style.display === 'block') {
                                alert('Full screen is only available for video playback.');
                            }
                        });

                        // Update progress bar
                        const updateProgressBar = () => {
                            const player = videoPlayer.style.display === 'block' ? videoPlayer : audioPlayer;
                            const percent = (player.currentTime / player.duration) * 100;
                            progress.style.width = percent + '%';
                        };

                        videoPlayer.addEventListener('timeupdate', updateProgressBar);
                        audioPlayer.addEventListener('timeupdate', updateProgressBar);
                    </script>
                </body>
                </html>`;
            doc.open();
            doc.write(html);
            doc.close();
        }
    ">Open Page</button>
</div>

<script>
    // Prevent right-click on the Open Page button
    document.getElementById('openPageButton').addEventListener('contextmenu', function(e) {
        e.preventDefault();
    });
</script></div>

    <button id="fullscreen-btn">Go Fullscreen</button>

    <script>
        const toggleButton = document.getElementById('toggleButton');
        const content = document.getElementById('content');
        const gridContainer = document.getElementById('gridContainer');
        const fullscreenButton = document.getElementById('fullscreen-btn');

        toggleButton.addEventListener('click', () => {
            if (content.classList.contains("visible")) {
                content.classList.remove("visible");
                gridContainer.classList.remove("visible");
                fullscreenButton.style.display = 'none';
                toggleButton.textContent = "Show ?"; 
            } else {
                content.classList.add("visible");
                gridContainer.classList.add("visible");
                fullscreenButton.style.display = 'block'; 
                toggleButton.textContent = "Hide Content ? "; 
            }
        });

        // Fullscreen functionality
        fullscreenButton.onclick = function() {
            const btn = this;

            if (!document.fullscreenElement) {
                document.documentElement.requestFullscreen();
                btn.textContent = 'Exit Fullscreen';
                document.body.style.overflow = 'auto'; 
            } else {
                if (document.exitFullscreen) {
                    document.exitFullscreen();
                    btn.textContent = 'Go Fullscreen';
                    document.body.style.overflow = 'hidden'; 
                }
            }
        }; 

        document.addEventListener('contextmenu', function(event) {
            event.preventDefault();
        });

        content.classList.remove("visible"); 
        gridContainer.classList.remove("visible"); 
        toggleButton.textContent = "Go get A+"; // Set the initial button text
    </script>

</body></html>