:root{
    size: 16px;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serifs;
}

body, html {
    margin: 0;
    /* overflow: hidden;
    height: 100%; */
    /* center the spotlight vertically (50%), keep brighter inner spot and wider radius */
    background: #000000;
}

/* AR SET UP */

/* For regular HTML Tags to appear around the page, the a-scene tag was set to embed */
#ar-scene-container {
    width: 100%;
    height: 700px;
    display: block;
    margin: 0;
    padding: 0;
}

/* Applying the Gradient on the A-Frame Canvas for Temporary Measure */
canvas {
    background: radial-gradient(circle at 50% 50%, #4a4a4a 0%, #272727 30%, #000 72%) fixed;
    height: 100%;
}

/* hide default A-Frame enter-vr button (we use a custom button) */
.a-enter-vr-button {
    display: none !important;
}

/* custom AR Entry button: white fill, black text, bottom-center */
#enter-ar, #quicklookButton {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(127,127,127,0.25);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.25);
    padding: 16px 24px;
    border-radius: 4px;
    font-size: 16px;
    z-index: 10000;
    cursor: pointer;
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.25); */
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
}
#myEnterVRButton:hover{
    background: #0000ff;
    color: #ffffff;
}

/* custom AR Exit button: white fill, black text, top-right */
#exit-ar {
    position: absolute;
    font-size: 16px;
    right: 40px;
    top: 40px;
    background: #ffffff;
    color: #000000;
    border: 1px solid rgba(255,255,255,0.25);
    padding: 8px 12px;
    font-weight: bold;
    pointer-events: auto;
}

/* AR SET UP END */

h1 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2rem;
    text-align: center;
    margin: 20px 0px;
    color: #ffffff;
}

#overlay {
    position: absolute;
    pointer-events: none; /* allow AR overlay clicks to pass through unless elements set pointer-events */
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10001;
}

/* DOM overlay message shown while scanning for surfaces */
.ar-overlay-message {
    pointer-events: auto;
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 6px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    text-align: center;
    z-index: 10002;
}