body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#model-viewer-container {
    flex: 1;
    position: relative;
    width: 100%;
    height: 100%; /* Ensure the container takes up the full height */
}

#model-viewer {
    width: 100%;
    height: 80vh; /* Adjust the height to your preference */
}

#selection-bar {
  padding-left: 15px;
  padding-right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.model-thumbnail {
  transition: transform 0.2s ease, box-shadow 0.4s ease; /* Add a smooth transition effect */
  width: 70px;
  margin: auto;
  background-color: transparent;
}

.model-thumbnail:hover {
  transform: scale(1.3);
}




/* spinner */
.loader {
    position:absolute;
      width:50px;
      height:50px;
  
      animation:infinite-spinning 4s infinite;
      animation-timing-function:linear;
      transform-origin:335% 500%;
  }
  
  @keyframes infinite-spinning {
      from {
          transform:rotate(0deg);
      }
      to {
          transform:rotate(360deg);
      }
  }
  
  .moon {
    position: relative;
    align-items: center;
    width: 200px;
    height: 200px;
    background: #c7cbd0;
    border-radius: 50%;
    box-shadow: inset -25px 0px 0 0px #9098a1;
    transition: transform 0.2s ease-in-out;
  }
  
  .moon:hover {
    transform: scale(1.5);
  }
  
  li.spinner-li {
    position: absolute;
    list-style: none;
    background: #737277;
    border-radius: 50%;
  }
  li.spinner-li:nth-child(1) {
    left: 25px;
    top: 60px;
    width: 50px;
    height: 50px;
    
    box-shadow: inset 6px -2px 0 0px #414043;
  }
  li.spinner-li:nth-child(2) {
    left: 150px;
    top: 50px;
    width: 25px;
    height: 25px;
    box-shadow: inset 3px -1px 0 0px #414043;
  }
  
  li.spinner-li:nth-child(3) {
    left: 100px;
    top: 150px;
    width: 25px;
    height: 25px;
    box-shadow: inset 3px -1px 0 0px #414043;
  }
  
  li.spinner-li:nth-child(4) {
    left: 50px;
    top: 150px;
    width: 12.5px;
    height: 12.5px;
    box-shadow: inset 2.4px -0.8px 0 0px #414043;
  }
  
  li.spinner-li:nth-child(5) {
    left: 87.5px;
    top: 16.66666667px;
    width: 12.5px;
    height: 12.5px;
    box-shadow: inset 2.4px -0.8px 0 0px #414043;
  }
  
  li.spinner-li:nth-child(6) {
    left: 114.28571429px;
    top: 80px;
    width: 12.5px;
    height: 12.5px;
    box-shadow: inset 2.4px -0.8px 0 0px #414043;
  }
  
  li.spinner-li:nth-child(7) {
    left: 181.81818182px;
    top: 100px;
    width: 12.5px;
    height: 12.5px;
    box-shadow: inset 2.4px -0.8px 0 0px #414043;
  }