#pack-viewer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
}

#element-configurator {
  position: relative;
  display: flex;
  flex: 1;
  overflow: hidden;
  outline: none;
  background-color: var(--secondary-color);
}

#product-title {
  position: absolute;
  top: 0;
  left: 0;
  padding: var(--margin-5);
  font-size: 2rem;
  font-weight: 600;
}

#top-menu-overlay {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  justify-content: flex-end;
  gap: var(--margin-3);
  padding: var(--margin-5);
}

/*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;
}

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

/* 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;
}
