.controlArea {
  width: 60%;
  height: 60%;
  margin: 40% 15%;
  position: absolute;
}

.environment-background {
  background: #222;
  color: #EEF;
  height: 480px;
  margin-top: -15%;
  text-align: center;
  font-size: 96pt;
}

.environment {
  overflow: visible !important;
  perspective: 10000px;
  -webkit-perspective: 10000px;
  width: 280px;
  height: 280px;
  margin: 50px auto;
  margin-top: 15%;
}

.rotor {
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  position: absolute;
  width: 280px;
  height: 280px;
  transition: transform 0.8s;
}

.is-pointer-down .rotor {
  transition: none;
}

.rotor1 {
  transform: rotateX(-35deg);
  -webkit-transform: rotateX(-35deg);
}

.rotor2 {
  transform: rotateY(45deg);
  -webkit-transform: rotateY(45deg);
}

.letter {
  display: block;
  width: 280px;
  height: 280px;
  position: absolute;
  left: 0;
  top: 0;
  transform: translateZ(1000px);
  -webkit-transform: translateZ(1000px);
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  background-size: contain;
  opacity: 0.8;
}

.is-screen .letter {
  opacity: 1;
  mix-blend-mode: screen;
}

.letter-r {
  transform: translate3d(0px, 0px, -30px) rotateX(90deg);
  -webkit-transform: translate3d(0px, 0px, -30px) rotateX(90deg);
  background-image: url("/img/model-pieces/letter-r.png")
}

.letter-g {
  transform: translate3d(-75px, 20px, 50px) rotateY(-90deg) ;
  -webkit-transform: translate3d(-75px, 20px, 50px) rotateY(-90deg) ;
  background-image: url("/img/model-pieces/letter-g.png")
}

.letter-b {
  transform: translate3d(0px, -20px, 90px);
  -webkit-transform: translate3d(0px, -20px, 90px);
  background-image: url("/img/model-pieces/letter-b.png")
}

.eye {
  width: 30px;
  height: 30px;
  border-radius: 30px;
  background: #222;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  transform: translate3d(65px,115px,100px) scaleY(1);
  -webkit-transform: translate3d(65px,115px,100px) scaleY(1);
  transition: opacity 0.2s, transform 0.2s;
  -webkit-transition: opacity 0.2s, transform 0.2s;
}

.is-moving .eye {
  opacity: 0;
  transform: translate3d(65px,115px,100px) scaleY(0.01);
  -webkit-transform: translate3d(65px,115px,100px) scaleY(0.01);
}

@media screen and (max-width: 767px) {
  .environment {
    overflow: visible !important;
    perspective: 10000px;
    -webkit-perspective: 10000px;
    width: 280px;
    height: 280px;
    margin: 50px auto;
    margin-top: 15%;
    padding-left: 5%;
    zoom: 0.95;
    -moz-transform: scale(0.95);
    -webkit-transform: scale(0.95);
  }

  .eye {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    background: #222;
    position: absolute;
    left: 5%;
    top: 0;
    z-index: 2;
    transform: translate3d(65px,115px,100px) scaleY(1);
    -webkit-transform: translate3d(65px,115px,100px) scaleY(1);
    transition: opacity 0.2s, transform 0.2s;
    -webkit-transition: opacity 0.2s, transform 0.2s;
  }
}

