.quiz-logo { width: 250px; height: 80px; object-fit: contain; object-position: center; margin-bottom: 30px;}
.quiz-desc { font-size: 20px; white-space: pre-line; }
.trivia-game {
    width: 100%;
    min-height: 100%;
    padding-top: 50px;
    padding-bottom: 40px;
    align-content:center;
    overflow-x: hidden;
    background-size: cover;
    background-position: center;
    background-color: white;
    color: inherit;
    color: #1a1a1a;
}
.trivia-game__inner {position: relative;width: 100%; height: 100%; display: flex; align-items: center;justify-content: center;}
.trivia-game__screen {position: relative;width: 100%; height: 100%; display: flex; align-items: center;justify-content: center;}

.trivia-game__intro {
    padding: 0 20px;
}

.validation-error-message{display:flex;align-items:center;justify-content:center;background:#ff0000a1;color:#fff;border-radius:6px;font-size:12px;min-height:28px;margin-bottom:12px;text-align:center;padding:8px}

.trivia-game__intro h1 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 0;
}

.trivia-game__buttons {
    position: absolute;
    right: 15px;
    top: 15px;
    display: flex;
}

.trivia-game__btn {
    border-radius: var(--border-radius);
    width: 34px;
    height: 34px;
    margin-left: 10px;
    opacity: .5;
}
.trivia-game__btn:hover {
    opacity: 1;
    cursor: pointer;
    transform: scale(1.1);
}

.trivia-game__close {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    z-index: 9999;
}

.question__options {
    width: 90%;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}

.question__text {
    width: 92%;
    max-width: 1100px;
    margin-bottom: 24px;
    font-weight: 900;font-size: 1.3em; text-align: center; }

.question__image {
    position: relative;
    top: -30px;
    rotate: -2deg;
}
.question__image img {
    border: 8px solid white;
    width: 330px;
    object-fit: contain;
    border-radius: var(--border-radius);
}

.question__option {
    width: 100%;
    font-weight: 500;
    border-radius: var(--border-radius);
    text-align: center;
    font-size: 1.3em;
    line-height: 1;
    box-shadow: 1px 1px 0 rgba(0,0,0,0.2);
    border-width: 2px !important;
    border-style: solid !important;
    padding: 10px 60px;
    position: relative;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    height: fit-content;
    min-height: 60px;
}

.question__image { --animate-duration: 0.3s; }
.question__option.animate__flash { --animate-duration: 0.5s; }
.question__option.animate__fadeInLeft, .question__option.animate__fadeInRight { --animate-duration: 0.2s; }

.question__option.is-correct {
    background-color: #4eb34e !important;
    color: white !important;
    border-color: green !important;
}
.question__option.is-correct .ql { background: green !important; color: white !important; }

.question__option.is-incorrect {
    background-color: #ea7a7a !important;
    border-color: #e04949 !important;
    color: white !important;
}
.question__option.is-incorrect .ql { background: #cc4747; }

.question__option:not(.animate__animated):hover {
    cursor: pointer;
    opacity: .8 !important;
}

.ql {
    width: 40px;
    min-width: 40px;
    height: 40px;
    line-height: 40px;
    display: inline-block;
    text-align: center;
    border-radius: var(--border-radius);
    margin-right: 20px;
    pointer-events: none;
    pointer-events: none;
    position: absolute;
    left: 7px;
    top: 50%;
    font-size: 90%;
    transform: translateY(-50%);
}


._question {
    width: 100%;
    display: flex;
    /*background: #fff;*/
    border-radius: 8px;
    /*max-height: 500px;*/
}

.list-group-item-question {
    display: flex;
    justify-content: space-between;
}

.label-counter span { margin-left: auto;}
.animate__animated.animate__delay-05s {
    -webkit-animation-delay: .5s;
    animation-delay: .5s;
}

.delete-answer-icon {
position: absolute;
right: 52px;
top: 14px;
color: #888;
}

.themes {
    display: flex;
    flex-wrap: wrap;
}

.themes .theme-item {
    width: 20%;
    padding: 4px;
}

.themes .theme {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 20px;
    cursor: pointer;
}
.themes .theme__text { font-size: 14px; font-weight: 500;}
.themes .theme__icon { font-size: 30px; }

.themes .theme.selected {
    border: 3px solid black;
    padding: 4px;
    cursor: default !important;
}

.copy {
    position: absolute;
    z-index: 999;
    background: #fff;
    border-radius: 6px;
    padding: 5px 14px;
    bottom:30px;
    right: 30px;
    text-decoration: none !important;
    color: #000;
}

.copy img {
    width: 109px;
    margin-left: 10px;
}

.success_animation { position: absolute; bottom: 50px; left: 50%; transform: translateX(-50%); }

.quiz-questions-number {
    position: fixed;
    top: 15px;
    left: 25px;
    color: rgb(var(--main-color));
    font-weight: 700;
    font-size: 110%;
}

.quiz-progress-bar {
    position: fixed;
    bottom: 40px;
    width: 90%;
    max-width: 280px;
    height: 5px;
}
.quiz-progress-bar .progress-bar {
    transition: width 1s linear !important;
}

.trivia-game__your-score {
    text-transform: uppercase;
    font-size: 13px;
    margin-top: 30px;
    margin-bottom: 4px;
}
.trivia-game__score {
    font-size: 50px;
    /* padding: 2px 36px; */
    border-radius: var(--border-radius);
}

.image-preloader-container {
    position: absolute;
    top: -9999px;
    left: -9999px;
    width: 0;
    height: 0;
    overflow: hidden;
}

@media (min-width: 768px) {
    .question__options {
        width: 80%;
    }
}

/* Desktop */
@media (min-width: 992px) {
    .question__text { font-size: 2.1em; line-height: 1.1; margin-bottom: 30px;}
    .question__image {
        position: relative;
        top: -30px;
        rotate: -2deg;
    }
    .question__image img {
        border: 8px solid rgb(var(--main-color));
        width: 350px;
        object-fit: contain;
        border-radius: var(--border-radius);
        object-fit: cover;
        max-height: 250px;
    }

    .question__options {
        width: 80%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 1fr;
        gap: 40px;
    }
    .question__option {
        font-size: 1.5em;
        height: auto;
        min-height: 70px;
        width: 100%;
    }

    .ql {
        width: 52px;
        min-width: 52px;
        height: 52px;
        line-height: 52px;
        left: 20px;
        top: 50%;
        margin-right: 20px;
        font-size: 100%;
    }
}
