@font-face {
    font-family: 'Mercedes Title';
    src: url('../fonts/MBCorpoATitleCond-Regular.otf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Mercedes Text';
    src: url('../fonts/MBCorpoSText-Regular.otf');
    font-weight: normal;
    font-style: normal;
}

html, body {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
}

body {
    color: #fff;
    font-family: 'Mercedes Text', sans-serif;
    padding: 0;
    margin: 0;
    background-color: #000;
}

.bg {
    width: 100vw;
    height: 100vh;
}

.fullscreen img {
    width: 100vw;
}

.fullscreen img.logo_letters {
    position: absolute;
    top: 5vh;
    left: 10vw;
    width: 80vw;
}

.fullscreen img.logo_letters_bottom {
    position: absolute;
    bottom: 5vh;
    left: 10vw;
    width: 80vw;
}

.fullscreen img.logo_icon {
    position: absolute;
    top: 5vh;
    left: 40vw;
    width: 20vw;
}

.fullscreen img.logo_cooljazz {
    width: 20vw;
}

.logo_wrapper {
    text-align: center;
    padding: 0 10vw;
    margin: 0 0 20px 0;
}

.title_container {
    position: absolute;
    top: 20vh;
}

.title_container_2 {
    position: absolute;
    bottom: 20vh;
}

h3 {
    font-size: 1.5rem;
}

.title {
    font-family: 'Mercedes Title';
    position: absolute;
    bottom: 11vw;
    left: 10vw;
}

.btn_container {
    position: absolute;
    bottom: 1vh;
}

.btn_main {
    text-transform: uppercase;
    background: transparent;
    border: 1px solid #2ea0d7;
    color: #2ea0d7;
    box-shadow: none;
    padding: 10px 60px;
    border-radius: 40px;
    font-size: 1.4rem;
    min-width: 80vw;
    position: absolute;
    bottom: 6vh;
    left: 10vw;
}

.btn_main.filled {
    background: #2ea0d7;
    border: 1px solid #2ea0d7;
    color: #fff;
}

.btn_main.final {
    position: relative;
    bottom: auto;
    left: auto;
}

.questionsWrapper {
    position: absolute;
    top: 25vh;
    left: 7.5vh;
    width: 85vw;
}

.questionsWrapper h1 {
    margin: 0;
    padding: 2vh 0;
}

.question_title {
    margin-bottom: 6vh;
    font-size: 1.4rem;
}

.option {
    font-size: 1.2rem;
    line-height: 22px;
    font-weight: 500;
    padding: 10px 30px;
    border: 1px solid #fff;
    border-radius: 40px;
    width: 80vw;
    text-align: center;
    margin-bottom: 4vh;
}

.option i {
    margin-left: 10px;
}

.get_results, .start_contest {
    position: absolute;
    bottom: 17.1vh;
    width: 400px;
    height: 80px;
    left: 31vw;
}

.start_contest {
    display: none;
}

.run_contest {
    position: absolute;
    bottom: 42vh;
    left: 24vw;
    width: 575px;
    height: 130px;
}

.giftsWrapper {
    position: absolute;
    width: 80vw;
    left: 14vw;
    top: 20vh;
}

.giftContainer {
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 2px;
    padding-right: 2px;
}

.gift, .prize {
    border: 7px solid transparent;
}

.prize {
    width: 200px;
    border-radius: 20px;
}

@keyframes rainbow {
    0% {
        filter: brightness(100%);
        border-color: transparent;
    }

    100% {
        filter: brightness(120%);
        border-color: #2ea0d7;
    }
}

.prizeContainer {
    text-align: center;
    position: absolute;
    top: 6vh;
    width: 100%;
}

.prizeContainer h4 {
    margin-bottom: 20px;
}

.prize_code {
    font-weight: 600;
    margin: 20px 0;
}

.code_link i {
    margin-left: 10px;
    font-size: 16px;
    vertical-align: middle;
    color: #eee;
}

.prize_txt {
    padding: 0 5vw;
}

.code_wrapper {
    position: absolute;
    top: 20vh;
    width: 100vw;
    text-align: center;
}

/* Custom radio btn */
.checkbox label:after,
.radio label:after {
    content: '';
    display: table;
    clear: both;
}

.checkbox .cr,
.radio .cr {
    position: relative;
    display: inline-block;
    border: 1px solid #a9a9a9;
    border-radius: .25em;
    width: 1.3em;
    height: 1.3em;
    float: left;
    margin-right: .5em;
}

.questionsWrapper .radio .cr,
.guessWrapper .radio .cr {
    display: none;
}

.radio .cr {
    border-radius: 50%;
}

.checkbox .cr .cr-icon,
.radio .cr .cr-icon {
    position: absolute;
    font-size: .8em;
    line-height: 0;
    top: 50%;
    left: 13%;
}

.radio .cr .cr-icon {
    margin-left: 0.04em;
}

.checkbox label input[type="checkbox"],
.radio label input[type="radio"] {
    display: none;
}

.checkbox label input[type="checkbox"]+.cr>.cr-icon,
.radio label input[type="radio"]+.cr>.cr-icon {
    transform: scale(3);
    opacity: 0;
}

.checkbox label input[type="checkbox"]:checked+.cr>.cr-icon,
.radio label input[type="radio"]:checked+.cr>.cr-icon {
    transform: scale(1) rotateZ(0deg);
    opacity: 1;
}

.checkbox label input[type="checkbox"]:disabled+.cr,
.radio label input[type="radio"]:disabled+.cr {
    opacity: .5;
}

.guessWrapper {
    position: absolute;
    top: 50vh;
    left: 7.5vh;
    width: 85vw;
}

.fullscreen img.guess_img {
    position: absolute;
    top: 15vh;
    width: 85vw;
    height: auto;
    left: 7.5vw;
    filter: blur(3px) drop-shadow(2px 4px 6px black) brightness(0.8);
    border: 2px solid #2ea0d7;
    -webkit-transition: all 2s ease;                  
    -moz-transition: all 2s ease;                 
    -o-transition: all 2s ease;   
    -ms-transition: all 2s ease;          
    transition: all 2s ease;
}

.warning_modal {
    position: absolute;
    width: 90vw;
    height: 70vh;
    top: 5vh;
    left: 5vw;
    background: #fff;
    color: #333;
    border-radius: 10px;
    filter: drop-shadow(0px 0px 13px #444);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 5vh 0;
    display: none;
}
.warning_modal button {
    margin: 0 4vw;
}
.modal_title {
    margin-top: 3vh;
}
.modal_code strong {
    color: #2ea0d7;
}

/* --- Memory Game --- */
/* General layout */

div {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

#playfield-wrapper {
    display: inline-block;
    opacity: 1;
    position: absolute;
    top: 30vh;
    width: 85vw;
    left: 7.5vw;
}

#game-info, .lvlList {
    display: none;
}

/* Card layout */

.play-field, .card {
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
}

.play-field {
    position: relative;
    margin: 0;
    padding: 0;
    border-collapse: collapse;
    opacity: 1
}

.memory_card {
    position: absolute;
    font-size: 64px;
    cursor: default;
    transition: left 0.5s, top 0.5s;
    -webkit-transition: left 0.5s, top 0.5s;
}

.flipper {
    position: relative;
    border-radius: 5px;
    background-color: #2ea0d7;
    text-align: center;
    width: 100%;
    height: 100%;
    box-shadow: 1px 1px 3px 1px #555;
    opacity: 1;

}

.face {
    border-radius: 3px;
    position: absolute;
    line-height: 60px;
    margin: 3.5%;
    height: 92.5%;
    width: 92.5%;
}

.front {
    opacity: 0;
}

.back {
    opacity: 1;
}

.clicks {
    position: absolute;
    right: 3px;
    bottom: 2px;
    color: #777;
    font: bold 11px Arial;
    display: none;
}

/* Card animation */

.flipper {
    transform-style: preserve-3d;
    /* NOT IE11-friendly -> TODO: http://stackoverflow.com/a/22849231/636849 */
    -webkit-transform-style: preserve-3d;
    transition: transform 0.15s linear;
    -webkit-transition: -webkit-transform 0.15s linear;
}

.face {
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 0.15s linear;
    -webkit-transition: opacity 0.15s linear;
}

.flipfront {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    box-shadow: -1px 1px 3px 1px #555;
}

.flipback {
    transform: rotateY(0deg);
    -webkit-transform: rotateY(0deg);
}

.front {
    transform: rotateY(-180deg);
    -webkit-transform: rotateY(-180deg);
}

@-moz-keyframes pulse {
    from {
        background-color: #fff;
    }

    to {
        background-color: green;
    }
}

@-webkit-keyframes pulse {
    from {
        background-color: #fff;
    }

    to {
        background-color: green;
    }
}

@keyframes pulse {
    from {
        background-color: #fff;
    }

    to {
        background-color: green;
    }
}

.pulse {
    -moz-animation: pulse 0.2s ease-in-out 5 alternate;
    -webkit-animation: pulse 0.2s ease-in-out 5 alternate;
    animation: pulse 0.2s ease-in-out 5 alternate;
}

.play-field.win td .flipper {
    -webkit-transition: opacity 0.5s ease 1.5s;
    transition: opacity 0.5s ease 1.5s;
    opacity: 1 !important
}