body { padding: 0; margin: 0; overflow: hidden; }
#unity-container { position: fixed; width: 100%; height: 100%; }
#unity-canvas { width: 100%; height: 100%; background: #23EBC1 }
#unity-loading-bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none }
#unity-logo { width: 154px; height: 130px; background: url('logo.png') no-repeat center }
#unity-progress-bar-empty { margin-left: auto; margin-right: auto; width: 141px; height: 18px; margin-top: 10px; background: url('progress-bar-empty-dark.png') no-repeat center }
#unity-progress-bar-full { width: 0%; height: 18px; margin-top: 10px; background: url('progress-bar-full-dark.png') no-repeat center }
#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }

/*
 * DONT FORMAT THE
 * ---------------------------------------------------------
 */

/*
 * These two properties are kept as for the convenience
 * of having the colors ready to use at any time (if needed)
 */
@font-face {
    font-family: 'Montserrat';
    src: url('Montserrat-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@property --jad-red {
    syntax: '<color>';
    inherits: false;
    initial-value: #f76178;
}

@property --jad-blue {
    syntax: '<color>';
    inherits: false;
    initial-value: #38469f;
}

/*
   * You can change the colors of the gradients here
   * If you don't want to use gradient, simply remove 
   * the class from the html elements
   */
@property --customer-primary {
    syntax: '<color>';
    inherits: false;
    initial-value: #f76178;
}

@property --customer-secondary {
    syntax: '<color>';
    inherits: false;
    initial-value: #38469f;
}

@property --default-bg {
    syntax: '<color>';
    inherits: false;
    initial-value: #eaeaea;
}

:root {
    font-family: 'Montserrat', system-ui, Avenir, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    font-weight: 400;
    text-transform: uppercase;

    color-scheme: light dark;
    color: rgba(255, 255, 255, 0.87);
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    font-weight: 500;
    color: white;
    text-decoration: none;
    background-color: #fe1eab;
    padding: 3px;
}

a:hover {
    color: white;
}

body {
    margin: 0;
    display: flex;
    min-width: 320px;
    min-height: 100vh;
    font-size: 1em !important;
    hyphens: auto;
    background-color: #ffa53b;
}

/* Mobile: change background color */
@media (max-width: 768px) {
    body {
        background-color: #23EBC1;
    }
}

h1 {
    font-size: 3.2em;
    line-height: 1.1;
}

#app {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.logo {
    height: 4em;
    margin-top: 5px;
    /* padding: 1.5em; */
    display: none;
}

.logo:hover {
    filter: drop-shadow(0 0 2em #646cffaa);
}

.logo.vanilla:hover {
    filter: drop-shadow(0 0 2em #f7df1eaa);
}

button {
    height: 50px !important;
    border-radius: 8px;
    border: 1px solid transparent;
    padding: 0.6em 1.2em;
    font-size: 1em !important;
    font-weight: 500;
    font-family: inherit;
    background-color: #1a1a1a;
    cursor: pointer;
    transition: border-color 0.25s;
}

button:hover {
    border-color: #646cff;
}

button:focus,
button:focus-visible {
    outline: 4px auto -webkit-focus-ring-color;
}

#accept-window-text {
    margin: 0;
    text-align: justify;
    color: white;
}

.small-logo {
    max-height: 2em;
    justify-content: center;
    padding-top: 0.5em;
    padding-left: 9px;
}

.footer-note {
    color: #0e0f2e;
    display: flex;
    margin-left: 45%;

    position: absolute;
    bottom: 0;
    left: 0;
    /* width: 33%; */
    padding-bottom: 1vh;
}

.accept-button {
    background-color: #fce531;
    border-radius: 0;
    color: #404245;
    text-transform: uppercase;
}

#startARButton {
    background-color: #fce43100;
    border-radius: 0;
    color: white;
    border-width: 5px;
    border-color: white;
    font-weight: bold;
}

.accept-window {
    /* background: var(--background-color-info); */
    box-sizing: border-box;

    display: flex;

    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 80%;
    aspect-ratio: 1/1;
    position: absolute;

    z-index: 9000;
    top: 50%;
    left: 50%;
    padding: 25px;
    gap: 8%;

    transform: translate(-50%, -50%);

    max-width: 350px;
    max-height: 500px;
}

.gradient {
    background-color: var(--default-bg);
}

#overlay {
  position: fixed; /* Sit on top of the page content */
  display: none; /* Hidden by default */
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  text-align: center;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,1); /* Black background with opacity */
  z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
  cursor: pointer; /* Add a pointer on hover */
}

#overlay-text{
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 50px;
  color: white;
  transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
}

/* Camera Permission Banner */
.camera-permission-banner {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    background-color: #ff6b6b;
    color: white;
    padding: 15px 20px;
    font-size: max(14px, 1.2vw);
    font-weight: 500;
    text-align: center;
    z-index: 8000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}

.camera-permission-banner p {
    margin: 0;
    padding: 0;
    text-align: center;
    max-width: 100%;
}

.camera-permission-banner.show {
    display: flex;
}

.camera-permission-banner.hidden {
    display: none !important;
}

/* Desktop: add left/right margins for wider screens */
@media (min-width: 769px) {
    .camera-permission-banner {
        left: 50%;
        right: auto;
        width: 90%;
        max-width: 900px;
        transform: translateX(-50%);
        border-radius: 0 0 8px 8px;
    }
}

/* Mobile: full width */
@media (max-width: 768px) {
    .camera-permission-banner {
        left: 0;
        right: 0;
        width: 100%;
        transform: none;
        padding: 12px 15px;
        font-size: 14px;
    }
}

/*@media screen and (orientation:portrait) { … }
@media screen and (orientation:landscape) { … }*/
