
#map {
  position: relative; /* Ensure the map container is relative for absolute positioning */
}

.win-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 72px;
  color: red;
  font-weight: bold;
  text-shadow: 2px 2px 4px black;
  z-index: 1000; /* Ensure it's on top of other elements */
  pointer-events: none; /* Ensure the overlay doesn't block interactions */
}
    body, html {
      margin: 0;
      padding: 0;
      height: 100%;
      width: 100%;
      overflow: hidden;
      font-family: Arial, sans-serif;
    }
    
    #map, #settings {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }
    
    #map {
      display: block; /* Initially, show the map */
    }
        #timer {
      position: fixed;
      top: 10px;
      left: 50%;
      font-size: 18px;
      font-weight: bold;
      z-index: 1000; /* Ensure the timer is on top */
          color: red}
    #settings {
      display: none; /* Hide the settings page initially */
      background-color: white;
      padding: 20px;
      box-sizing: border-box;
      text-align: center; /* Center align text and form elements */
    }
    
    #toggleButton {
      position: fixed;
      top: 0;
      right: 0;
      width: 20%;
      height: 40px;
      background-color: #007bff;
      color: white;
      text-align: center;
      line-height: 40px;
      cursor: pointer;
      z-index: 1000; /* Ensure the button is always on top */
      font-size: 16px;
      border: none;
      box-shadow: 0px 4px 2px -2px gray;
    }

    .settings-container {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      height: calc(100% - 60px); /* Leave space for the button */
    }

    .settings-container input[type="text"] {
      margin: 10px 0;
      padding: 5px;
      width: 80%;
      max-width: 300px;
    }

    .settings-container input[type="range"] {
      margin: 10px 0;
      width: 80%;
      max-width: 300px;
    }

    .settings-container button {
      margin-top: 20px;
      padding: 10px 20px;
      background-color: #007bff;
      color: white;
      border: none;
      cursor: pointer;
      font-size: 16px;
    }

    canvas {
      position: absolute;
      top: 0;
      left: 0;
      z-index: 500; /* Ensure the canvas is above the map */
      pointer-events: none;
    }