.background, .white-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    position: absolute
}

#Cocos3dGameContainer, #lottie, .background, .white-background {
    position: absolute
}

.background {
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover
}

.white-background {
    background: #fff;
    transition: opacity .5s
}

#lottie {
    width: 25%;
    height: 25%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
}

#pre-loading {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    z-index: 9999;
  }
  
  .ring {
    width: 140px;
    height: 140px;
    border: 0 solid white;
    border-radius: 50%;
    position: absolute;
    box-shadow: 0 4px 0 #262626;
    background: transparent;
    animation: rotate 1s linear infinite;
  }
  
  .ring2 {
    width: 100px;
    height: 100px;
    border: 0 solid white;
    border-radius: 50%;
    position: absolute;
    box-shadow: 0 2px 0 #262626;
    background: transparent;
    animation: rotate2 0.75s linear infinite;
  }
  
  #pre-loading .text {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    color: #262626;
    position: absolute;
    text-align: center;
    line-height: 100px;
    background: transparent;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
  
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  @-webkit-keyframes rotate {
    0% {
      transform: rotate(0);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  @-webkit-keyframes rotate2 {
    0% {
      transform: rotate(360deg);
    }
    100% {
      transform: rotate(0deg);
    }
  }
  
  @-moz-keyframes rotate {
    0% {
      transform: rotate(0);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  @-moz-keyframes rotate2 {
    0% {
      transform: rotate(360deg);
    }
    100% {
      transform: rotate(0deg);
    }
  }
  
  @keyframes rotate {
    0% {
      transform: rotate(0);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  @keyframes rotate2 {
    0% {
      transform: rotate(360deg);
    }
    100% {
      transform: rotate(0deg);
    }
  }