/* global selector (applies to everything */
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Pixelify Sans", sans-serif;
}
/* Experience */
* {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -khtml-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

#experience{
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}

#experience-canvas{
    width: 100%;
    height: 100%;
}
/* Utilities */
.hidden{
    display: none;   
}

#next-scene-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.next-scene-button {
    background: none;
    border: none;
    color: #faf2b6;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background 0.3s;
    text-shadow: 4px 4px 8px rgba(255, 255, 255, 0.1)
}

.next-scene-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Loading Screen ------------------------------------------------------------------------------------------------------*/
.loadingScreen{
    position: absolute;
    flex-direction: column-reverse;
    z-index: 1000;
    width: 100%;
    height: 100vh;
    background-color: #ff5793;
    color: #faf2b6;
    display: flex;
    align-items: center;
    justify-content: center;

}

@media (pointer: coarse) {
  .instructions-panel {
    display: none !important;
    }
}

@media (max-width: 600px) {
  .modal {
    width: 90% ;             /* shrink from 100% to 90% of the viewport */
    max-width: 320px;       /* cap the width so it never gets too wide */
    padding: 16px;          /* optionally tighten up the padding */
    /* if your modal is very tall, you can also: */
    max-height: 80vh;       /* keep some breathing room */
    overflow-y: auto;       /* scroll content if it overflows */
  }
}
html, body, #experience-canvas {
  /* Prevent any browser touch gestures (pan, zoom, etc.) */
  touch-action: none;

  /* Disable text selection/highlighting completely */
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;

  /* Disable the long-press callout on iOS */
  -webkit-touch-callout: none;
}

/* (Optional) globally suppress the context menu */
body {
  overflow: hidden;                /* if you also want to lock scrolling */
}
