body, html {
    overflow-y: scroll !important;
    -webkit-overflow-scrolling: touch;
}

.bg-primario {
    background-color: var(--cor-primaria) !important;
}

.bg-secundario {
    background-color: var(--cor-secundaria) !important;
}

.bg-fundo {
    background-color: var(--cor-fundo) !important;
}

.text-primario {
    color: var(--cor-text-primaria) !important;
}

.text-secundario {
    color: var(--cor-text-secundaria) !important;
}

.text-fundo {
    color: var(--cor-text-fundo) !important;
}

.btn-primario {
    background-color: var(--cor-btn-primaria) !important;
}

.border-btn-primario {
    border: 2px solid var(--cor-btn-primaria) !important;
    color: var(--cor-btn-primaria) !important;
}

.btn-secundario {
    background-color: var(--cor-btn-secundaria) !important;
}

.btn-fundo {
    background-color: var(--cor-btn-fundo) !important;
}

.bg-verde-claro {
    background-color: #c5f5e2 !important;
}

.bg-vermelho-claro {
    background-color: #f5c5d1 !important;
}

.logo {
    width: 400px !important;
}

.icon {
    width: 80px !important;
}

.imgBaner {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 180px;
}

.imgBanerCard {
    position: absolute;
    top: -45px;
    right: 0;
    height: 100px;
    max-height: 120px;
    margin-right: 0px;
}

.opcoesQuest {
    border-radius: 15px !important;
    min-height: 50px !important;
}

.alternativa {
    position: absolute !important;
    border-radius: 100% !important;
    height: 25px;
    cursor: pointer;
    left: 5px;
    border: 2px solid #a0a09f;
    margin: 4px;
    max-width: 25px !important;
    margin-top: 12px !important;
    margin-left: 30px;
}

    .alternativa h6 {
        font-size: 12px !important
    }

.col-11 {
    padding: 5px !important;
    padding-left: 8px !important;
}

.bold {
    font-weight: bold !important;
}

.expand {
    cursor: pointer !important;
    border-radius: 0px 0px 10px 10px !important;
    padding: 5px;
}


.colQuest {
    margin-left: 20px !important;
}

.respQues {
    border-radius: 10px;
    border: 3px solid #461597 !important;
    min-height: 150px;
    max-width: 99%;
}

    .respQues .ordemResp {
        border-radius: 100%;
        width: 50px;
        height: 50px;
        background-color: #FFA500 !important;
        align-items: center;
        display: flex;
        justify-content: center;
        border: #461597 solid 3px !important;
        position: relative;
        left: 0px;
        z-index: 1;
        margin-top: -30px;
        margin-left: 15px;
        color: white;
    }

    .respQues .removeQuest {
        border-radius: 100%;
        width: 30px;
        height: 30px;
        background-color: #FDA497 !important;
        border: solid 2px #F24E1E;
        color: white;
        align-items: center;
        display: flex;
        justify-content: center;
        position: absolute;
        right: 0px;
        z-index: 1;
        margin-top: -20px;
        margin-right: 20px;
        cursor: pointer;
    }

.QuestVerdade {
    background-color: #C7F6CC !important;
    border: solid 2px #0FA958;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    margin-bottom: 5px;
}

    .QuestVerdade img {
        width: 30px;
        height: 30px;
    }

.QuestErrado {
    background-color: #FDA497 !important;
    border: solid 2px #F24E1E;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    margin-bottom: 5px;
}

    .QuestErrado img {
        width: 30px;
        height: 30px;
    }

.noCheck {
    background-color: #D1D1D1 !important;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    margin-bottom: 5px;
}

    .noCheck img {
        width: 30px;
        height: 30px;
    }

.notaQuestao {
    background-color: white;
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    border: 3px solid #461597;
    margin-bottom: 3px;
}

    .notaQuestao input {
        color: #461597;
        font-weight: bold;
        text-align: center;
        font-size: 20px;
    }

        .notaQuestao input:focus {
            color: #461597;
            font-weight: bold;
            display: flex;
            align-items: center;
            text-align: center;
            font-size: 20px;
        }

.imgCard {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 120px;
    margin-right: 20px;
}

.text-ls .ql-align-center span img {
    max-width: 100%;
    height: auto;
}

#flashcards-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 390px;
    height: 560px;
    perspective: 1000px;
}

.flashcard {
    width: 100%;
    height: 100%;
    perspective: 1000px;
}

.flashcard-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.flashcard.flip .flashcard-inner {
    transform: rotateY(180deg);
}

.flashcard-front .title {
    position: absolute;
    top: 5px;
    font-size: 18px;
    letter-spacing: .3rem;
}

.flashcard-front {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    border-radius: 10px;
    background-image: url('../image/FlashCard.png');
    background-repeat: no-repeat;
    background-size: cover;
    color: #F6F6F5;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    word-wrap: break-word;
    text-align: center;
}

.flashcard-content {
    max-width: 100%; /* Garante que o conteúdo se ajuste ao tamanho da div */
    word-wrap: break-word;
    word-break: break-word;
    margin: 25px;
}

.flashcard-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    /* border: 1px solid #FFA500; */
    border-radius: 10px;
    background-image: url('../image/FlashCardVerso.png');
    background-repeat: no-repeat;
    background-size: cover;
    color: #F6F6F5;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

    .flashcard-back .Acertou {
        position: absolute;
        color: green;
        bottom: 3px;
        font-size: 16px;
        cursor: pointer;
        background-color: white;
        border-radius: 5px;
        min-width: 100px;
    }

.flashcard-back {
    transform: rotateY(180deg);
}

.nav-buttons {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

    .nav-buttons button {
        margin: 0 10px;
        padding: 10px 20px;
        font-size: 16px;
        cursor: pointer;
    }

#canvasContainer {
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;
    width: auto; /* Ocupa a largura da imagem de fundo */
    height: auto; /* Ocupa a altura da imagem de fundo */
    max-width: 100%; /* Limita a largura ao máximo da tela */
    max-height: 100%; /* Limita a altura ao máximo da tela */
    overflow: hidden; /* Esconde qualquer conteúdo que extrapole o tamanho */
}

canvas {
    display: block; /* Garante que o canvas se ajuste ao tamanho do pai */
    width: 100%; /* Ocupa toda a largura do pai */
    height: 100%; /* Ocupa toda a altura do pai */
}

#tools {
    /*position: absolute;*/
    top: 10px;
    left: 10px;
    display: flex;
    gap: 10px;
}

#colorPicker {
    margin-left: 10px;
}

#drawingCanvas {
    cursor: crosshair; /* Cursor padrão ao desenhar com lápis */
}

    #drawingCanvas.eraser {
        cursor: url('../assets/image/borracha.png'), auto; /* Cursor personalizado para a borracha */
    }

.discarded {
    font-style: italic;
    text-decoration: line-through;
    opacity: .4;
}

.quescardErro {
    margin-left: 15px;
    background-color: #fabfbf;
    color: #91244b;
    height: 40px;
    padding: 5px;
    border-left: solid;
}

.quescardAcerto {
    margin-left: 15px;
    background-color: #ecf9f5;
    color: #63b69d;
    height: 40px;
    padding: 5px;
    border-left: solid;
}

.quescardAlert {
    margin-left: 15px;
    background-color: #fff3cd;
    color: #857a57;
    height: 40px;
    padding: 5px;
    border-left: solid;
}

.select2-selection {
    background-color: white !important;
    border: none !important;
}

/* Fundo do contêiner principal */
.select2-container--default .select2-selection--single {
    background-color: #f0f0f0; /* Cor de fundo */
    border: 1px solid #ccc; /* Borda */
}

/* Fundo do dropdown */
.select2-container--default .select2-results > .select2-results__options {
    background-color: #ffffff; /* Cor de fundo do dropdown */
    color: #1a2035 !important;
}

/* Cor de fundo do item selecionado no dropdown */
.select2-container--default .select2-results__option--highlighted {
    background-color: #007bff; /* Cor de destaque */
    color: #ffffff; /* Cor do texto */
}

/* Overlay desfocado */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: none;
}

/* Tooltip explicativo centralizado */
.tooltip-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: #fff;
    color: #000;
    padding: 30px;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 550px;
    height: 550px;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Botão de navegação */
.tooltip-box button {
    margin-top: 15px;
}

/* Responsividade */
@media (max-width: 576px) { /* Telas muito pequenas (celulares) */
    .tooltip-box {
        width: 250px;
        height: 250px;
        padding: 20px;
    }

    .tooltip-box p {
        font-size: 14px; /* Texto menor */
    }

    .rank-item-fist {
        min-width: 400px !important;
        max-width: 400px !important;
    }
}

/* Estilos para a lista de mensagens com imagem */
.tooltip-list-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Espaçamento entre a imagem e o texto */
}

.tooltip-list-item img {
        width: 40px; /* Tamanho da imagem */
        height: 40px;
    }

@media print {
    body {
        margin: 0;
        padding: 0;
    }

    main {
        height: auto; /* Garante que todo o conteúdo será visível */
    }

    .hidden-print {
        display: none;
    }

    .page-break {
        page-break-before: always;
    }
}

@keyframes pulsar {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(0, 123, 255, 0.7);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(0, 123, 255, 0.9);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(0, 123, 255, 0.7);
    }
}

/* Aplicando a animação no botão */
.btn-pulsante {
    animation: pulsar 1.5s infinite;
}

.slider-container {
    display: flex;
    align-items: center;
}

.slider-container span {
    min-width: 50px;
    text-align: right;
    margin-right: 10px;
}

@keyframes tremor {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-3px);
    }

    50% {
        transform: translateX(3px);
    }

    75% {
        transform: translateX(-3px);
    }

    100% {
        transform: translateX(0);
    }
}

.newMensagem {
    animation: tremor 0.2s infinite;
}

@media (max-width: 768px) { /* Ajuste conforme necessário */
    .rank-item-fist {
        min-width: 400px !important;
        max-width: 400px !important;
    }
    .fc-header-toolbar .fc-button-group {
        display: none !important;
    }
}