.model-3d-container {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: radial-gradient(#393a3c, black);
  background-repeat: no-repeat;
  overflow: hidden;
}
.webgl {
  cursor: grab;
}
.loader {
  width: 100%;
  height: 100%;
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: Whitesmoke;
}
#progress-ring {
  --size: 100px;
  --indicator-color: Dodgerblue;
  --track-color: Grey;
  --indicator-transition-duration: 0;
  font-weight: bold;
  font-size: 18px;
}
.model-controls {
  position: absolute;
  width: 100%;
  top: -120px;
  & p {
    color: Whitesmoke;
  }
}
.toggle-container {
  width: 50px;
  height: 50px;
  transition: 0.4s;
  -webkit-user-select: none;
  user-select: none;
}
.toggle-container input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle {
  width: 50px;
  height: 50px;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #171819;
  border: 1px solid Whitesmoke;
  cursor: pointer;
  border-radius: 50%;
  transition: 0.4s;
  -webkit-user-select: none;
  user-select: none;
}
.toggle i {
  color: Whitesmoke;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
.toggle[disabled] {
  cursor: not-allowed;
  opacity: 0.4;
}
.toggle-checkbox:checked + .toggle {
  border-color: Dodgerblue;
  box-shadow: 0px 0px 18px Dodgerblue;
}
.toggle-checkbox:checked + .toggle i {
  color: Dodgerblue;
}
.controls-btn {
  width: 50px;
  height: 50px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #171819;
  border: 1px solid Whitesmoke;
  border-radius: 50%;
  transition: 0.4s;
  & i {
    color: Whitesmoke;
  }
}
.layer-selection-container {
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  bottom: -160px;
}
.layer-selection {
  background-color: transparent;
  border: 3px solid Whitesmoke;
  border-radius: 50%;
  padding: 0;
  transition: 0.4s;
}
.semi-circle-left {
  width: 20px;
  height: 40px;
  display: inline-block;
  border-radius: 40px 0px 0px 40px;
  background-repeat: no-repeat;
  background-size: cover;
  transform-origin: 100% 50%;
  rotate: 35deg;
}
.semi-circle-right {
  width: 20px;
  height: 40px;
  display: inline-block;
  border-radius: 0px 40px 40px 0;
  background-repeat: no-repeat;
  background-size: cover;
  transform-origin: 0% 50%;
  rotate: 35deg;
}
.layer-selected {
  border-color: Dodgerblue;
}
.skin-texture {
  background-image: url("https://assets.codepen.io/9400490/skin_texture.jpg");
  background-size: 100px;
  background-position: left;
}
.muscle-texture {
  background-image: url("https://assets.codepen.io/9400490/muscle_texture.jpg");
  background-size: 100px;
}
.veins-texture {
  background-image: url("https://assets.codepen.io/9400490/veins_texture.jpg");
  background-size: 100px;
  background-position: 60% 20%;
}
.bone-texture {
  background-image: url("https://assets.codepen.io/9400490/bone_texture.jpg");
  background-size: 100px;
}
.organ-texture {
  background-image: url("https://assets.codepen.io/9400490/organ_texture.jpg");
  background-size: 40px;
}
@media (hover: hover) {
  .controls-btn:hover {
    scale: 1.12;
  }
  .toggle:hover {
    scale: 1.12;
  }
}