
body {
    background-color: #ddd;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  
  }
  
  .scene {
    -webkit-transform-style: preserve-3d;
      -moz-transform-style: preserve-3d;
      -ms-transform-style: preserve-3d;
      -o-transform-style: preserve-3d;
      transform-style: preserve-3d;
    cursor: pointer;
    position: fixed;
    perspective: 1500px;
  }
  
  .box {
    position: relative;
    transform-style: preserve-3d;
    transform: translateZ(0px);
  }
  
  .viewelement{
    position: absolute;
    pointer-events:none;
  }
  
  #view_container {
    background-image: url("https://resources.es4a.com/images/360.jpg");
    background-size: 133.3% 400%;
    background-position: center;
    background-repeat: repeat-x;
    background-position-X: 50%;
    background-position-y: 50%;
    width: 100%;
    height: 700px;
    border: 8px solid #000;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  
  .content {
    display: flex;
    justify-content: center;
    align-items: center;
    width:100%;
    height:100%;
  }
  .loader-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #242f3f;
    display:flex;
    justify-content: center;
    align-items: center;
    align-content: center;
  }
  .loader {
    display: inline-block;
    width: 30px;
    height: 30px;
    position: relative;
    border: 4px solid #Fff;
    animation: loader 2s infinite ease;
  }
  .loader-inner {
    vertical-align: top;
    display: inline-block;
    width: 100%;
    background-color: #fff;
    animation: loader-inner 2s infinite ease-in;
  }
  @keyframes loader {
    0% { transform: rotate(0deg);}
    25% { transform: rotate(180deg);}
    50% { transform: rotate(180deg);}
    75% { transform: rotate(360deg);}
    100% { transform: rotate(360deg);}
  }
  @keyframes loader-inner {
    0% { height: 0%;}
    25% { height: 0%;}
    50% { height: 100%;}
    75% { height: 100%;}
    100% { height: 0%;}
  }
  .loading {
    position: relative;
    display: flex;
    animation-delay: 1s;
    align-content: center;
    transform: translateX(-4em);
  
  }
  
  .loading .dot {
    position: relative;
    width: 2em;
    height: 2em;
    margin: 0.8em;
    border-radius: 25%;
  }
  
  .loading .dot::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    animation: wave 2s ease-out infinite;
  }
  
  .loading .dot:nth-child(1) {
    background: lightblue;
  }
  
  .loading .dot:nth-child(1)::before {
    animation-delay: 0.2s;
  }
  
  .loading .dot:nth-child(2) {
    background: red;
  }
  
  .loading .dot:nth-child(2)::before {
    animation-delay: 0.6s;
  }
  
  .loading .dot:nth-child(3) {
    background: orange;
  }
  
  .loading .dot:nth-child(3)::before {
    animation-delay: 1s;
  }
  
  .loading .dot:nth-child(4) {
    background: yellow;
  }
  
  .loading .dot:nth-child(4)::before {
    animation-delay: 0.4s;
  }
  
  .loading .dot:nth-child(5) {
    background: lightgreen;
  }
  
  .loading .dot:nth-child(5)::before {
    animation-delay: 0.8s;
  }
  
  @keyframes wave {
    50%, 75% {
      transform: scale(2.5);
    }
  
    80%, 100% {
      opacity: 0;
    }
  }
  