body {
	font-family: Arial, sans-serif;
	font-size: 18px;
	background: #fff;
}

.hide {
    display: none;
}

.container {
    margin: 0 auto;
    width: 100%;
    max-width: 420px;
}

.video {
    min-height: 210px;
    background-color: #000;
}

.video video {
    width: 100%;
}

.score {
    background-color: black;
    color: #fff;
    font-size: 22px;
    display: flex;
    min-height: 158px;
}

.score .main {
    font-size: 40px;
}

.score .sub div {
    opacity: 0.5;
    position: relative;
}

.score .sub div.p1::before {
    content: "1";
    position: absolute;
    left: 10px;
    opacity: 0.3;
}

.score .sub div.p2::before {
    content: "2";
    position: absolute;
    left: 10px;
    opacity: 0.3;
}

.score .sub div.p3::before {
    content: "3";
    position: absolute;
    left: 10px;
    opacity: 0.3;
}

.score .red, .score .blue {
    width: 50%;
    text-align: center;
}

.score .red {
    background-color: crimson;
}

.score .blue {
    background-color: darkblue;
}

.controls {
    display: flex;
    touch-action: manipulation;
}

.controls .buttons {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.controls .buttons.blue {
    align-items: flex-start;
}

.controls .buttons.red {
    align-items: flex-end;
}

.controls .buttons div {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    -webkit-touch-callout:none;
    -webkit-user-select:none;
    user-select:none;
    touch-action: manipulation;
}

.controls .buttons.blue div {
    background-color: darkblue;
    margin-left: 30px;
    border: 5px solid darkblue;
}

.controls .buttons.red div {
    background-color:crimson;
    margin-right: 30px;
    border: 5px solid crimson;
}

.controls .buttons div.down {
    background-color: #fff;
}

.controls .buttons .p1 {
    width: 130px;
    height: 100px;
    border-radius: 22px;
    font-size: 30px;
}

.controls .buttons .p2 {
    width: 130px;
    height: 70px;
    border-radius: 22px;
    font-size: 24px;
}

.controls .buttons .p3 {
    width: 130px;   
    height: 50px;
    border-radius: 18px;
    font-size: 20px;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

h1 {
    font-size: 24px;
    text-align: center;
}

h2 {
    font-size: 18px;
    text-align: center;
}

.content.page {
    padding: 30px 20px 0px 20px;
}

#page-login label, #page-login input, #page-login button {
    display: block;
}

#page-login input {
    width: 100%;
    padding: 10px;
}

#page-login button {
    margin-top: 20px;
    padding: 10px 30px;
    -webkit-appearance: none;
}

#full-screen {
    width: 100%;
    height: 100px;
}