#gameContainer{
    width:100vw ;
    height: 100vh;
    background-color: #0E131C;
    display: flex;
    flex-direction: row;
    position: relative;
    justify-content: end;
    align-items: center;
    
}

table {
    width: 100%;
    border-collapse: collapse;
}
th, td {
    border: 1px solid black;
    padding: 8px;
    text-align: left;
    white-space: nowrap;
    transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.3s ease; /* Adiciona transição para a cor de fundo */
}

th {
    background-color: #f2f2f2;
}

th:hover, td:hover {
    background-color: #d1d1d1; /* Cor de fundo mais escura ao passar o mouse */
}
#divReferencias{
    display: none;
    background-color:rgba(203, 167, 105, 0.9);
    width:100%;
    height:100%;
    max-height: 100%;
    overflow-y:hidden;
    position:absolute;
    z-index:4;
    background-position: center;
    
    
}

#divReferencias>img{
    width: 100%;
    height: 100%;
}
#cabecalhoReferencia{
    font-family: 'Bangers';
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20%;
}
#cabecalhoReferencia>*{
    margin: 0;
}

#tabelaReferencia {
    display: flex;
    flex-direction: column;
    text-align: center;
    position: absolute;
    max-width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    max-height: 70%;
    z-index: 5;
    overflow: auto;
    background-color: rgba(255, 255, 255, 1); /* Transparência inicial */
    transition: width 1s ease, height 1s ease, opacity 0.3s ease; /* Adiciona transição para opacity */
    padding: 1rem;
    border-radius: 3rem;
    opacity: 1; /* Transparência inicial */
    font-size: .8rem;
}



tr:hover {
    z-index: 1; /* Para garantir que a linha destacada fique acima das outras */
}
#gameControllerContainer{
    background-color: #0E131C;
    height: 100%;
    width: 10%;
    border: 5px solid rgba(0, 0, 0, 0.2); /* Para visualização */
    display: flex;
    flex-direction: column;
   
    align-items: center;
    justify-content: center;
    gap: 5%;
}
.buttonController{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #EBE7D6;
    width: 3rem;
    height: 3rem;
    transition: background-color .5s ease,color .5s ease;
}

.buttonController:hover{
    cursor: pointer;
    background-color: #5d5d5b;
    color: #EBE7D6 ;

}

.buttonController i{
    font-size:1.5rem
}

.buttonController:last-child{
    border-radius: 50%;
}

#mapContainer {
    display: grid;
    grid-template-columns: repeat(100, 1fr);
    grid-template-rows: repeat(100, 1fr);
    left: 0;
    top: 0;
    width: 85%;
    height: 90%;
    padding: .2rem;
 

    background-image: url('../assets/background/ladrilhos.PNG');
    position: relative;
}


/* Gradiente para a borda esquerda */
#mapContainer::before,
#mapContainer::after {
    content: "";
    position: absolute;
    z-index: 2;
    width: 15px;
    height: 100%;
    background: linear-gradient(to bottom, #2b2e2f, #ffffff);
}

#mapContainer::before {
    left: 0;
    top: 0;
}

/* Gradiente para a borda superior */
#mapContainer::before,
#mapContainer::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 15px;
    background: linear-gradient(to right, #6b6e6f, #f4f3ee);
}

#mapContainer::before {
    top: 0;
    left: 0;
}


#player {

    background-image: url('../assets/character/personagem.png'); /* Caminho para sua imagem sprite */
    background-size: contain; /* Ajusta o tamanho da imagem ao tamanho do elemento */
    background-repeat: no-repeat; /* Não repetir a imagem */
    z-index: 3;
    position: absolute;
    width: 30px;
    height: 40px;
}



#containerDesvendarCaso{
    width: 100%;
    height: 70%;
    padding: 2rem;
    display: flex;
    flex-direction: column;

}

#botaoDesvendar{
    display: flex;
    flex-direction: column;
    padding: 1rem;
    width: 100%;
    gap: 2rem;
}
#botoesResposta{
    display: flex;
    flex-direction: row;
    gap: 2rem;
    width: 100%;
    justify-content: center;
    align-items: center;
}

#botoesResposta button{
    width: 15%;
    padding: 1rem;
    
    background-color: #5d5d5b;
    color: #EBE7D6;
    border-color: #000;
    transition: background-color .5s ease,color .5s ease;
}

#containerDesvendarCasoResposta{
    width: 100%;
    height: 80%;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

#alternativasDesvendarCaso{
    width: 100%;
    height: 70%;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    justify-content: center;
    align-items: center;
}

.alternativaDesvendarCaso{
    display: flex;
    width: 90%;
    height: 30%;
    font-size: 1.5rem;
    padding: 1rem;
    border-radius: 3rem;
    border: 2px solid white;
    align-items: center;
    background-color: #EBE7D6 ;
    color: black;
    
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Adicionar sombra */

    transition: background-color .5s ease, color .5s ease;
}


.alternativaDesvendarCaso:hover{
    background-color: #5d5d5b;
    color: #EBE7D6 ;
    cursor: pointer;

}






#botoesResposta button:hover{
    background-color: #EBE7D6;
    color: black ;
    cursor: pointer;

   
}

#containerDesvendarCaso > :last-child{
    justify-content: center;
    display: flex;
    margin-top: auto;
    display: flex;
    text-decoration: underline;
    font-style: italic;
    font-weight: bold;
}

#quantidadeRestanteDesvendar h5{
    font-weight: bold;
    font-size: 1.7rem;
}

#cobreTelaGameContainer{
    width: 100%;
    height: 100%;
    display: none;
    position: absolute;
    z-index: 1000;
    background-color: black;
}

.porta {
    position: relative;
    width: 50%; /* Largura da porta */
    height: 10%; /* Altura da porta */
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4); /* Sombra interna para profundidade */
}


.cima{
    top:100%;
    left: 25%;
    background: linear-gradient(
        to bottom, 
        rgba(255, 255, 128, 0.8) 0%,   /* Amarelo mais forte e mais opaco */
        rgba(255, 255, 224, 0.4) 70%,   /* Amarelo claro e mais transparente */
        rgba(255, 255, 224, 0) 100%     /* Cor completamente transparente */
      );
}

.baixo{
    bottom:0%;
    left:25%;
    background: linear-gradient(
        to top, 
        rgba(255, 255, 128, 0.8) 0%,   /* Amarelo mais forte e mais opaco */
        rgba(255, 255, 224, 0.4) 70%,   /* Amarelo claro e mais transparente */
        rgba(255, 255, 224, 0) 100%     /* Cor completamente transparente */
      );
}

#prontoSocorro .baixo{
    background: linear-gradient(
        to bottom, 
        rgba(255, 255, 128, 0.8) 0%,   /* Amarelo mais forte e mais opaco */
        rgba(255, 255, 224, 0.4) 70%,   /* Amarelo claro e mais transparente */
        rgba(255, 255, 224, 0) 100%     /* Cor completamente transparente */
      );
}

#enfermaria .cima{
    background: linear-gradient(
        to top, 
        rgba(255, 255, 128, 0.8) 0%,   /* Amarelo mais forte e mais opaco */
        rgba(255, 255, 224, 0.4) 70%,   /* Amarelo claro e mais transparente */
        rgba(255, 255, 224, 0) 100%     /* Cor completamente transparente */
      );
}

#enfermaria .baixo{
    background: linear-gradient(
        to bottom, 
        rgba(255, 255, 128, 0.8) 0%,   /* Amarelo mais forte e mais opaco */
        rgba(255, 255, 224, 0.4) 70%,   /* Amarelo claro e mais transparente */
        rgba(255, 255, 224, 0) 100%     /* Cor completamente transparente */
      );
}

.cimaLocalInferior{
    background: linear-gradient(
        to top, 
        rgba(255, 255, 128, 0.8) 0%,   /* Amarelo mais forte e mais opaco */
        rgba(255, 255, 224, 0.4) 70%,   /* Amarelo claro e mais transparente */
        rgba(255, 255, 224, 0) 100%     /* Cor completamente transparente */
      );
}
.laterais{
    width: 10%;
    height: 50%;
}

.direita{
    left:100%;
    top: 25%;
    background: linear-gradient(
        to right, 
        rgba(255, 255, 128, 0.8) 0%,   /* Amarelo mais forte e mais opaco */
        rgba(255, 255, 224, 0.4) 70%,   /* Amarelo claro e mais transparente */
        rgba(255, 255, 224, 0) 100%     /* Cor completamente transparente */
      );
}

.esquerda{
    left: -10%;
    bottom:25%;
    background: linear-gradient(
        to left, 
        rgba(255, 255, 128, 0.8) 0%,   /* Amarelo mais forte e mais opaco */
        rgba(255, 255, 224, 0.4) 70%,   /* Amarelo claro e mais transparente */
        rgba(255, 255, 224, 0) 100%     /* Cor completamente transparente */
      );
}

#fullscreenModal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%; /* Ajuste o tamanho conforme necessário */
    height: 80%; /* Ajuste o tamanho conforme necessário */
    max-width: 90%;
    max-height: 90%;
}

.botaoCheck{
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    font-size: 1rem;
    background-color: whitesmoke;
    border-radius: 50%;

}

#financeiro { grid-column: 1 / span 10; grid-row: 1 / span 10; background-color: #BF7C75; }
#ambulatorio { grid-column: 20 / span 10; grid-row: 1 / span 10; background-color: #BFA648; }
#blocoCirurgico { grid-column: 40 / span 15; grid-row: 1 / span 8; background-color: #50BF3B; }
#postoEnfermagem { grid-column: 65 / span 10; grid-row: 1 / span 10; background-color: #BF7F48; }
#laboratorio { grid-column: 90 / span 11; grid-row: 1 / span 10; background-color: #51BFBB; }

#laboratorio .esquerda,
#recepcao .esquerda,
#UTI .esquerda{
    bottom: 0;
    top:25%
}

#enfermaria .esquerda{
    top:0;
    bottom:0;
}

#enfermaria .cima{
    top:-10%;
}

#enfermaria .baixo{
    top:90%;
    
}



.cimaLocalInferior{
    top:-10%;
    left: 25%;
}




#repousoMedico .esquerda{
    bottom: 0;
    top:25%
}


#areaInicio { grid-column: 1 / span 8; grid-row: 40 / span 30; display: flex;align-items: end;}
#areaInicio img{
    width: 70%;
    height: 100%;
    object-fit: contain;
}

#oncologia { grid-column: 15 / span 20; grid-row: 22 / span 10; background-color: #52BF91; }
#recepcao { grid-column: 17 / span 15; grid-row: 45 / span 10; background-color: #797979; }
#prontoSocorro { grid-column: 15 / span 20; grid-row: 67 / span 10; background-color: #679ABF; }
#lanchonete { grid-column: 45 / span 15; grid-row: 35 / span 40; background-color: #FFAC4F; }
#UTI { grid-column: 72 / span 10; grid-row: 22 / span 50; background-color: #FF849A; }
#enfermaria { grid-column: 90 / span 11; grid-row: 40 / span 30; background-color: #B7BF48; }
#diretoria { grid-column: 1 / span 10; grid-row: 90 / span 11; background-color: #A9BF2A; }
#radiologia { grid-column: 20 / span 10; grid-row: 92 / span 9; background-color: #BF60AC; }
#farmacia { grid-column: 40 / span 15; grid-row: 92 / span 9; background-color: #6984BF; }
#pediatria { grid-column: 65 / span 15; grid-row: 92 / span 9; background-color: #BF8F70; }
#repousoMedico { grid-column: 90 / span 11; grid-row: 90 / span 11; background-color: #867FBF; }


.localEstrutura {
    z-index: 3;
    position: relative;
    box-shadow: 
        inset 0 0 0 5px rgba(0, 0, 0, 0.6), /* Borda interna preta com opacidade */
        0 4px 8px rgba(0, 0, 0, 0.3);      /* Sombra externa para profundidade */
}

.conteudoLocal{
    width: 100%;
    height: 80%;
    position: absolute;
    /* top: 50%;
    left: 50%;
    transform: translate(-50%,-50%); */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Bangers';
    line-height: 0 !important;
    font-size: .5rem;
    color: whitesmoke;
    text-shadow: 
            1px 1px 0 #000,  
            -1px -1px 0 #000,  
            1px -1px 0 #000,  
            -1px 1px 0 #000,  
            1px 1px 5px #000; 
}

.textoMenor{
    font-size: .5rem;
}
.textoLocal{
    width: 100%;
}
.textoLocal h4 {
    margin: 0;
    padding: 0;
    overflow: hidden; /* Oculta o texto que transborda */
    text-overflow: ellipsis; /* Adiciona "..." no final do texto que não cabe */
    width: 100%; /* Garante que a largura do texto não exceda o contêiner */
    text-align: center;
}
.iconeLocal i{
    font-size: .5rem;
}

#sairCasoContainer{
    height: 60%;
}


#botoesSairCaso{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50%;
    gap: 1rem;
}
#botoesSairCaso button{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40%;
    height: 80%;
    padding: 1rem;
}


.divControladasBotoes{
    display: none;
    flex-direction: column;
    position: absolute;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}



.containerControladoBotoes{
    display: flex;
    flex-direction: column;
    width: 90%;
    height: 90%;
    background-color: #D6D3C9;
    align-items: center;
    gap: 1rem;
}

.headerControladoBotoes{
    color: #504E49;
    display: flex;
    width: 90%;
    height: 15%;
    justify-content: space-between;
    align-items: end;
}

.headerControladoBotoes h1{
    font-size: 1.5rem;
}



#pistasContainer{
    width: 90%;
    height: 80%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    justify-items: center;
    align-items: center;
    gap: 1rem;
}

#inicioJogo {
    width: 100%;
    height: 100%;
    z-index: 10001;
    top: 0;
    left: 0;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom right, #52756C, #5D957D, #728C7D, #BCA87A, #EBD494);
}


#selecionaCaso{
    display: flex;
    width: 100%;
    height: 90%;
    z-index: 1;
    background-color: rgba(0,0,0,0.5);
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

#tituloSelecionaCasos{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 20%;
    font-family: 'Bangers';
    color: whitesmoke;
    text-shadow: 
            1px 1px 0 #000,  
            -1px -1px 0 #000,  
            1px -1px 0 #000,  
            -1px 1px 0 #000,  
            1px 1px 5px #000; 
}

#tituloSelecionaCasos h1{
    font-size: 6rem;

}

.containerCasosInicio{
    width: 70%;
    height: 60%;
    background-color: rgba(0, 0, 0, 0.7);
}

#botaoIniciarCaso{
    width: 100%;
    height: 20%;
    gap: .5rem;
    display: flex;
    justify-content: center;
}

#descricaoCaso{
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap:1rem
}
#descricaoCasoH1{

    color: whitesmoke;
    padding: 2rem;
    overflow-y: auto;
}

#descricaoCasoH1 h1{
    text-align: justify;
}
.botoesInicioCaso{
    border-radius: 3rem;
    width: 30%;
    text-align: center;
}

#containerCasos {
    display: flex;
    flex-direction: row;
    gap: 1.25%;
    
    justify-content: flex-start; /* Alinhar ao início */
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden; /* Garantir que não haja rolagem vertical */
    white-space: nowrap; /* Impedir quebra de linha */
    padding: 1rem;
}

.cartoesCasos {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90%;
    min-width: 25%;
    max-width: 25%;
    background-color: white;
    flex-shrink: 0; /* Impedir que os cartões encolham */
    font-family: 'Bangers';
    color: black;
    position: relative;
    text-shadow: 
            1px 1px 0 #fff,  
            -1px -1px 0 #fff,  
            1px -1px 0 #fff,  
            -1px 1px 0 #fff,  
            1px 1px 5px #fff; 
    transition: transform 0.5s ease; /* Alterar para transform */

    background: white url(https://viewder.com.br/v2/games/medical-detective/assets/images/casos/caso-1.jpg) no-repeat center center;
    background-size: contain;
}
.cartoesCasos i{
    font-size: 3rem;
}
.cartoesCasos:hover {
    cursor: pointer;
    transform: scale(1.05); /* Aumentar o tamanho do cartão */
}

.cartoesCasos h1{
    
}
#inicioJogo img {
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0.5; /* Define a transparência, 0.5 é 50% de opacidade */
    filter: blur(6px); /* Aplica um desfoque de 5px */
}

#containerInicioJogo{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 60%;
    height: 80%;
    z-index: 1;
    flex-direction: column;
    font-family: 'Bangers';
    color: whitesmoke;
    text-shadow: 
            1px 1px 0 #000,  
            -1px -1px 0 #000,  
            1px -1px 0 #000,  
            -1px 1px 0 #000,  
            1px 1px 5px #000; 

}

#containerInicioJogo h1{
    font-size: 6rem;
}


#containerInicioJogo h2{
    font-size: 5rem;
}
#headerInicioJogo{
    width: 100%;
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

#botoesInicioJogo{
    width: 100%;
    height: 30%;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    align-items: center;
}

#botoesInicioJogo button{
    font-size: 2rem;
    padding: 1rem;
    border-radius: 3rem;
    width: 30%;
    border: none;
    background-color: rgba(59, 102, 78, 0.6); /* Verde translúcido */
    transition: background-color 1s ease;
}
#botoesInicioJogo button:hover{
    background-color: rgba(59, 102, 78, 1); /* Verde translúcido */
    cursor: pointer;

}

.pistas p{
    text-align: center;
    display: inline-block;
    width: 100%;
    margin: 0;
}

.pistas {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 90%;
    background-color: #D7B284;
    box-shadow: 5px 5px 5px black;
    font-size: 1rem;
    color: #252525;
    font-weight: bold;
    transition: transform 1s ease, font-size 1s ease; /* Alterar transições */
}

.pistas:hover {
    cursor: pointer;
    transform: scale(1.1); /* Escalonar o elemento */
    font-size: 1.5rem;
}

body{
    user-select: none;
    font-family: 'Bangers';
    color: whitesmoke;
 
}



#divPerguntas{
    display: none;
    position: absolute;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 100%;
    height: 100%;
    z-index: 1001;
    background-color:#e0e0e0;
    
}

#divPerguntas img{
    width: 100%;
    height: 100%;
    position: absolute;
    border-radius: 3rem;
    z-index: 0;
    opacity: 0.5;
}
#containerPerguntas{
    display: flex;
    flex-direction: column;
    width: 70%;
    height: 90%;
    border-radius: 3rem;
    position: relative; /* Garante que o conteúdo dentro do contêiner será posicionado em relação ao contêiner */
    background-color: rgba(0, 0, 0, 0.7);
   

}

#divSairPerunta{
    display: flex;
    flex-direction: column;
    min-height: 20%;
    max-height: 60%;

    position: absolute;
    background-color: #9b9583;
    font-size: 1.5rem;
    padding: 1rem;
    gap: 1rem;
    color: white;
    justify-content: space-around;
    border: 1px solid black;
}

#confirmacaoSair h4,#containerBotoesSairPergunta h5{
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);

}


#cobreTelaSair{
    backdrop-filter: blur(6px);
    background-color: rgba(0, 0, 0, 0);
}

#confirmacaoSair{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
}


#containerBotoesSairPergunta{
    display: flex;
    flex-direction: row;
    gap: 2rem;
    width: 100%;
    height: auto;
    justify-content: center;
    align-items: center;
}
#containerBotoesSairPergunta div{
    display: flex;
    border: 2px solid rgb(58, 58, 58);
    border-radius: 2rem;
    width: 25%;

    justify-content: center;
    align-items: center;
    transition: transform .5s ease;

}

#containerBotoesSairPergunta div:hover{
    cursor: pointer;
    transform: scale(1.2);
}


#pergunta{
    width: 100%;
    height: 50%;
    max-height: 50%;   
    overflow-y: auto;
    display: flex;
    justify-content: center;
    align-items:baseline;
    padding: 2rem;
    border-bottom: 1px solid black;
    z-index: 1;
}

#pergunta h1 {
    color: whitesmoke;
    font-size: 1rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}


#containerInformaAcertos{
    display: flex;
    flex-direction: row;
    gap: 3%;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 10%;
    border-bottom: 1px solid black;
    background-color: rgba(255,255,255,0.3);
    z-index: 1;
}

.bolinhaAcerto{
    text-align: center;
    width: 1rem;
    height: 1rem;
    font-size: .5rem;
    background-color: beige;
    border-radius: 50%;
    border: 2px solid black;
    transition: background-color 0.5s ease;
    z-index: 1;
}

.active{
    background-color: #fdff00;
}

.activePistas{
    background-color: #D89240;
}

#pistaDiv{
    background-color: whitesmoke;
}


#containerPista{
    width: 60%;
    height: 90%;
    display: flex;
    flex-direction: row;
    border: 1px solid black;
    border-radius: 0px 3rem 3rem 0px;
    gap: 1rem;
    box-shadow: 10px 10px rgb(36, 36, 36);
    background-color: white;
}

#conteudoPista{
    width: 90%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: 1rem;
}



#headerConteudoPista{
    width: 100%;
    height: 20%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    color: #006595;

}
#position0HeaderPista{
    width: 30%;
    height: 100%;
}

#position0HeaderPista h1,#position1HeaderPista h3{
    font-size: 1.5rem;
}


#pistaLocalizacaoAtual{
    height: 50%;
    max-height: 50%;
    overflow-y: auto;
}

#headerPistasRecolhidasContainer h1{
    font-size: 1.2rem;
    margin: 0;

}
#entradaPapelDiv{
    width: 5%;
    height: 100%;
    background-color: #252525;
    display: flex;
    flex-direction: column;
    gap: 1%;
    justify-content: center;
    align-items: center;
    
}
.bolaEntradaDiv{
    width: 1rem;
    max-width: 100%;
    border-radius: 50%;
    height:4%;
    clip-path: circle();
    border: 1px solid white;
    background-color: rgb(58, 58, 58);
}
#alternativas{
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    width: 100%;
    height: 100%;
    max-height: 50%;
    z-index: 1;
}

#containerAlternativas{
    display: flex;
    flex-direction: column;
    width: 90%;
    height: 100%;
    max-height: 100%;
    /* background-color: white; */
    justify-content: flex-start;
    overflow-y: auto;
    align-items: center;
    padding: 1rem;
}

#iconeFecharPergunta{
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: end;
    border-radius: 3rem;
    font-size: 2rem;
    padding: 2rem;
}
.iconeFechar{
    background-color: whitesmoke;
    border-radius: 50%;
    transition: transform 0.5s ease;
}

.iconeFechar:hover{
    cursor: pointer;
    transform: scale(1.5); /* Aumentar o tamanho do cartão */
}

#contadorContainer{
    
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0.5rem;
    width: 100%;
    height: 15%;
}

#contador{
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Bangers';
    color:#252525;
    background-color:white ;
    border-radius: 3rem;
}


.alternativa{
    width: 100%;
    border: 1px solid black;
    background-color: #EBE7D6;
    transition: background-color .5 ease, color .5 ease;
    font-size: 1rem;

}

.alternativa:hover{
    background-color: #5d5d5b;
    color: #EBE7D6 ;
    cursor: pointer;

    
}

.alternativa button{
    font-weight: bold;
    text-align: left;
    width: 100%;
    padding: 2rem 0;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}


#pistasRecolhidasDiv,#desvendarDiv,#sairCaso{
    z-index: 1002;
}

#desvendarCasoContainer{
    max-height: 90%;
    overflow-y: auto;
}

#botaoConteudoFecharAcerto h4{
    border: 2px solid white;
    padding: 1rem;
}

.containerFinalizacao{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #001225;
    border: 2px solid whitesmoke;
    border-radius: 3rem;
    width: 80%;
    height: 80%;
    color: whitesmoke;
    padding: 2rem;
}


#headerErrou{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 20%;
}

#conteudo{
    width: 100%;
    height: 70%;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.botaoFechar{
    width: 100%;
    height: 10%;
    display: flex;
    justify-content: center;
}

#botaoConteudoFechar{
    width: 40%;
    height: 100%;
    border: 2px solid whitesmoke;
    box-shadow: 1px 1px black;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 3rem;
    transition: width .5s ease,height .5s ease, font-size .5s ease;
}

#botaoConteudoFechar:hover{
    width: 50%;
    height: 110%;
    cursor: pointer;
}


#tutorial{
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(2px);
    position: absolute;
    top: 0;
    left:0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;

}

#telaCobre{
    width: 100vw;
    height: 100vh;
    position: absolute;
    z-index: 3;
}


#imagensTutorial{
    width: 70%;
    height: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#divImagensTutorial{
    display: flex;
    width: 70%;
    height: 50%;
    flex-direction: row;
    justify-content: space-between;
    color: whitesmoke;
}


#divImagensTutorial img{
    width: 40%;
    height: 100%;
    object-fit: contain;
}

#conteudoImagensTutorial{
    display: flex;
    justify-content: center;
    align-items: center;
    color: whitesmoke;
}


#botaoIniciarJogoTutorial{
    background-color: whitesmoke;
    padding: 1rem;
    border-radius: 2rem;
    position: initial;
    z-index: 4;
}

#botaoIniciarJogoTutorial:hover{
    cursor: pointer;
}



#carrossel{
    position: relative;
    overflow: hidden;
    background-color: black;
    width: 100%;
    max-width: 100%;

}
.slide{
    min-width: 100%;
    box-sizing: border-box;
}

#containerImagens{
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.imagemCarrossel{
    height: 100%;
    position: relative;
    left: 50%;
    transform: translate(-50%,0);
    object-fit: contain;
}

.prev, .next {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 24px;
    transform: translateY(-50%);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}



.joystick-container {
    position: fixed;
    width: 150px;
    height: 150px;
    display: none; /* Esconde o joystick inicialmente */
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Garante que o joystick fique acima de outros elementos */
}

.joystick-base {
    position: relative;
    width: 100px;
    height: 100px;
    background-color: #ddd;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.joystick-knob {
    width: 50px;
    height: 50px;
    background-color: #666;
    border-radius: 50%;
    position: absolute;
    cursor: pointer;
    transition: all 0.1s;
}
