body {
    margin: 0;
    overflow: scroll;
    /*cursor: url('http://www.rw-designer.com/cursor-extern.php?id=211866'), auto;*/
    cursor: url('https://www.rw-designer.com/cursor-view/123311-48.png'), auto;

  }
  
  /* Giant background world */
  #world {
    width: 5000px;   
    height: 3000px;  
  
    background-image: url("https://textures.neocities.org/textures/paper-and-sponge/Fiesta_Bkgrd.jpg");
    background-repeat: repeat;
    position: relative;
  }
  
  /* new flashlight overlay drawn by p5.js canvas */

  /* Telescope viewfinder vignette */
  .viewfinder-complete {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('https://static.wikia.nocookie.net/omori/images/2/29/Telescope_%28View%29.png') center center no-repeat;
    background-size: 2400px;
    z-index: 999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  .viewfinder-complete.show {
    opacity: 1;
  }

  #riddle-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: white;
    border-top: 2px solid black;
    padding: 20px 40px;
    font-family: Georgia, serif;
    font-size: 18px;
    display: flex;
    justify-content: center;  
    gap: 180px;                /* space between left/right text */
    line-height: 1.5;
    z-index: 1000; /* keeps it as top layer... I think... */ 
  }
  
  .riddle-left, .riddle-right {
    max-width: 400px;         /* keeps each side readable */
  }

  .riddle-word {
    cursor: default; 
  }

  .riddle-line {
    transition: color 0.3s ease;
  }
  .riddle-line.found {
    color: #6a1b9a; /* text turns purple when item is found */
  }

  .item {
    position: absolute;
    width: 250px;
    height: auto;
  }
