@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700');

body {
    margin: 0;
    background: #314d79;
    font-family: 'Montserrat', sans-serif;
}

#container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-image: url("background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#welcome-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 254;
    background-image: url("background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
}

#welcome-screen>div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#preloader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: white;
    z-index: 255;
    background-color: #44bdd0;
}

#preloader>div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
}

#preloader>div>svg {
    width: 64px;
    height: 64px;
}

.hidden {
    display: none !important;
}

#game {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1080px;
    height: 1920px;
    transform-origin: 0 0;
    background: black;
    overflow: hidden;
    z-index: 0;
    box-shadow: 0 0 40px #44bdd0;
}

#landscape-left {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    overflow: hidden;
    display: table;
    table-layout: fixed;
    color: white;
    font-size: 20px;
    line-height: 50px;
}

#landscape-right {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    overflow: hidden;
    display: table;
    table-layout: fixed;
    color: white;
}

#landscape-left>div,
#landscape-right>div {
    display: table-row;
    height: 50%;
}

#landscape-left>div>div,
#landscape-right>div>div {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    white-space: nowrap;
}

#landscape-totalscore,
#tokens-left-alt {
    font-size: 60px;
    font-weight: bold;
    color: #44bdd0;
}

.landscape-scaler {
    width: 100%;
}

#tokens-left-table {
    width: 80%;
    margin-left: 50%;
    transform: translateX(-50%);
    table-layout: fixed;
    font-size: 60px;
    font-weight: bold;
    color: #44bdd0;
    max-width: 225px;
}

#plinko-screen {
    width: 1080px;
    height: 1447px;
    position: absolute;
    top: 473px;
    left: 0;
}

#nav-screen {
    width: 1080px;
    height: 473px;
    position: absolute;
    left: 0;
}

#header {
    width: 1080px;
    height: 255px;
    background-image: url("header.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
}

#score {
    width: 1080px;
    height: 218px;
    background: #44bdd0;
    position: absolute;
    top: 255px;
    left: 0;
}

#total-score {
    position: absolute;
    top: 0;
    right: 0;
    height: 218px;
    width: 540px;
    display: table;
    table-layout: fixed;
}

#total-score>div {
    display: table-cell;
    vertical-align: middle;
    font-size: 50px;
    color: black;
}

#total-score>div:nth-of-type(1) {
    text-align: right;
    padding-right: 30px;
    box-sizing: border-box;
}

#tokens-left {
    position: absolute;
    top: 0;
    left: 0;
    height: 218px;
    width: 540px;
    display: table;
}

#tokens-count {
    color: white;
    font-size: 60px;
    font-weight: bold;
}

#tokens-left>div {
    display: table-cell;
    vertical-align: middle;
    font-size: 50px;
}

#tokens-left>div>img {
    height: 210px;
}

#reset-button {
    position: absolute;
    right: 20px;
    bottom: 20px;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    box-sizing: border-box;
    padding: 10px 50px;
    font-size: 40px;
    border: 0;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
}

#landscape-reset {
    position: absolute;
    right: 20px;
    top: 20px;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    box-sizing: border-box;
    padding: 5px 25px;
    font-size: 20px;
    border: 0;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transform-origin: 100% 0;
}

#score-count {
    color: white !important;
    font-size: 60px !important;
    font-weight: bold;
}

#score-prompt {
    position: absolute;
    top: 50%;
    left: 50%;
    color: white;
    z-index: 255;
    font-size: 80px;
    transform: translate(-50%, -50%) scale(1);
    text-shadow: 0 5px 5px black, 0 5px 5px black, 0 5px 5px black;
    white-space: nowrap;
    font-weight: bold;
    opacity: 1;
    transition: transform .5s, opacity .5s;
    pointer-events: none;
}

#score-prompt.stageA {
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 0;
}

#score-prompt.stageB {
    opacity: 0;
}

#scores-numbers {
    position: absolute;
    bottom: 33px;
    left: 33px;
    width: 1017px;
    /*background-color: rgba(255, 255, 255, 0.5);*/
    z-index: 255;
    display: table;
    table-layout: fixed;
    height: 150px;
}

#scores-numbers>div {
    display: table-cell;
    text-align: center;
    color: white;
    font-size: 50px;
    font-weight: bold;
}

#scores-numbers>div>div {
    transition: transform .5s;
    transform: translateY(0%);
}

#scores-numbers>div>div.jump {
    transform: translateY(-50%);
}

#reset-prompt, #final-prompt {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 255;
    background: rgba(0, 0, 0, 0.75);
}

#reset-prompt>div,
#final-prompt>div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #44bdd0;
    box-sizing: border-box;
    padding: 20px;
    white-space: nowrap;
    color: white;
    border-radius: 5px;
    text-align: center;
    font-size: 25px;
    max-width: 500px;
}

#reset-prompt table {
    table-layout: fixed;
    width: 100%;
    margin-top: 10px;
}

#reset-prompt table button,
#final-prompt button {
    border: 0;
    background: white;
    color: black;
    box-sizing: border-box;
    padding: 10px 20px;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    font-size: 25px;
    text-align: center;
}

#reset-finalreset {
    margin-top: 20px;
}

#lets-go {
    border: 0;
    background-color: #86c442;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5) inset;
    border-radius: 5px;
    color: white;
    font-size: 35px;
    padding: 15px;
    margin-top: 20px;
    width: 250px;
    box-sizing: border-box;
    cursor: pointer;
}

#lqCheckbox {
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 100%;
    cursor: pointer;
    position: relative;
}

#lqCheckbox.selected:after {
    background-color: #44bdd0;
}

#lqCheckbox:after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 5px;
    left: 5px;
    border-radius: 100%;
    background-color: rgba(0, 0, 0, 0.25);
}

#lqTable {
    color: White;
    width: 180px;
    margin-left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}