    /* Full-screen background and layout */
    body, html {
        margin: 0;
        padding: 0;
        height: 100%;

        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #f4f4f9;
        overflow: hidden;
        font-family: Arial, sans-serif;
      }
      /* Style the password prompt */
      #passwordPrompt {
        text-align: center;
        background-color: #ffffff;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    #passwordPrompt label {
        font-size: 18px;
        color: #333;
    }

    #passwordPrompt input[type="password"] {
        width: 200px;
        padding: 10px;
        margin: 10px 0;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 16px;
    }

    #passwordPrompt button {
        padding: 10px 20px;
        background-color: #007bff;
        color: white;
        border: none;
        border-radius: 5px;
        font-size: 16px;
        cursor: pointer;
    }

    #passwordPrompt button:hover {
        background-color: #0056b3;
    }

    #errorMessage {
        color: red;
        display: none;
        margin-top: 10px;
    }

    /* Style the protected content */
    #content {
        display: none; /* Hide the content by default */
        text-align: center;
        background-color: #ffffff;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    #content h1 {
        font-size: 24px;
        color: #333;
    }

    #content p {
        font-size: 18px;
        color: #555;
    }
    
      /* Masterplan background */
      .masterplan {
        position: relative;
        width: 100%;
        max-width: 740px;
        aspect-ratio: 1/1;
        margin: auto;
      }
      .floor-plan {
        width: 100%;
        height: 100%;
      }
      /* Clickable points on the masterplan */
      .point {
        position: absolute;
        width: 25px;
        height: 25px;
        background-color: #d60000;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #000000;
        font-weight: bold;
        transform: translate(-50%, -50%); 

      }
      .point-label {
      position: absolute;
      top: 30px;
      font-size: 11px;
      color: #333;
      text-align: center;
      width: 100px;
      transform: translateX(-50%);
      left: 50%;
  }
      button#myBtn {top: 87.5%; left: 93%;}
      .point#sovo2 { top: 87.5%; left: 73.5%; }
      .point#sovo3 { top: 87.5%; left: 55%; }
      .point#sovo4 { top: 87.5%; left: 44%; }
      .point#sovo5 { top: 87.5%; left: 26.5%; }
      button#myBtn6 {top: 87.5%; left: 7%;}  
      .point#soho1 { top: 41%; left: 82%; }
      .point#soho2 { top: 41%; left: 18%; }
  
      /* Overlay for better visibility */
      .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.7);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 900;
      }
  
      .overlay.active { display: flex; }
  
      /* Level container styling */
      .level-container {
        display: flex;
        flex-wrap: wrap;
        width: 80%;
        max-width: 600px;
        gap: 10px;
        justify-content: center;
      }
  
      .level-container button {
        width: 50px;
        height: 50px;
        background-color: #fff;
        border: 1px solid #ccc;
        cursor: pointer;
      }
  
      /* Popup styling */
      .popup {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        display: none;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.8);
        z-index: 1000;
        display: none; /* Hidden by default */
      }
      .popup.active {
    display: flex;
  }
  
      .popup img {
        max-width: 90%;
        max-height: 90%;
      }
 
      /* Close button for popup */
      .close-btn {
        position: absolute;
        top: 20px;
        right: 30px;
        background: #00000000;
        border: none;
        padding: 0px;
        cursor: pointer;
        z-index: 1100;
        width: 40px;
        height: 40px;
      }
      .close-btn img {
      border-radius: 200px;
  }
  .modal {
    display: none; /* Hidden by default */
    position: fixed; 
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0, 0, 0, 0.62); /
  }
  /* Modal Content */
  .modal-content {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-color: #fefefe;
    margin: auto;
    padding: 50px;
    border: 1px solid #888;
    text-align: center;
  }

  /* The Close Button */
  .close {
    position: absolute;
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    right: 20px;
    top: 20px;
  }

  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }
  button.sovobtn {
  width: 120px;
  height: 120px;
  cursor: pointer;
}
/* slider style */
.arrow {
position: absolute;
top: 50%;
transform: translateY(-50%);
background-color: rgb(0, 0, 0);
color: white;
border: none;
border-radius: 50%;
width: 40px;
height: 40px;
font-size: 20px;
cursor: pointer;
z-index: 10;
padding-bottom: 5px;
}

#prevArrow {
left: 40px;
}

#nextArrow {
right: 40px;
}

#popup {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: white;
padding: 20px;
border-radius: 10px;
text-align: center;
z-index: 1000;
}

#popup img {
max-width: 100%;
max-height: 80vh;
}

#overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
display: none;
justify-content: center;
align-items: center;
}

#overlay.active {
display: flex;
}

/* Default: Hide the warning */
#mobile-warning {
  display: none;
}
/* Show the warning on mobile screens */
@media only screen and (max-width: 768px) {
  #mobile-warning {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    color: white;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 18px;
    z-index: 9999;
  }
  #mobile-warning p {
    width: 90%;
    font-size: 30px;
}
  /* Hide the rest of the page */
  body {
    overflow: hidden;
  }

}

/* Mobile responsive styles for level container buttons */
@media only screen and (max-width: 768px) {
  .level-container button {
    width: 40px;
    height: 45px;
    font-size: 14px;
  }
  
  .level-container {
    gap: 5px;
  }
  .close-btn {
    position: absolute;
    top: 30px;
    left: 40px;
    width: 35px;
    height: 35px;
  }
}
