<!DOCTYPE html>
<html lang="fr">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Project Nwote.</title>
    <style>
        
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            user-select: none;
        }

        body {
            background: black;
            color: white;
        }

        .container {
            position: relative;
            overflow: hidden;
        }

        .title {
            font-size: 96px;
        }

        .content {
            height: 100vh;
            display: grid;
            place-items: center;
            z-index: 5;
            position: relative;
        }

        .fuzzy-overlay {
            position: absolute;
            inset: -200%;
            background-image: url("noise.png");
            opacity: 40%;
            z-index: 0;
            animation: shift 0.2s linear infinite both;
        }

        @keyframes shift {
            0% {
                transform: translateX(10%) translateY(10%);
            }

            100% {
                transform: translateX(-10%) translateY(-10%);
            }
        }

        body, html {
            margin: 0;
            padding: 0;
            height: 100%;
            overflow: hidden;
            font-family: Arial, sans-serif;
        }

        .background-image {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('bg.png') no-repeat center center fixed;
            background-size: cover;
            z-index: -1;
        }

        .menu {
            position: absolute;
            top: 50%;
            left: 120px;
            transform: translateY(-50%) rotate(-7deg);
        }

        .menu a {
            display: block;
            color: green;
            font-size: 36px;
            text-decoration: none;
            margin: 20px 0;
            transition: color 0.3s ease, text-shadow 0.3s ease;
            text-shadow: 0 0 0.5px #0f0, 0 0 5px #0f0, 0 0 10px #0f0;
        }

        .menu a:hover {
            color: gray;
            text-shadow: 0 0 0.5px #fff, 0 0 5px #fff, 0 0 10px #fff;
        }
        
    </style>
</head>
<body onload="openFullscreen()">
    <div class="fuzzy-overlay"></div>
    <div class="background-image"></div>
    <div id="screen"></div>
    <div class="menu">
        <a href="index.html" onmouseover="playSound()">/Δ/ home</a>
        <a href="time.html" onmouseover="playSound()">/?/ 一人で</a>
        <a href=".txt" onmouseover="playSound()">I D K</a>
        <a href="orange.png" onmouseover="playSound()">/Ω/ Никогда</a>
    </div>

    <audio id="hoverSound" src="hover-sound.mp3" preload="auto"></audio>

    <script>
        
        function playSound() {
            const sound = document.getElementById('hoverSound');
            sound.currentTime = 0;
            sound.play();
        }

        function openFullscreen() {
            if (document.documentElement.requestFullscreen) {
                document.documentElement.requestFullscreen();
            } else if (document.documentElement.mozRequestFullScreen) {
                document.documentElement.mozRequestFullScreen();
            } else if (document.documentElement.webkitRequestFullscreen) {
                document.documentElement.webkitRequestFullscreen();
            } else if (document.documentElement.msRequestFullscreen) {
                document.documentElement.msRequestFullscreen();
            }
        }
    </script>
</body>
</html>
