body { padding: 0; margin: 0 }
#unity-container { position: absolute }
#unity-container.unity-desktop { left: 50%; top: 50%; transform: translate(-50%, -50%) }
#unity-container.unity-mobile { width: 100%; height: 100% }
#unity-canvas { background: #231F20 }
.unity-mobile #unity-canvas { width: 100%; height: 100% }
#unity-loading-bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none }
#unity-logo { width: 154px; height: 130px; background: url('unity-logo-light.png') no-repeat center }
#unity-progress-bar-empty { width: 141px; height: 18px; margin-top: 10px; margin-left: 6.5px; background: url('progress-bar-empty-light.png') no-repeat center }
#unity-progress-bar-full { width: 0%; height: 18px; margin-top: 10px; background: url('progress-bar-full-light.png') no-repeat center }
#unity-footer { position: relative }
.unity-mobile #unity-footer { display: none }
#unity-webgl-logo { float:left; width: 204px; height: 38px; background: url('webgl-logo.png') no-repeat center }
#unity-build-title { float: right; margin-right: 10px; line-height: 38px; font-family: arial; font-size: 18px }
#unity-fullscreen-button { float: right; width: 38px; height: 38px; background: url('fullscreen-button.png') no-repeat center }
#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }

/* ————— New AR-Start Button Styles ————— */
/* ————— load your custom Open Sans variable font ————— */
@font-face {
  font-family: 'OpenSansVar';
  src: url('OpenSans-VariableFont_wdth,wght.woff2') format('woff2'),
       url('OpenSans-VariableFont_wdth,wght.ttf')   format('truetype');
  font-weight: 200 900;   /* variable-range */
  font-stretch: 75% 125%; /* variable-range */
  font-display: swap;
}

/* ————— CTA DIV (overlay) ————— */
/* Parent overlay holding banners, logo, text & button */
#startARDiv.ctaDiv {
  background: #02405E;
  padding: 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 1rem;      /* space between stacked items */
  width: 100%;
  height: 100%;
}

/* Full-width banners */
.banner {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.top-banner    { align-self: flex-start; }
.bottom-banner { align-self: flex-end; }

/* CoLab logo */
.logo {
  width: 50vw;
  max-width: 180px;
  height: auto;
  margin: 0;       /* let row-gap control vertical spacing */
}

/* Instruction text */
.cta-text {
  color: #FFFFFF;
  font-size: 1.4rem;
  text-align: center;
  max-width: 80vw;
  line-height: 1.4;
  margin: 0;          /* remove default paragraph margins  */
  padding: 0 3vw;     /* side padding for breathing room   */
}

/* Allow-camera button (closer to text) */
.start-ar-btn{
  background:none;
  border:none;
  padding:0;
  cursor:pointer;
  width:480px;
  height:auto;

  /* bring the button ~0.5 rem closer to the text */
  margin-top:-0.5rem;
}
.start-ar-btn img {
  width: 100%;
  height: auto;
  display: block;
}
.start-ar-btn:hover img { opacity: 0.85; }

/* ─────────────── Responsive tweaks ─────────────── */
@media (max-width: 600px) {

  /* force banners to hug viewport edges on small screens */
  #startARDiv.ctaDiv .top-banner {
    position: absolute !important;
    top: 0 !important; left: 0; right: 0;
  }
  #startARDiv.ctaDiv .bottom-banner {
    position: absolute !important;
    bottom: 0 !important; left: 0; right: 0;
  }

  .logo         { width: 60vw; }
  .cta-text     {
    font-size: 1.2rem;
    max-width: 90vw;
    padding: 0 4vw;
  }
  
  .start-ar-btn{
    width:180px;
    margin-top:-0.5rem; }
}

/* ────────────────────────────────────────────────
   Hide Unity’s default ALLOW ACCESS button if it slips through
────────────────────────────────────────────────── */
#startARButton { margin: 0; padding: 0; border: none; background: none; }
