* { box-sizing: border-box; }

body { font-family: sans-serif; }

.scene {
  margin: 80px 0;
  position: relative;
  width: 420px;
  height: 280px;
  margin: 80px auto;
  perspective: 2000px;
}

.carousel.d3d {
  width: 100%;
  height: 100%;
  position: absolute;
  transform: translateZ(-576px);
  transform-style: preserve-3d;
  transition: transform 1s;
}

.carousel__cell {
  position: absolute;
  width: 380px;
  height: 240px;
  left: 20px;
  top: 20px;
  color: white;
  text-align: center;
}


  @media only screen and (max-width: 480px) {

    .scene {
      width: 320px;
    }
    .carousel__cell {
      position: absolute;
      width: 280px;
      height: 290px;
      top: -30px;
    }
  }

.review {
  cursor: pointer;
  transition: all 0.14s; 
  transform: scale(1);
  border: 1px solid rgba(0,0,0,0.1);
  position: absolute; width: 100%; height: 70%; right: 0; top: 10%; background-color: green; border-radius: 5px;
  background: rgb(224,224,224);
background: -moz-linear-gradient(171deg, rgba(224,224,224,1) 0%, rgba(185,185,185,1) 100%);
background: -webkit-linear-gradient(171deg, rgba(224,224,224,1) 0%, rgba(185,185,185,1) 100%);
background: linear-gradient(171deg, rgba(224,224,224,1) 0%, rgba(185,185,185,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#e0e0e0",endColorstr="#b9b9b9",GradientType=1);
}

.review:hover {
  transform: scale(1.05);
}

.review:active {
  transform: scale(1.025);
}

.reviewer-logo {
  width: 50px;
  height: 50px;
  border-radius: 25px;
}


  .reviewer-logo.geremy {
    background-image: url(media/reviewer-geremy-logo.png);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .reviewer-logo.ghazi {
    background-image: url(media/reviewer-ghazi-logo.png);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
  }


  .reviewer-logo.vahab {
    background-image: url(media/reviewer-vahab-logo.png);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 0px !important;
  }

  .reviewer-logo.shannon {
    background-image: url(media/reviewer-shannon-logo.png);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 0px !important;
  }

  .reviewer-logo.zouheir {
    background-image: url(media/reviewer-zouheir-logo.png);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
  }

.stars-5 {
  width: 50%;
  height: 40px;
  background-image: url(media/5-stars.png);
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
}

/*0.6*/
.carousel__cell:nth-child(1) { transform: rotateY(  0deg) translateZ(576px); }
.carousel__cell:nth-child(2) { transform: rotateY( 72deg) translateZ(576px); }
.carousel__cell:nth-child(3) { transform: rotateY( 144deg) translateZ(576px); }
.carousel__cell:nth-child(4) { transform: rotateY( 216deg) translateZ(576px); }
.carousel__cell:nth-child(5) { transform: rotateY( 288deg) translateZ(576px); }
