* {
    margin: 0;
    padding: 0;
    font-family: 'Raleway', sans-serif;
    box-sizing: border-box;
    transition: box-shadow .2s, opacity .2s,font-weight .1s, background-color .2s, color .2s, transform .1s, width .5s, height 1s, padding .1s, margin .1s, position .1s;
}
a:link, a:visited {
    color: white;
    text-decoration: none;
    outline: none;
    text-underline: none;
}
body {
    height: 100vh;
    overflow-x: hidden;
    text-align: center;
    background: linear-gradient(0.25turn, #19fcff 0%, #0691ff 90%) repeat 50% 50%/100% 100%;
}
.sign-out {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, .8)
}
.quiz-block {
    /*min-height: 486px;*/
    height: 76vh;
}
.block-title {
    color: white;
    font-size: 20px;
    font-weight: 800;
}
.quiz {
    color: white;
    font-size: 14px;
    font-weight: 800;
    border-radius: 6px;
    background: linear-gradient(0.25turn, #f1ca8e 0%, #f29483 90%);
}
#upload_temp_video {
    font-size: 16px;
    font-weight: 400;
}
#faq {
    max-height: 40px;
}
#additional-files-bg {
    display: none;
    position: fixed;
    width: 100%;
    height: 100vh;
    padding: 30vh 35% 0;
    top: 0;
    left: 0;
    z-index: 10;
    opacity: 0;
}
.pop-up-content {
    margin-top: 15px;
}
.file-name {
    position: relative;
    text-align: center;
    width: auto;
    display: block;
    padding: 10px 15px 5px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
    color: black;
}
.file-name.files span {
    padding: 0 15px 5px;
    color: blue;
    border-bottom: 1px solid blue;
    line-height: 30px;
}

.file-name .file-delete {
    position: absolute;
    color: red;
    right: 15px;
    top: 10px;
}
.buttons {
    color: white;
    font-size: 13px;
    font-weight: 800;
}
.start-button {
    border-radius: 6px;
    background: linear-gradient(0.25turn, #f1ca8e 0%, #f29483 90%);
}
#counter-background {
    display: none;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 10;
    opacity: 0;
    background: white url("../../images/game/counter-bg.png") no-repeat 50% 50%/100%;
}
#counters {
    display: block;
    text-align: center;
    width: 100%;
    margin-top: 40vh;
}
.numbers {
    display: none;
    opacity: 0;
    height: 160px;
}
.interactive:hover {
    cursor: pointer;
    opacity: .7;
}
/*GAME BLOCK*/
#main-game-block {
    display: none;
}
.left-block,
.middle-block,
.right-block {
    min-height: 100vh;
}
.left-block {
    background-color: #f4f9f9;
}
.middle-block {
    background-color: #fdf7f9;
}
.right-block {
    background-color: #fcf1f7;
}
.exit-quiz {
    position: relative;
    font-size: 20px;
    font-weight: 800;
    color: #f44336;
    z-index: 999;
}
.question {
    min-height: 25vh;
    font-size: 19px;
    font-weight: 500;
    line-height: 36px;
}
.answer {
    position: relative;
    font-size: 17px;
    font-weight: 500;
    line-height: 24px;
    padding: 13px 0 0 70px;
}
.bolder {
    font-weight: 800;
}
.radio-button {
    display: inline-block;
    position: absolute;
    width: 24px;
    height: 24px;
    top: 12px;
    left: 25px;
    border: 3px solid #f25f25;
    border-radius: 50%;
}
.radio-button.checked {
    background-color: #f25f25;
}
.bars {
    width: 80%;
    height: 40px;
    border-radius: 25px;
    overflow: hidden;
    border: 4px solid black;
    margin-left: 10%;
}
.white-space {
    display: block;
    width: 100%;
    height: 100%;
    background-color: #ffe6db;
    border: 4px solid white;
    border-radius: 25px;
    overflow: hidden;
}
.target-group-block {
    height: 31vh !important;
}
#target-group-image {
    max-height: 100% !important;
}
.bar-line {
    width: 0;
    background-color: #00CC00;
    height: 100%;
}
.bar-name {
    font-size: 20px;
    font-weight: 700;
    margin-left: 10%;
}
.prog-bar .bar-name {
    color: #ff773d;
}
.money-bar .bar-name {
    color: #5fbb97;
}
.health-bar .bar-name {
    color: #5ca4a9;
}
#progress-bar,
#progress-bar .bar-line {
    border-color: #ff773d;
    background-color: #ff773d;
}
#money-bar,
#money-bar .bar-line {
    border-color: #5fbb97;
    background-color: #5fbb97;
}
#health-bar,
#health-bar .bar-line {
    border-color: #5ca4a9;
    background-color: #5ca4a9;
}
#health-bar .bar-line {
    width: 100%;
}
.money-bar {
    background: url("/public/images/game/money.png") no-repeat 50% 50%/20% 90%
}
.health-bar {
    background: url("/public/images/game/health.png") no-repeat 50% 100%/25% 80%;
}
.children-video,
#quiz-placer {
    max-width: 80%;
    max-height: 100%;
}
#quiz-placer {
/*    margin-top: 23vh;*/
}
.tmp-vid-block {
    height: 69vh;
}
.webcam-video {
    height: 30vh;
    width: 100%;
    position: relative;
}
.target-group {
    max-height: 30vh;
}
/*CHOOSE PRODUCT SCREEN*/
.choose-product-screen {
    display: none;
    background: #fcfefb url("../../images/game/product-bg.png") no-repeat 50% 50%/70%;;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    padding: 20vh 10%;
    z-index: 4;
}
.choose-product-screen-header {
    display: block;
    padding: 30px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    width: 100%;
}
.product {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
}
.concrete-product {
    width: 30%;
    margin-left: 35%;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 700;
    padding: 20px;
    text-align: center;
    color:white;
    background-color: #87d0fc;
}

/*FULL SCREEN WEB CAM*/

.fullscreen-webcam {
    display: block;
    background-color: #fcfefb;
    position: fixed;
    width: 100%;
    height: 100vh;
    top:-150vh;
    left: 0;
    padding: 5vh 10%;
    z-index: 5;
}

.fullscreen-webcam>* {
    display: none;
}

.answer-result-header,
.answer-result-string {
    display: none;
}

.next-question-button-block {
    display: block;
}

.welcome-string{
    display: block;
}

.final-string{
    display: none;
}

.final-string,
.welcome-string,
.answer-result-header,
.answer-result-string,
.next-question-button-block{
    width: 100%;
    padding: 10px;
    font-size: 18px;
    color: #368059;
    text-align: center;
}

.final-string,
.welcome-string,
.answer-result-header {
    /*padding: 30px;*/
    padding: 15px;
    font-size: 18px;
    font-weight: 700;

}

#fullscreen-webcam{
    display: inline-block;
    width: 550px;
    height: 410px;
    z-index: 10;
}

#fullscreen-webcam-canvas,
#animation-block{
    position: absolute;
    display: inline-block;
    width: 550px;
    height: 410px;
    top: 23vh;
    left: 32%;
    z-index: 10;
}

#animation-block{
    z-index: 20;
    text-align: left !important;
}

.tester-block{
    display: none;
    opacity: 0;
    position: relative;
    top: 0;
    left: 0;
    z-index: 21;
}

.next-question-button-block{
    padding: 5px 35%;
}

.next-question-button-block.final-button{
    padding: 40px 40%;
}

#next-question,
#start-game,
#go-to-infographic,
#go-to-beach,
#continue-to-final,
#final{
    width: 100%;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 700;
    padding: 20px;
    text-align: center;
    color:white;
    background-color: #368059;
}

#go-to-infographic,
#continue-to-final,
#final{
    width: 275px;
    margin-left: calc((100% - 275px)/2);
}


/*INFOGRAPHIC SCREEN, BEACH SCREEN*/

.info-graphic,
.beach{
    display: block;
    background-color: #fcfefb;
    position: fixed;
    width: 100%;
    height: 100vh;
    opacity: 0;
    top:-150vh;
    left: 0;
    padding: 5vh 10%;
    z-index: 50;
}

#beach-image,
#info-graphic-image {
    height: 63vh;
    margin: 2vh 0;
}

.next-screen-block {
    display: block;
    padding: 40px 35%;

}

.info-graphic-header,
.beach-header{
    display: block;
}

.info-graphic-header,
.beach-header,
.next-screen-block{
    width: 100%;
    padding: 10px;
    font-size: 14px;
    color: #368059;
    text-align: center;
}

.info-graphic-header,
.beach-header {
    padding: 30px;
    font-size: 18px;
    font-weight: 700;

}

#stats {
    display: none;
}

.random_image {
    position:fixed;
    z-index: 50;
    max-width: 20%;
    opacity: 0;
    transform: rotateZ(0deg);
}

/*FINAL SCREEN*/

.final {
    display: none;
    opacity: 0;
    position: fixed;
    background-color: white;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 100;
}

#final-result-image-block {
    height: 67vh;
}

#final-result-image {
    max-width: 100%;
    max-height: 100%;
}

.final h3,
.final h4 {
    font-size: 22px;
    font-weight: 700;
    color:#5fbb97;
}

#result-bar {
    width: 80%;
    height: 40px;
    border-radius: 25px;
    overflow: hidden;
    border: 4px solid #5fbb97;
    background-color: #5fbb97;

}

#result-bar .bar-line {
    border-color: #5fbb97;
    background-color: #5fbb97;
    width: 0;
    height: 100%;
}

.bar-score {
    font-size: 20px;
    font-weight: 700;
    color: #5fbb97;
}

.result-text {
    height: 67vh;
}


@keyframes mover {
    from {top: -10px;
          transform: scale(.95)}
    to {top: +10px;
        transform: scale(1.05)}
}

.animation {
    animation-name: mover;
    animation-duration: .5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-direction: alternate-reverse;
}

/*GAME PRELOADER*/

#game-preloader {
    display: block;
    position: fixed;
    top:0;
    left: 0;
    z-index: 200;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,.2);
    text-align: center;
    padding-top: 35vh;
}

#game-preloader-text {
    font-size: 18px;
    font-weight: 700;
    color: white;
    width: 100%;
    display: block;
    margin-bottom: 25px;
}

.lds-ring {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
}
.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 51px;
    height: 51px;
    margin: 6px;
    border: 6px solid #fff;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #fff transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}
@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.product-choosen{
    position: relative;
    margin-top: -150px;
}

/*MEDIA QUERIES*/

@media (max-width: 576px) {
    .block-title {
        font-size: 12px;
    }
    #upload_temp_video {
        font-size: 12px;
    }
}

@media (min-width: 577px) and (max-width: 768px){
    .block-title {
        font-size: 14px;
    }
    #upload_temp_video {
        font-size: 14px;
    }
}

@media (min-width: 769px) and (max-width: 992px){
    .block-title {
        font-size: 16px;
    }
    #upload_temp_video {
        font-size: 16px;
    }
}

@media (min-width: 993px) and (max-width: 1200px){
    .block-title {
        font-size: 18px;
    }
    #upload_temp_video {
        font-size: 18px;
    }
}