#element-configurator {
  background-color: rgb(247, 248, 251);
  color: rgb(25, 26, 36);
  flex-direction: column;
  display: flex;
  height: 100vh;
}

c3d-main-three {
  width: 100%;
  flex: 1;
}

/* #element-configurator > div > img {
  height: 85vh;
  max-width: 100%;
  vertical-align: middle;
  display: inline-block;
} */

#element-configurator > #top-menu-overlay {
  position: absolute;
  right: var(--margin-3);
  top: var(--margin-3);
  display: flex;
  gap: var(--margin-1);
}

#element-configurator > #top-menu-overlay > div.hide {
  display: none;
}

#bg-3d {
  background-position: 0% 100%;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  left: 0;
  width: 20%;
  padding-bottom: 20%;
  bottom: 0;
  margin: var(--margin-5);
  pointer-events: none;
  max-width: 15rem;
}

/* info msg */
#info-msg {
  position: absolute;
  bottom: 0;
  z-index: 1;
  width: 50%;
  padding-bottom: var(--margin-5);
  margin-left: 25%;
  text-align: center;
  pointer-events: none;
}

/* powered logo */
#powered-logo {
  position: absolute;
  right: 0;
  width: 20%;
  padding-bottom: 20%;
  bottom: 0;
  margin: var(--margin-5);
  pointer-events: none;
  max-width: 7.5rem;
  background-size: contain;
  background-position: 0% 100%;
  background-repeat: no-repeat;
  z-index: 4;
}

/* --- */

/* :host {
  display: flex;
  overflow: hidden;
  outline: none;
} */

canvas {
  width: 100%;
  flex: 1 1 auto;
  outline: none;
}

/*Drag to interact*/
@keyframes changewidth {
  from {
    transform: translate(-10%);
  }
  to {
    transform: translate(10%);
  }
}

#drag-to-interact {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  --c3d-icon-color: var(--primary-color);
  animation-duration: 2s;
  animation-name: changewidth;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: ease-in-out;
  pointer-events: none;
}

/* #drag-trigger {
  top: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
} */

/* --- */

@media screen and /*(max-width: 479px) */ (orientation: portrait) {
  #element-configurator {
    background-color: rgb(247, 248, 251);
    box-sizing: border-box;
    color: rgb(25, 26, 36);
    display: flex;
    height: 50vh;
    justify-content: center;
    line-height: 20px;
    position: relative;
    text-size-adjust: 100%;
    width: 100%;
    -webkit-box-align: center;
    -webkit-box-direction: reverse;
    -webkit-box-pack: center;
  }

  /* #element-configurator > div > img {
    height: 300px;
  } */
}
