body {
    margin: 0px;
    padding: 20px;
    background-color: #266e08;
}

#uiContainer {
    position: absolute;
    top: 0;
    left: 0;
}

#points, #multiplier {
    position: absolute;
    top: 13px;
    width: 115px;
    height: 30px;
    line-height: 30px;
    left: 750px;
    text-align: right;
    color: #2D3034;
    font-family: 'Roboto', serif;
    font-weight: bold;
    font-size: 25px;
}

.pointsToAdd {
    font-family: 'Roboto', serif;
    font-weight: bold;
    font-size: 25px;
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 36px;
    line-height: 36px;
}
.pointsToAdd.positive {
    color: #469700;
}
.pointsToAdd.negative {
    color: #A00404;
}

#repressionBarWrapper {
    position: absolute;
    left: 980px;
    top: 20px;
    width: 30px;
    height: 406px;
    background-color: #dbdcd7;
}

#repressionBarWrapper::after {
    content: '';
    display: block;
    background: url(../img/barometer_overlay.png) center center no-repeat;
    position: absolute;
    height: 424px;
    width: 52px;
    z-index: 10;
    left: -12px;
    top: -8px;
}

#repressionBar {
    position: absolute;
    width: 100%;
    bottom: 0;
    height: 88%;
    background-color: #F39700;
    transition: height 0.1s linear, background-color 0.4s;
}

#repressionBar.positive {
    background-color: #469700;
}
#repressionBar.negative {
    background-color: #A00404;
}

#multiplier {
    width: 40px;
    left: 700px;
    color: #158015;
    text-align: center;
}

#gameWrapper {
    margin: 0 auto;
    position: relative;
}

#screens {
    overflow: hidden; 
    position: absolute; 
    left: 0px; 
    top: 0px;
}

.noPointerEvents {
    pointer-events: none;
}

#canvas {
    background: url(../img/background.png) 0 0 no-repeat;
    background-size: 100% 100%;
    -webkit-backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
}

#border {
    position: absolute;
    top: -2%;
    bottom: -2%;
    left: -1%;
    right: -1%;
    background: url(../img/border.png) no-repeat center center;
    background-size: 100% 100%;
    z-index: 100;
}

.screen {
    display: none;
    opacity: 0;
    transition: opacity 0.6s;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

#startScreen {
    z-index: 10;
    display: block;
    background: url(../img/intro_background.png) no-repeat center center;
    background-size: 100% 100%;
    opacity: 1;
}

#startButton {
    background: url(../img/btn_start.png) no-repeat center center;
    background-size: 100% 100%;
    position: absolute;
    top: 75%;
    left: 40%;
    width: 20%;
    height: 11%;
    cursor: pointer;
}

#scoreScreen {
    background: url(../img/outro_background.png) no-repeat center center;
    background-size: 100% 100%;
    opacity: 1;
}

#score {
    width: 675px;
    height: 280px;
    font-family: 'Roboto', serif;
    font-weight: bold;
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
    padding: 240px 0 0 360px;
    text-align: center;
    font-size: 40px;
    line-height: 36px;
    color: black;
}

#repeatGame {
    background: url(../img/btn_again.png) no-repeat center center;
    background-size: 100% 100%;
    position: absolute;
    top: 67%;
    left: 37%;
    width: 25%;
    height: 10%;
    cursor: pointer;
}

#startVideo, #skipVideo {
    top: -15%;
    left: 2%;
    position: absolute;
    z-index: 20;
    transition: top 0.5s;
    width: 14%;
    height: 8%;
    background: url(../img/btn_next.png) center center no-repeat;
    background-size: 100% 100%;
    cursor: pointer;
}

#skipVideo {
    top: auto;
    left: 2%;
    width: 25%;
    height: 8%;
    background-image: url(../img/btn_skip.png);
    bottom: -15%;
    transition: bottom 0.5s;
}

.pulsate-bck {
    -webkit-animation: pulsate-bck 2s ease-in-out infinite both;
            animation: pulsate-bck 2s ease-in-out infinite both;
}

/* ----------------------------------------------
 * Generated by Animista on 2017-12-3 10:29:46
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation pulsate-bck
 * ----------------------------------------
 */
@-webkit-keyframes pulsate-bck {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    -webkit-transform: scale(0.9);
            transform: scale(0.9);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@keyframes pulsate-bck {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    -webkit-transform: scale(0.9);
            transform: scale(0.9);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
