body {
  margin: 0;
  padding: 0;
  font-family: Google Sans, Noto, Roboto, Helvetica Neue, sans-serif;
  color: #000000ff;
  height: 100%;
  min-height: 100vh;
}

.wrapper {
  display: grid;
  place-items: center;
  place-content: center;
  width: 100%;
  height: 100%;
  min-height: 100vh;
}

#card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 320px;
  max-width: 600px;
  aspect-ratio: 1 / 1;
  border-radius: 0px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

model-viewer {
  width: 100%;
  height: 600px;
  background-color: #dcdcdc;
  --poster-color: #ffffff00;
}

.embedded {
  width: 100%;
  height: 100%;
}

#embed {
  width: 100vw;
  height: 100vh;
  min-width: 100vw;
  min-height: 100vh;
}

.attribution {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 1em;
}

.attribution .qr {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

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

.attribution h2 {
  font-size: 1.25em;
  font-weight: 400;
  margin: 0 0.5em;
}

.attribution img {
  opacity: 1;
  height: 5em;
}

.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: 1.5em;
}

@media screen and (max-width: 767px) and (orientation: portrait) and (pointer: coarse), 
screen and (max-width: 926px) and (orientation: landscape) and (pointer: coarse) {
  .hidden-mobile {
    display: none !important;
  }
}

@media screen and (min-width: 1024px) and (pointer: fine){
  #card {
    width: 600px;
  }  
} 

@media screen and (min-width: 768px) and (pointer: coarse){
  #card {
    width: 70vw;
  }  
} 