﻿.clearfix:after     { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
* html .clearfix    { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */

*, *:before, *:after { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

body {
    background: #0066ff;
    padding: 0;
    margin: 0;
    height: 100vh;
    width: 100vw;
}

.game-wrapper__iframebox {
    width: 80%;
    padding-top: 45%;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -40%;
    margin-top: -24%;
    border: 15px solid #fff;
    box-shadow: 1rem 1rem rgba(0, 0, 0, 0.2);
}

.game-wrapper__iframe {
    width: 100%;
    height: 100%;
    position: absolute; 
    top: 0;
    left: 0;
    border: none;
    outline: 0;
}

#game-holder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
}

#game-interface {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#game-interface h2 {
    font-family: Courier, sans-serif;
    font-size: 48px;
    line-height: 48px;
}

#game-interface .buttons.top-left {
    position: absolute;
    top: 20px;
    left: 15px;
    pointer-events: auto; 
}

#game-interface .buttons.top-right {
    position: absolute;
    top: 20px;
    right: 15px;
    pointer-events: auto; 
}

#game-interface .buttons.bottom-right {
    position: absolute;
    bottom: 20px;
    right: 20px;
    pointer-events: auto; 
}

#game-interface .buttons.middle {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

#game-interface .screen-title {
    width: 100%;
    position: absolute;
    top: 30px;
}

#game-interface .paused-screen {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #666;
    text-align: center;
    display: none;
    pointer-events: auto; 
}

#game-interface .howtoplay-screen {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #999;
    text-align: center;
    display: none;
    pointer-events: auto; 
}

#game-interface .ui-lozenge {
    display: inline-block;
    background: #666;
    padding: 10px 15px;
    margin: 0 5px;
    border-radius: 20px;
    border: 1px solid #fff200;
    min-width: 80px;
    color: #fff;
    font-family: Courier, sans-serif;
    font-size: 15px;
    font-weight: 700;
}

#game-interface .ui-btn {
    display: inline-block;
    background: #000;
    padding: 15px;
    margin: 0 5px;
    color: #fff;
    text-decoration: none;
    font-family: Courier, sans-serif;
    font-size: 12px;
}

#game-interface .ui-btn.big {
    font-size: 16px;
    padding: 30px;
}

#game-interface .ui-btn:hover {
    background: #fff200;
    color: #000;
}