/*
 * Copyright 2017 Google Inc. All Rights Reserved.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

body {
    font-family: monospace;
    margin: 0;
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100vh;
    -webkit-user-select: none;
    user-select: none;
    background-color: rgb(69, 90, 100);
}

div.demo-card {
    width: 80vw;
    margin: 20px auto;
    padding: 16px;
}

#unsupported-info {
    display: none;
}

body.unsupported #unsupported-info {
    display: block;
}

#info {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, 0);
    margin: 1em 1em 2em 1em;
    z-index: 10;
    display: block;
    line-height: 2em;
    text-align: center;
    display: none;
    width: 100%;
}

body.ar #info {
    display: block;
}

#info * {
    color: #fff;
}

#info span {
    background-color: rgba(40, 40, 40, 0.4);
    padding: 0.4em 0.6em;
    width: 80vw;
    border-radius: 0.1em;
}

#wrong-hosting-root {
    display: none;
}
