@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');


html,  body {
    font-family: "Manrope", sans-serif;
}

* {
    box-sizing: border-box;
}

/* Оверлей приветствия */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    z-index: 9999;
    color: #fff;
    padding-right: 20px;
    padding-left: 20px;
    padding-top: 50px;
  }
  #overlay h1 {
    color: white;
    margin-bottom: 20px;
  }
  #overlay button {
    font-size: 1.2rem;
    padding: 10px 20px;
    cursor: pointer;
  }

  .factory-png {
    height: 250px;
  }

  /* Оверлей при пропаже метки */
  #lostOverlay {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 10px;
    box-sizing: border-box;
    z-index: 9999;
    color: white;
  }
  #lostOverlay p {
    margin: 0;
    flex-grow: 1;
    text-align: center;
  }
  #lostOverlay button {
    margin-left: 10px;
    padding: 6px 12px;
    font-size: 1rem;
    cursor: pointer;
  }
  .button {
    background-color: #b31b34;
    padding: 4px 8px;
    color: #fff;
    border-radius: 0px;
  }

  /* Скрываем встроенный AR.js-лоадер (если не нужен) */
  .arjs-loader {
    display: none !important;
  }

  /* Спиннер */
  .spinner {
    border: 8px solid rgba(255, 255, 255, 0.3);
    border-top: 8px solid #b31b34;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin: 20px 0;
  }

  button {
    outline: none;
    border: none;
  }

  #overlay > p {
    font-size: 18px;
  }

  /* Анимация кручения */
  @keyframes spin {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }

  .logo {
    height: 50px;
    width: auto;
  }

.debugPanelAR {
    position: absolute;
    bottom: 100px;
    left: 20px;
    z-index: 1000;
}

.skipBtn {
    padding: 0.5em 1em;
}

/* div.a-enter-ar, */
.a-enter-vr, .a-enter-vr-button {
    visibility: hidden!important;
    display: none!important;
}