body{
    font-size: 12px;
    margin: 0;
}

.mobile{
    background-color: #303030;
    min-width: 240px;
    max-width: 480px;
    min-height: 480px;
    max-height: 960px;
    height:calc(80vw * 2);
    width: 80vw;
    border-radius: 10px;
    padding:0.5em;
    border: 0.5em solid #101010;
    margin: 0 auto;
}

.phone-header{
    height: 2em;
}

/*.phone-header > div{*/
/*    height: 100%;*/
/*}*/

.speaker{
    display: inline-block;
    /*background-color: #000;*/
    background: repeating-linear-gradient(90deg, #303030, #101010 5%, #303030 10%);
    width: 15%;
    height: 0.5rem;
    border-radius: 25%;
    border: 1px solid #4c4c4c;
    margin-top: 0.5em;
}

.camera{
    position: relative;
    display: inline-block;
    background-color: #131313;
    width: 1.5em;
    height: 1.5em;
    border-radius: 50%;
    border: 1px solid #4c4c4c;
}

.camera-lens{
    position: absolute;
    background: radial-gradient(#ececec, #2d5f74, #0e2f4b);
    display: block;
    border-radius: 50%;
    top: 40%;
    left: 40%;
    margin: -30% 0 0 -30%;
    width: 80%;
    height: 80%;
    border: 1px solid #000000;
}

.screen{
    background-color: #ececec;
    text-align: center;
    height:calc(100% - 5em);
}

.screen.off{
    background-color: #101010;
}

.screen.off img{
    display: none;
}

.screen.webcam img{
    display: none;
}

.screen #webcam{
    display: none;
}

.screen.webcam #webcam{
    display: block;
    margin: 0px auto;
    width: 100%;
    height: auto;
    /*border: 10px #333 solid;*/
}

.screen.off #webcam{
    display: none;
}

.screen #webcam video{
    width: 100%;
    height: auto;
    background-color: #666;
}



.bottom{
    height:3em;
    /*background-color: red;*/
}

.button{
    display: block;
    margin: 1em auto;
    /*background-color: #000;*/
    background: #101010;
    width: 20%;
    height: 1rem;
    border-radius: 10px;
    border: 1px solid #4c4c4c;
    /*margin-top: 0.5em;*/
}

.button:hover, .speaker:hover, .camera:hover{
    border-color: #2d5f74;
    background: rgba(45,95,116, 0.8);
}