html, body {
  overflow-x: hidden;
}
body {
  position: relative;
}

body {
    margin:0;     /* This is used to reset any browser-default margins */
    height:100vh; /* This is needed to overcome a Chrome bug. */
    width:100vw;  /* As above. */
    background-color: white;
}

#player {
    height:100vh;
    width:100vw;
}

model-viewer {
  width:100%;
  height:100%;
  background-color: #ffffff;
  position: absolute;
  left: 0px;
  top: 0px;
  --poster-color: transparent;
  --progress-bar-color: #00a2ff;
  --progress-mask: #ffffff;
  --progress-bar-height: 4px;
}

#fullscreenBtn{
  --z-index: 1;
  opacity:0.8;
  position: absolute;
  bottom: 5px;
  right: 5px;
}

/* This keeps child nodes hidden while the element loads, except the poster */
:not(:defined) > :not(.poster) {
  display: none;
}

.prompt-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 100%;
}

.centered-layer {
    box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  width:100%;
  height:100%;
  position: absolute;
  left: 0px;
  top: 0px;
  opacity: 1;
  --transition: opacity 1s 1s;
  --border: 3px solid red;
}

.centered-bottom-layer {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  --vertical-align: bottom;
  width:100%;
  height:100%;
  position: absolute;
  left: 0px;
  top: 0px;
  opacity: 1;
  padding: 10px;
  --transition: opacity 1s 1s;
  --border: 3px solid red;
}

.primary-button-icon {
    color: #ffffffff;
}

#instructions {
    height:100vh;
    width:100vw;
    z-index: 5;
}

#my-container {
  background: #fff;
  height: 100vh;
  width: 100%;
   z-index: 5;
}


.cta-banner-container {
  position: absolute;
  bottom: 20px;
  width: 100vw;
  height: 81px;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.cta-banner-container.hide {
  --display: none;
  --visibility: hidden;
  opacity:0.5;
}

.cta-banner {
  background-color: black;
  width: 90vw;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 15px;
  padding: 0 15px;
}

.cta-banner-button {
  height: 65px;
  width: 65px;
  border-radius: 50%;
  border: none;
  outline: none;
}

.cta-banner-labels {
  font-size: small;
  line-height: 10px;
}


.flex-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  align-content: normal;
}

.flex-items:nth-child(1) {
  display: block;
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  order: 0;
}

.flex-items:nth-child(2) {
  display: block;
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  order: 0;
}

.dimmer {
  box-sizing: border-box;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background-color: rgba(255, 255, 255, 0.8);
}

.dimmerCloser {
  box-sizing: border-box;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0);
}

.centerModal {
  box-sizing: border-box;
  background-color: white;
  width: 90%;
  max-width: 400px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.content-box {
  box-sizing: border-box;
  padding: 15px;
  border-color: rgb(0, 0, 0, 0.05);
  border-style: solid;
  border-width: 2px;
  border-radius: 20px;
}

.dimmerCloseBtnContainer {
  opacity: 0.8;
  position: absolute;
  top: 3px;
  right: 0px;
}
