.model-container {
  margin: 0;
  padding: 0;
  justify-content: center;
  align-items: center;
  border: 1px solid #ddd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  background: #3B3B3B;
}

.model-container:fullscreen {
  border: 0;
  box-shadow: 0;
  border-radius: 0;
}

.mv-preview {
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  width: 100%;
}

@keyframes pulsate {
  0% {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: rgba(255, 255, 255, 0.3);
  }

  50% {
    background-color: rgba(255, 255, 255, 0.4);
    box-shadow: rgba(255, 255, 255, 0.5);
  }

  100% {
    background-color: rgba(255, 255, 255, 0.6);
    box-shadow: rgba(255, 255, 255, 0.7);
  }
}

.mv-preview-action {
  position: absolute;
  top: 50%;
  bottom: 0;
  left: 0;
  right: 0;
  width: 125px;
  height: 125px;
  margin: auto;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transition: 0.5s all;
  text-align: center;
  line-height: 100px;

  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulsate 1300ms infinite alternate;
}

.mv-preview-action img {
  width: 110px;
  vertical-align: middle;
}

.mv-preview-action:hover {
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: rgba(255, 255, 255, 0.9);
  animation: none;
}

.model-viewer {
  cursor: pointer;
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 10px;
}

.model-container:fullscreen {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.model-container:fullscreen .model-viewer {
  border: none !important;
  max-width: 100%;
  max-height: 100%;
}

.zoom-container {
  cursor: move;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
}

.button-container {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 100;
}

.mv-action {
  display: inline-block;
  padding: 12px;
  background-color: rgba(0, 0, 0, 0.25);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.mv-action:hover {
  background-color: rgba(0, 0, 0, 0.40);
}

.mv-action-selected {
  background-color: rgba(0, 0, 0, 0.5);
}

.mv-action-selected:hover {
  background-color: rgba(0, 0, 0, 0.75);
}

.mv-action img {
  width: 50px;
}

.spritespin {
  width: 100%;
  min-height: 200px;
}

.spritespin-progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 80%;
  left: 10%;
  bottom: 40%;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

.spritespin-progress-bar {
  background-color: #0F4C81;
  height: 5px;
  width: 100%;
  border-radius: 2.5px;
  /* Half of the height for semi-circle ends */
  margin-bottom: 10px;
}

.spritespin-progress-label {
  color: #333333;
  font-size: 14px;
  font-weight: bold;
}

.hidden {
  display: none !important;
  visibility: hidden !important;
}

/* Media query for tablets */
@media only screen and (max-width: 768px) {
  .mv-preview-action {
    top: 25%;
    width: 100px;
    height: 100px;
  }

  .mv-preview-action img {
    width: 85px;
  }
}

/* Media query for mobile devices */
@media only screen and (max-width: 480px) {
  .mv-preview-action {
    top: 0;
    width: 75px;
    height: 75px;
  }

  .mv-preview-action img {
    width: 60px;
  }
}