@font-face {
  font-family: 'InterStatic';
  src: url('/static/fonts/Inter-Regular.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

html, body {
    margin: 0;
    background-color: black;
    color: black;
    overflow: hidden;
    height: 100%;
  }

  #globeViz {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
  }
  
  canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
  }
  
  
  
  
  .scene-nav-info {
    user-select: none;
    -webkit-user-select: none;
  }
  
  #time {
    position: absolute;
    bottom: 8px;
    left: 8px;
    color: lightblue;
    font-family: monospace;
  }
  
  #submitPrompt {
    position: fixed; /* Stay centered regardless of scroll */
    bottom: 65px;
    left: 50%;
    transform: translateX(-50%); /* True horizontal centering */
  
    display: block;
    max-width: 325px;
  
    /* Optional matching styles for consistency */
    text-align: center;
    font-family: 'Inter', sans-serif;
    background-color: transparent;
  }

  #responseBtn {
    position: fixed; /* Use fixed to always stay in the same screen position */
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
  
    background-color: transparent;
    color: white;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    max-width: 350px;
    overflow: hidden;
    white-space: nowrap;
    z-index: 9999; /* Ensure it's not hidden behind anything */
  }
  
  #locationText {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    max-width: 100%; /* Ensures it respects the container's size */
    flex: 1; /* Takes up remaining space */
  }
  #flagImg {
    max-width: 32px;
    height: auto;
    flex-shrink: 0;
  }
  
  
  
  #flagImg {
    width: 32px;
    height: 24px;
    object-fit: cover;
    border: 1px solid white;
    border-radius: 3px;
    display: none;
  }
  
  #locationText {
    white-space: nowrap;
  }

  #welcomePrompt {
    position: fixed;  
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1em;
    color: white;
    z-index: 10;
    display: block;
    padding-top: 12px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    width: max-content;
    height: 2.2em;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
    background-color:transparent;
  }
  
  @media (max-width: 400px) {
    #welcomePrompt {
      padding-left: 5%;
    }
  }
  
  
  strong {
    font-family: 'Inter', sans-serif !important;
    font-weight: 900 !important;
  }
  
  /* Add this CSS animation helper class for dynamic text color */
.dynamic-contrast {
  color: white; /* default fallback */
}

/* Optional smoother transition */
#welcomePrompt, #responseBtn, #submitPrompt {
  transition: color 0.3s ease;
}

  