/*
* Date:     01/01/2021 
* Name:     © MIXER3D
* github:   github.com/maxcccp
* Module:   All css style for mixer3d.
*/



body { margin: 0;background-color: #cce0ff;color: #000; }

canvas { display: block; }



#loading {
  background-image: url(../screensaver.jpg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;

  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: xx-large;
  font-family: sans-serif;
  text-shadow: 1px 1px 2px pink;
  color: brown;
}
#loading>div>div {
  padding: 2px;
}
.progress {
  width: 50vw;
  border: 2px solid rgb(247, 247, 247);
}
#progressbar {
  width: 0;
  transition: width ease-out .5s;
  height: 1em;
  background-color: rgb(233, 15, 15);
  background-image: linear-gradient(
    -45deg, 
    rgba(255, 255, 255, .5) 25%, 
    transparent 25%, 
    transparent 50%, 
    rgba(255, 255, 255, .5) 50%, 
    rgba(255, 255, 255, .5) 75%, 
    transparent 75%, 
    transparent
  );
  background-size: 50px 50px;
  animation: progressanim 10s linear infinite;
}
 
@keyframes progressanim {
  0% {
    background-position: 50px 50px;
  }
  100% {
    background-position: 0 0;
  }
}



/* Note: Button screenshot renderer canvas*/
#screenshot {
  position: absolute;
  left: 1px;
  top: 60px;
  padding: 10px;
  background: rgba(0,0,0,0.9);
  color: white;
  border: 1px solid gray;
  cursor: pointer;
}
#screenshot:hover {
  background: #444;
}
#screenshot:focus {
  outline: none;
}