body{
    width: 100vw;
    height: 100vh;
    padding: 0;
    margin: 0;
    user-select: none;
    overflow:hidden;
    z-index: 0;
  
}
#imagemBG{
    width: 100%;
    height: 100%;
    z-index: -1;
    position: absolute;
    object-fit: fill;  
}
body h2,body h1{
    font-family: 'Bangers';
}
#jogo{
    display: none;
    flex-direction:row;
    width: 100%;
    height: 100%;
}


.containerCobreTela{
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    background-color: aliceblue;
    display: flex;
    justify-content: center;
    align-items: center;
}
.espacoContainer{
    width: 50%;
    height: 50%;
    max-height: 60%;
    background-color: aliceblue;
    border-radius: 3rem;
    box-shadow: 2px 2px 2px black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.containerCentralCobreTela{
    width: 60%;
    height: 60%;
    background-color:#2f2929;
    border-radius: 3rem;
    box-shadow: 2px 2px 2px black;
}
#containerJogo{
    width: 85%;
    height: 100%;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #0e0e0e;
}
#containerControle{
    width: 15%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    padding: 1rem;
    background-color:#2f2929;
    
}

.botaoControle{
    width: 50%;
    height: 15%;
    border-radius: 2rem;
    background-color: aliceblue;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
}
.botaoControle i{
    width: 50%;
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
}
#contianerInformacao{
    width: 100%;
    height: 30%;
    border-top: 2px solid brown;
    box-shadow: 2px 2px 2px black;
    display: flex;
    justify-content: center;
    align-items: center;
}

#headerPergunta{
    width: 100%;
    border-radius: 3rem 3rem 0 0;
    color: whitesmoke;
    background-color: #000;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
}

#tituloTemporizador{
    grid-column: 2; /* Coloca o h1 na segunda coluna */
    justify-self: center; /* Centraliza o h1 horizontalmente dentro da coluna */
    align-self: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0; /* Remove qualquer margem padrão */
    padding: 1rem;
}

#contagemErros{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    grid-column: 3; /* Coloca o h1 na segunda coluna */
    justify-self: center; /* Centraliza o h1 horizontalmente dentro da coluna */
    margin: 0; /* Remove qualquer margem padrão */
}
#temporizador{
    border-radius: 50%;
    background-color: whitesmoke;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
}
#temporizador h2{
    margin: 0;
    font-size: 3rem;
}

#containerTexto{
    width: 90%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
#textoPergunta{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 60%;
    max-height: 60%;
    overflow-y: auto;
}
#botoesResposta{
    width: 50%;
    max-width: 60%;
    height: 30%;
    gap: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
#botaoVerdadeiro{
    background-color: rgb(91, 170, 91);
}
#botaoFalso{
    background-color: rgb(187, 84, 84);
}

#espacoContainerResposta{
    padding-bottom: 1rem;
}
.botaoResposta{
    width: 50%;
    padding: 1rem;
    height: 40%;
    border: 1px solid black ;
    display: flex;
    border-radius: 1rem;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px 2px black;
    transition: transform 1s ease;

}

.botaoResposta:hover{
    cursor: pointer;
    transform: scale(1.1);
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(100, 1fr);
    grid-template-rows: repeat(100, 1fr);
    gap: 2px; /* Espaço entre os elementos */
    width: 100vw;
    height: 100vh;
}

.tabuleiroPasso {
    background-color: rgb(0, 0, 0);
    width: 100%;
    height: 100%;
}


.cobreTela{
    width: 100%;
    height: 100%;
    
    backdrop-filter: blur(4px);
    top: 0;
    left: 0;
    position: absolute;
    background-color:rgba (0,0,0,.2);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2;
}




@keyframes girar {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes piscarVermelho {
    0% { background-color: #fff; }
    50% { background-color: red; }
    100% { background-color: #fff; }
}

@keyframes piscarVerde {
    0% { background-color: #fff; }
    50% { background-color: green; }
    100% { background-color: #fff; }
}

.piscandoVermelho {
    animation: piscarVermelho 0.5s;
}

.piscandoVerde {
    animation: piscarVerde 0.5s;
}

#vidas {
    width: 100%;
    max-width: 400px;
    background-color: #ddd;
    border: 1px solid #000;
    height: 30px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

#barraVida {
    height: 100%;
    background-color: #f00;
    width: 100%; /* Inicialmente 100% */
    transition: width 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}


#contadorProximaPergunta{
     font-size: 1.5rem; 
     color: white; 
     text-align: center; 
     margin-top: 10px;
     display:none;
     flex-direction:column;
     justify-content: center;
     align-items: center;
}
#contagemProxPergunta{
    width: 2rem;
    height: 2rem;
    padding: 1rem;
    color: black;
    border-radius: 50%;
    background-color: whitesmoke;
}

#botoesInicio{
    width: 70%;
    height: 30%;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 3rem;
    padding: 1rem;
    text-align: center;
}
#inicioJogo{
    justify-content: center;
    align-items: end;
}
.botaoInicio{
    width: 30%;
    height: 20%;
    border-radius: 3rem;
    color: rgb(34, 34, 34);
    background-color: whitesmoke;
    border: 1px solid black;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: .5;
    transition: opacity 1s ease;
    font-size: 1rem;
    padding: 1rem;
}

.botaoInicio:hover{
    cursor: pointer;
    opacity: 1;
}

#botaoPularVideo{
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: black;
    background-color: whitesmoke;
    opacity: .5;
    display: none;
    justify-content: center;
    align-items: center;
    width: 20%;
    height: 20%;
    padding: 1rem;
    text-align: center;
    border-radius: 3rem;
    transition: opacity 1s ease;
}
#botaoPularVideo:hover{
    cursor: pointer;
    opacity: 1;
}

