/*
 * Copyright 2019 Miguel Mosquera (unrealmitch@gmail.com)
 *
 * 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
 *
 *     https://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.
 */

html {
  background-color: rgb(255, 255, 255);
}

body {
  /* margin: 1em; */
  margin: 0;
  padding: 0;
  font-family: Google Sans, Noto, Roboto, Helvetica Neue, sans-serif;
  color: #244376;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0);
}

*:fullscreen, *:-webkit-full-screen, *:-moz-full-screen {
  background-color: rgb(255, 255, 255);
}

#container:fullscreen {
  background-color: rgb(255, 255, 255);
}
#container:-webkit-full-screen {
  background-color: rgb(255, 255, 255);
}
#container:-moz-full-screen {
  background-color: rgb(255, 255, 255);
}

::backdrop
{
    background-color: rgb(255, 255, 255);
}

#card {
  margin: 3em auto;
  display: flex;
  flex-direction: column;
  max-width: 600px;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

model-viewer {
  width: 100%;
  height: 100vh;
  /* min-width: 800px; */
}

.attribution {
  display: flex;
  flex-direction: row;
  margin: 1em;
}

.attribution h1 {
  margin: 0 0 0 0;
}

.btnQR {
  position: fixed;
  /* bottom: 0;
  left:0; */
  bottom: 40px;
  left: 80px;
}

.btn-open-ar {
  position: fixed;
  bottom: 0;
}

.btnFullScreen {
  position: fixed;
  right: 0;
  bottom: 0;
}

h2 {
  position: fixed;
  z-index: 1;
  width: 100%;
  /* margin: -5px 0 0 0; */
}

.attribution img {
  opacity: 0.5;
  height: 2em;
}

.attribution .cc {
  flex-shrink: 0;
  text-decoration: none;
}

footer {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: auto;
  text-align: center;
  font-style: italic;
  line-height: 0em;
}

.controls {
    position: fixed;
    bottom: 10px;
    right: auto;
    left: 50%;
    transform: translate(-50%, -50%);
}

.btn-ar {
  position: absolute;
  left: 50%;
  z-index: 3;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  padding-right: 0.9rem;
  padding-left: 0.9rem;
  background-color: #545fd9;
  box-shadow: none;
  -webkit-transform: translate(-50%, 0px);
  -ms-transform: translate(-50%, 0px);
  transform: translate(-50%, 0px);
  color: #fff;
  line-height: 3rem;
  text-decoration: none;
  cursor: pointer;
  font-family: Roboto, sans-serif;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  font-size: 16px;
  padding: 0px 15px;
  border-radius: 0.4rem;
}

.btn-ar-phone {
  position: absolute;
  /* margin-left: -50px; */
  bottom: 15%;
  left: 50%;
  /* background-color: #d95454; */
}

.Component-arButton-0-2-8 {
  left: 0;
  right: 0;
  border: none;
  top: 16px;
  display: flex;
  padding: 12px 18px;
  position: absolute;
  font-size: 18px;
  box-shadow: 3px 3px 15px 0px rgb(0 0 0 / 16%);
  margin-left: auto;
  margin-right: auto;
  border-radius: 40px;
  justify-content: center;
  background-color: white;
  appearance: auto;
  text-rendering: auto;
  color: -internal-light-dark(black, white);
  letter-spacing: normal;
  word-spacing: normal;
  text-transform: none;
  text-indent: 0px;
  text-shadow: none;
  text-align: center;
  align-items: flex-start;
  cursor: default;
  box-sizing: border-box;
  margin: 0em;
  font: 400 13.3333px Arial;
  pointer-events: initial;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-font-smoothing: antialiased;
}

.qr-code-container {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-code-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.qr-code {
  position: relative;
  box-sizing: border-box;
  width: 248px;
  max-width: calc(100% - 20px);
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 0 20px 0 #00000040;
  padding: 32px;
  font-family: 'Inter', sans-serif;
}

.qr-code__title,
.qr-code__subtitle {
  text-align: center;
  color: #252525;
}

.qr-code__title {
  font-weight: bold;
  font-size: 18px;
}

.qr-code__subtitle {
  font-size: 11px;
}

.qr-code__close-button {
  -webkit-appearance: none;
      -moz-appearance: none;
          appearance: none;
  background: #efefef;
  outline: none;
  border: none;
  color: #252525;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  font-family: inherit;
  border-radius: 4px;
  padding: 5px;
  transition: color .1s, background-color .1s;
}

.qr-code__close-button:hover,
.qr-code__close-button:active {
  background: #595959;
  color: #f7f7f7;
}

.qr-code__image-aspect-box {
  position: relative;
  padding-top: 100%;
}

.qr-code__image {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.songplayer{
  position: fixed;
  bottom: 50px;
  right: auto;
  left: 8px;
  transform: translate(0%, -50%);
}

#title{
  text-align: center;
  /* z-index: -1; */
}