@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
body,html {
    height: 100%;
}
body {
    background-color: #015626;
    color:#FFF;
    font-family: 'Raleway', sans-serif;
    padding:20px;
}
@media only screen and (max-width: 768px) {
    body {
        padding:0px;
    }
}

* {
    box-sizing: border-box;
}



#interactionWrapper {
    position: relative;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.4);
}
#playWrapper {
    position: relative;
    width: 75%;
}
#chatWrapper {
    position: absolute;
    width: 25%;
    background-color: #FFF;
    height: 100%;
    top:0;right: 0;
}



#playWrapper {
    overflow: hidden;
    position: relative;
}
#videoHolder {
    position:relative;
    z-index:2;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.3);
}
.videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    background-color: #000;
    height: 0;
}
.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



#interactionOverlay {
    position: absolute;
    left:10px; top:10%;
    width: 40%;
    padding:10px;
    z-index: 10;
    background: rgb(1,86,38,0.8);
    transform : translateY(0px) translateX(0px);
    opacity:1;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.7);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);

    border:3px solid #7C9826;
    border-radius: 5px 25px 25px 5px;
}
#interactionOverlay.inactive {
    transform : translateX(-50px) translateY(0px);
    opacity:0;
    z-index:0;
}
#interactionHelperOverlay {
    position: absolute;
    right:0px; top:0px;
    width: 60%;
    height: 100%;
    z-index: 9;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}
#interactionOverlay.inactive {
    display: none;
}


#interactionOverlay.imagediff {
    position: absolute;
    left:0px; top: 0px;
    width:100%; height: 100%;
    border-radius: 5px 5px 5px 5px;
    padding: 0;
}
#interactionOverlay.imagediff .questionTitle {
    position: absolute;
    width: 100%;
    left:0px; top:-3px;
    padding-top: 10px;
    margin: 0;
    z-index: 11;
    text-align: center;
    background: rgba(1,86,38,0.8);
    border:3px solid #7C9826;
    border-radius: 5px;
}
#interactionOverlay.imagediff #countdown {
    position: absolute;
    z-index: 11;
    left: 50%;
    top: 62px;
    margin-left: -20px;
}
#imageDiffHolder {
    position: absolute;
    left:0px; top: 0px;
    width:100%; height: 100%;
    z-index: 2;
    text-align: center;
}
#imageDiffHolder.inactive {
    display: none;
}
#imageDiffHolder .image {
    position: relative;
    display: inline-block;
}
#imageDiffHolder .image img {
    width:auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
}
#imageDiffHolder .image .hotspots {
    position: absolute;
    left:0px; top: 0px;
    width:100%; height: 100%;
    z-index: 3;
}
.hotspot {
    position: absolute;
    left:40px; top:40px;
    width:40px; height: 40px;
    margin-left: -20px; margin-top: -20px;
    border:2px solid #FFF;
    border-radius: 25px;
    z-index: 3;
    display: block;
    cursor: grab;
}



.questionTitle {
    font-family: 'Bebas Neue', cursive;
    font-size: 30px;
    text-shadow: 0px 0px 10px rgba(0,0,0,0.3);
}

.questionTitle {
    font-size:30px;
    margin-top:10px;
}


.timerBar {
    position: relative;
    display: block;
    width: 100%;
    height: 10px;
    background-color: #777;
    border-radius: 10px;
}
.timerBar span.bar {
    position: absolute;
    left:0; top:0;
    height: 10px; width: 100%;
    background-color: aquamarine;
    border-radius: 10px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
.timerBar span.bar.roReset {
    -webkit-transition: al 0s;
    transition: 0s;
}


.btn {
    border-radius: 50px;
    font-family: 'Raleway', sans-serif;

}
.btn-template {
    background-color: #FFF;
    border-width:2px;
    border-style:solid;
    color:#000;
}
.btn-template:hover {
    background-color: #FFF;
    color:#000;
}
.btn-answer {
    margin: 10px 0;
    font-family: 'Bebas Neue', cursive;
    position: relative;
}
.btn-answer small {
    font-weight: 400 !important;
}


.answersRow {
    margin: 0 5%;
}
.btn-answer .answerIdentifier {
    display: block;
    border-radius: 50px;
    width: 40px; height: 40px;
    background-color: #000;
    color:#FFF;
    position: absolute;
    left:3px; top:2px;
    font-size: 30px;
    padding-top: 3px;
}

.btn-answer.blue {
    border-color:#00248B;
}
.btn-answer.orange {
    border-color:#F47F2D;
}
.btn-answer.yellow {
    border-color:#FECC17;
}
.btn-answer.red {
    border-color:#AB2E30;
}
.btn-answer.blue .answerIdentifier {
    background-color: #00248B;
}
.btn-answer.orange .answerIdentifier {
    background-color: #F47F2D;
}
.btn-answer.yellow .answerIdentifier {
    background-color: #FECC17;
}
.btn-answer.red .answerIdentifier {
    background-color: #AB2E30;
}
.btn-answer.active {
    color:#FFF;
}
.btn-answer.blue.active {
    background-color:#00248B;
}
.btn-answer.orange.active {
    background-color:#F47F2D;
}
.btn-answer.yellow.active {
    background-color:#FECC17;
}
.btn-answer.red.active {
    background-color:#AB2E30;
}
.btn-answer.active .answerIdentifier {
    color:#000;
    background-color: #FFF;
}
.btn-answer.incorrect {
    opacity: 0.3;
}






.newMessageHolder {
    position: absolute;
    left:0;bottom:0;
    width: 100%;
    padding: 10px;
}
.message {
    padding:10px;
}
.message .userName {
    color:#000;
    font-size: 12px;
    text-transform: uppercase;
}
.message .content {
    background-color: #efefef;
    color:#000;
    border-radius: 5px;
    padding: 5px;
    max-width: 80%;

}

.chatMessages {
    height: 100%;
    overflow: scroll;
    padding-bottom: 100px;
}


@media only screen and (max-width: 768px) {
    #interactionOverlay {
        position: absolute;
        width: calc(100vw - 20px);
        left:10px; bottom:-10px; top: auto;
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
        padding-bottom: 35px;

        border:3px solid #7C9826;
        border-radius: 25px 25px 0px 0px;
    }
    #interactionOverlay.inactive {
        transform : translateY(-50px) translateX(0px);
        opacity:0;
        z-index:0;
    }

    #interactionWrapper {
        height: 100%;
    }
    #playWrapper {
        width: 100vw;
        height: 100%;
    }
    #chatWrapper {
        display: none;
        position: absolute;
        width: 80vw;
        left:auto; bottom:0;
        right: 0;
        background-color: transparent;
        z-index: 12;
    }
    .newMessageHolder {
        display: none;
    }
    .message {
        text-align: right;
        margin: 0;
    }
    .message .text {
        border-radius: 50px 10px 10px 50px;
        background-color: #FFF;
        box-shadow: 0px 0px 10px rgba(0,0,0,0.4);
        display: inline-block;
        max-width: 100%;
        font-size: 13px;
        opacity: 1;
        transition: all 0.2s;
    }
    .message:nth-child(1) {
        opacity: 0.2;
    }
    .message:nth-child(2) {
        opacity: 0.6;
    }
    .message:nth-child(3) {
        opacity: 0.8;
    }
    .chatMessages {
        max-height: 20vh;
        position: absolute;
        right: 0; bottom:10px;
    }


}






#intermediateResultsOverlay {
    position: absolute;
    left:10px; top:10px;
    width:calc(100% - 20px);
    height:calc(100% - 20px);
    padding:10px;
    z-index: 10;
    background: rgb(1,86,38,0.8);
    opacity:1;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.7);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);

    border:3px solid #7C9826;
    border-radius: 25px;

    text-align: center;
}
#intermediateResultsOverlay.inactive {
    transform : translateY(0px) translateY(-50px);
    opacity:0;
    z-index:10;
}
#intermediateResultsOverlay .title {
    font-family: 'Bebas Neue', cursive;
    font-size: 30px;
    text-shadow: 0px 0px 10px rgba(0,0,0,0.3);
    font-size:30px;
    margin-top:10px;
}
#intermediateResultsOverlay .userResult {
    margin: 10px 0;
    font-family: 'Bebas Neue', cursive;
    position: relative;

    border-radius: 50px;
    border-color:#F47F2D;
    background-color: #FFF;
    color:#F47F2D;
    font-size: 30px;
    padding-top: 3px;
}