  /*Basic Phone styling*/
  .phone-section{
	  text-align: center;
	  margin-top: -100px;
  }
  
  #phone-wrapper{
	 text-align: left;
	 padding: 15px;
  }
  
  .phone.view_3 img{
	  position: absolute;
	  width: 90%;
	  height: auto;
	  margin: auto;
	  top: 0;
	  bottom: 0;
	  left:0;
	  right: 0;
  }
  
  .phone {
    margin: 0;
    overflow: hidden;
    transition: transform 0.5s ease;
/*	width: 300px;
	height: 620px;*/
	width: 222px;
	height: 460px;
	background-size: 222px auto;
	position: relative;
	background-position: center;
	box-shadow: 5px 3px 19px 3px rgba(135, 132, 132, 0.5);
	background-color: rgba(0,0,0,0.1);
	
  }
  
  
  .phone iframe {
    border: 0;
    width: 268px;
    height: 475px;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	position: absolute;
	 -webkit-transform-style: preserve-3d;
        -moz-transform-style: preserve-3d;
          -o-transform-style: preserve-3d;
             transform-style: preserve-3d;
	backface-visibility: hidden;
	transform: rotateZ(0deg) translatez(0);
  }
  
  button#rotate-phone{
  }
  
  .iframe-rotated{
	width: 420px !important;
	height: 320px !important;
	transform: rotateZ(90deg) translatez(0) !important;
	left: -53px;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	-webkit-transform-origin: 50%  51%;
  }
  
  .phone-rotated{
	  transform: rotateZ(-90deg) translatez(0) scale(0.8) !important;
	  -webkit-transform-origin: 50%  51%;
  }
  /*Different Perspectives*/
  
  .phone.view_1 {
    transform: rotateX(50deg) rotateY(0deg) rotateZ(-50deg);
    box-shadow: -3px 3px 0 #BBB, -6px 6px 0 #BBB, -9px 9px 0 #BBB, -12px 12px 0 #BBB, -14px 10px 20px #666;
  }
  
  .phone.view_2 {
    transform: rotateX(0deg) rotateY(-60deg) rotateZ(0deg);
    box-shadow: 5px 1px 0 #BBB, 9px 2px 0 #BBB, 12px 3px 0 #BBB, 15px 4px 0 #BBB, 0 7px 20px #999;
  }
  
  .phone.view_3 {
	border-radius: 50px;
	background-repeat: no-repeat;
	background-position: center;
  }
  
  /*Controls*/
  
  #controls {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 0.9em;
    color: #333;
  }
  
  #controls div {
    margin: 10px;
  }
  
  #controls div label {
    width: 120px;
    display: block;
    float: left;
  }
  
  #views {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 200px;
  }
  
  #views button {
    width: 198px;
    border: 1px solid #bbb;
    background-color: #fff;
    height: 40px;
    margin: 10px 0;
    color: #666;
    transition: all 0.2s;
  }
  
  #views button:hover {
    color: #444;
    background-color: #eee;
  }
  
  .grey-container .table > div:first-child #phone-wrapper{
	  padding-right: 50px;
	  padding-left: 0;
  }
  
   .grey-container .table > div:last-child #phone-wrapper{
	  padding-left: 150px;
  }
  
  @media (max-width:900px) {
    #phone-wrapper {
      transform: scale(0.8, 0.8);
    }
  }
  
  @media (max-width:700px) {
    #phone-wrapper {
      transform: scale(0.6, 0.6);
    }
  }
  
  @media (max-width:500px) {
    #phone-wrapper {
      transform: scale(0.4, 0.4);
    }
  }