@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,600,300);

body,
html {
    width: 100%;
    height: 100%;
    border: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: radial-gradient(#303030, #202020);
}

#info{
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    font-size: 0.8em;
}

#wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.phone {
    border: 40px solid #101010;
    border-width: 55px 7px;
    border-radius: 40px;
    overflow: hidden;
    transition: all 0.5s ease;
}

.phone iframe {
    border: 0;
    width: 100%;
    height: 100%;
}

/*Different Perspectives*/

.phone.view_1 {
    transform: rotateX(50deg) rotateY(0deg) rotateZ(-50deg);
    box-shadow: -3px 3px 0 #050505, -6px 6px 0 #050505, -9px 9px 0 #050505, -12px 12px 0 #050505, -14px 10px 20px black;
}

.phone.view_2 {
    transform: rotateX(0deg) rotateY(-60deg) rotateZ(0deg);
    box-shadow: 5px 1px 0 #050505, 9px 2px 0 #050505, 12px 3px 0 #050505, 15px 4px 0 #050505, 0 7px 20px black;
}

.phone.view_3 {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    box-shadow: 0px 3px 0 #050505, 0px 4px 0 #050505, 0px 5px 0 #050505, 0px 7px 0 #050505, 0px 10px 20px black;
}

/*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;
}

#views button {
    display: block;
    width: 150px;
    border: 1px solid #bbb;
    background-color: transparent;
    height: 40px;
    margin: 10px 0;
    color: white;
    transition: all 0.2s;
    font-family: inherit;
    cursor: pointer;
}

#views button:hover {
    color: #444;
    background-color: #eee;
}

