<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Merry Christmas</title>
  <link rel="stylesheet" href="style.css">
  <link rel="icon" href="favicon.ico" type="image/favicon.ico">
</head>
<body>
  <div class="bgimg">
    <div class="middle">
      <h1 class="coming-soon">COMING SOON</h1>
      <hr>
      <p id="demo"></p>
    </div>
  </div>

  <div class="song-player">
    <div class="song-image">
      <img src="snowmanimg.jpg" alt="Snowman Song Cover" />
    </div>
    <div class="song-details">
      <h2>Snowman</h2>
      <p id="live-lyrics">Play to Load lyrics...</p>
      <div class="controls">
        <button id="play-pause-button" class="play"></button>
        <span id="current-time">00:00</span>
        <input type="range" id="seek-bar" value="0" min="0" max="100">
        <span id="duration">00:00</span>
      </div>
    </div>
  </div>

  <audio id="audio-player" src="snowman.mp3"></audio>

  <script>
    (function() {
      let devToolsOpened = false;

      function checkDevTools() {
        const threshold = 100;
        const isDevTools = window.outerHeight - window.innerHeight > threshold || window.outerWidth - window.innerWidth > threshold;

        if (isDevTools && !devToolsOpened) {
          devToolsOpened = true;
          document.body.innerHTML = ''; 
          document.body.style.backgroundColor = 'white'; 
        }
      }

      window.addEventListener('resize', checkDevTools);

      checkDevTools();
    })();
  </script>

  <script src="script.js"></script>
</body>
</html>
