html {
    scroll-behavior: smooth;
}

.game-block .game-code .screen,
.game-block .game-start-qr .body {
    min-height: 100vh;
    position: relative;
    color: var(--white);
}

.game-block .start-info {
    position: relative;
}

.game-block .game-bg-image {
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.game-block .game-start,
.game-block .game-start-qr,
.game-block .game-find-code {
    color: var(--white);
}

.game-block .game-code .info-arrow {
    position: absolute;
    bottom: 0;
    left: 0;
}

.game-block .game-code,
.game-block .game-start,
.game-block .game-find-code,
.game-block .game-end,
.game-block .modal-body {
    background-size: cover;
    background-position: center;
    min-height: 100vh;
}

.game-block .modal-body {
    background-size: cover;
    background-position: center;
    min-height: 80vh;
}

.game-block .game-quiz,
.game-block .game-image-quiz {
    position: relative;
}

.game-block .task-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    min-height: 90vh;
}

.game-block .game-quiz {
    flex: 0 0 100%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

.game-block .game-image-quiz {
    flex: 0 0 100%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

.game-block .task .anchor {
    width: 100%;
    display: block;
}

.game-block .task-links a {
    height: 2em;
    line-height: 2em;
}

.game-block .task-links a.active {
    background-color: #0062cc !important;
}

.game-block .answer.correct::before {
    content: '\f00c';
    font-family: FontAwesome;
}

.game-block .answer.incorrect::before {
    content: '\f00d';
    font-family: FontAwesome;
}

.game-block .game-image-quiz .answer {
    border-width: 4px;
    position: relative;
    font-size: 2em;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.game-block .game-image-quiz .answer::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.game-block .header-wrapper {
    position: relative;
}

.game-block .header {
    position: relative;
    z-index: 1;
    background-color: var(--primary);
}

.game-block .timer {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 2rem;
    z-index: 2;
}

@media (max-width: 991px) {
    .game-block .timer {
        background-color: var(--primary);
        border-radius: 0;
        font-size: 1.5rem;
        position: static;
        transform: none;
        top: auto;
        right: auto;
        text-align: center;
        display: block;
    }
}

.game-block .body img,
.game-block .body video {
    width: 400px;
}

.game-block .body img,
.game-block .body video,
.game-block .body iframe {
    border: 4px solid var(--white);
}

.game-block .body .media-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.game-block .body img.game-task-illustration-image {
    border: none;
    margin-bottom: 1.5rem;
}

.game-block img.map {
    width: auto;
}

.game-block .game-end .body img {
    width: 200px;
}

.game-block .game-end .form-separator {
    display: flex;
    white-space: nowrap;
    margin-bottom: 1em;
}

.game-block .game-end .form-separator::before {
    content: '';
    width: 100%;
    display: block;
    border-bottom: 1px solid rgba(0,0,0,.1);
    height: 0.75em;
    margin-right: 1em;
}

.game-block .game-end .form-separator::after {
    content: '';
    width: 100%;
    display: block;
    border-bottom: 1px solid rgba(0,0,0,.1);
    height: 0.75em;
    margin-left: 1em;
}

.game-block img.logo {
    width: 200px;
}

.game-block .no-borders {
    border: none !important;
}

.game-block .game-start .btn-game i {
    font-size: 0.75rem;
    padding-right: 5px;
}

.game-block .game-footer {
    position: fixed;
    bottom: 0;
    background: var(--primary);
    display: flex;
    width: 100%;
    justify-content: space-evenly;
}

.game-block .btn-game-footer {
    border: none;
    padding: 14px;
    background: var(--primary);
    color: var(--white);
    font-size: 1.25rem;
}

.game-block .btn-game-footer i {
    font-size: 1.5rem;
}

.game-block .social-share {
    color: var(--white);
    display: inline-block;
}

.game-block .social-share i {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    border: 4px solid var(--white);
}

.game-block .social-share .fa-facebook,
.game-block .social-share .fa-twitter,
.game-block .social-share .fa-pinterest,
.game-block .social-share .fa-whatsapp {
    background: var(--primary);
}

.game-block .social-share .fa-facebook:hover,
.game-block .social-share .fa-twitter:hover,
.game-block .social-share .fa-pinterest:hover,
.game-block .social-share .fa-whatsapp:hover {
    background: var(--primaryhover);
}

.game-block ol {
    list-style-position: inside;
    padding: 0;
}

.game-block .modal-content {
    background-color: transparent;
}

.game-block .modal-header {
    border-bottom: 1px solid var(--dark);
}

.game-block #reader-modal .preview-wrapper {
    position: relative;
}

.game-block #reader-modal .preview-wrapper .image-overlay {
    position: absolute;
    height: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.5;
}

.game-block #reader-modal .preview-wrapper .color-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

.game-block #reader-modal.success .preview-wrapper .color-overlay {
    background-color: var(--success);
}

.game-block #reader-modal.error .preview-wrapper .color-overlay {
    background-color: var(--danger);
}

.game-block .answer-description .modal-content {
    background-color: #fff;
    color: #000;
    opacity: 1;
}

.game-block .answer-description .modal-body {
    min-height: 40vh;
}

.game-block .answer-description p.answer-image {
    text-align: center;
}

@media screen and (max-width:991px) {

    .game-block img.logo {
        width: 100px;
    }

    .game-block .game-end .body img {
        width: 150px;
    }

}