
* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
    margin: 0px;
    overflow: hidden;
    height: 100vh;
}

#v3d-container {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

.fullscreen-button {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    background-size: 100% 100%;
    display: none;
    z-index: 1;
}

.fullscreen-open {
    background-image: url('/code/media/fullscreen_open.svg');
}

.fullscreen-close {
    background-image: url('/code/media/fullscreen_close.svg');
}

/* removes tap blinking on ios devices */
* { -webkit-tap-highlight-color:rgba(0,0,0,0); }

/* 加载器 */
.preloader-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:linear-gradient(#abe3fd, #055d86);
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.preloader-container img {
  height: 150px;
  user-select: none;
  object-fit: cover;
}

.preloader-bar-container {
  height: 5px;
  width: 200px;
  background-color: #fff;
  border-radius: 5px;
  margin-top: 10px;
}

.preloader-bar {
  position: relative;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  border-radius: 5px;
  background-color: #f1c40f;
}
.preloader-percent {
  color: #fff;
  font-size: 1.5rem;
  margin-top: 20px;
  user-select: none;
}

/* 拾色器 */
.pickr-div {
  position: absolute;
  bottom: 0rem;
  left: 0;
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  background: #363636;
  border-bottom: 1px solid #9c9c9c;
}

.pickr-div > p {
  color: #fff;
  font-size: 1.5rem;
  line-height: 3rem;
  user-select: none;
}

#source_code {
  position: absolute;
  right: 10px;
  bottom: 10px;
  text-decoration: none;
  color: white;
}
