/* ======================================
   MISSÃO DO CONHECIMENTO
   style.css
====================================== */


*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:'Poppins',sans-serif;

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    overflow:hidden;

}

/* Fundo */
body::before{

    content:"";

    position:fixed;

    inset:0;

    background:url("menu.png") center center;

    background-size:100% 100%;

    background-repeat:no-repeat;

    z-index:-1;
}

/* Telas */

.tela{

  margin-top:130px;  
   

width:85%;

    display:flex;

    justify-content:center ;

   align-items:flex-end;

    padding:100px;

 justify-content: center;


}

.oculto{

    display:none;

}

/* Painéis */

.painel{

    width:100%;

    max-width:400px;

    border-radius:0px;

    padding:90px;

   
}

/* Títulos */

h1{

    color:#1d3557;

    font-size:42px;

    margin-bottom:15px;

}

h2{

    color:#264653;

    margin-bottom:20px;

}

/* Texto */

p{

    color:#555;

    margin-bottom:25px;

    line-height:1.6;

}

/* Campo Nome */

input{

    width:100%;

    padding:15px;

    border-radius:15px;

    border:none;

    outline:none;

    background:#ececec;

    font-size:18px;

    margin-bottom:20px;

}

/* Botões */

button{

    width:100%;

    padding:10px;

    margin-top:12px;

    border:none;

    border-radius:18px;

    cursor:pointer;

    background:#0077ff;

    color:white;

    font-size:20px;

    font-weight:bold;

    transition:.3s;

}

button:hover{

    transform:translateY(-3px);

    background:#0057d8;

    box-shadow:0 10px 20px rgba(0,0,0,.25);

}

button:active{

    transform:scale(.97);

}

/* Tutorial */

ul{

    text-align:left;

    margin:25px;

}

li{

    margin-bottom:15px;

    font-size:18px;

}

/* MAPA */

.mapa{

    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));

    gap:180px;

    margin-top:-20px;

}

.fase{

    height:100px;

    font-size:20px;

    border-radius:20px;

}

.bloqueada{

    background:#bbbbbb;

    cursor:not-allowed;

}

/* CABEÇALHO DO JOGO */

header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    background:#003566;

    color:white;

    display:flex;

    justify-content:space-around;

    padding:18px;

    font-size:22px;

    box-shadow:0 5px 15px rgba(0,0,0,.3);

}



/* Área principal */

main{

    margin-top:0px;

    width:85%;
 
    max-width:400px;

    background:white;

    padding:25px;

    border-radius:15px;

    box-shadow:0 15px 40px rgba(0,0,0,.2);


}

/* Pergunta */

#pergunta{

    text-align:center;

    font-size:30px;

    margin-bottom:35px;

}

/* Alternativas */

#respostas{

    display:grid;

    gap:18px;

}

.alternativa{

    padding:8px;

    background:#003566;

    border-radius:15px;

    border:3px solid transparent;

    cursor:pointer;

    transition:.3s;

    font-size:20px;

}

.alternativa:hover{

    background:#d8efff;

    border-color:#2196f3;

    transform:scale(1.02);

}

/* Vitória */

#mensagemFinal{

    font-size:22px;

    line-height:1.7;

    margin:30px 0;

}

/* Medalhas */

.medalha{

    font-size:70px;

    margin:25px;

}

/* Responsividade */

@media(max-width:900px){

header{

    font-size:18px;

}

h1{

    font-size:32px;

}

#pergunta{

    font-size:24px;

}

button{

    font-size:18px;

}

.alternativa{

    font-size:18px;

}

}

@media(max-width:600px){

.painel{

    padding:25px;

}

header{

    flex-direction:column;

    gap:8px;

    text-align:center;

}

main{

    margin-top:150px;

}

h1{

    font-size:28px;

}

#pergunta{

    font-size:22px;

}


.imagemFinal{

    width:100%;
    max-width:900px;
    border-radius:20px;
    background: white;
    box-shadow:0 0 20px rgba(0,0,0,.35);
    margin-bottom:0px;

}

#mensagemFinal{

    text-align:center;

}

#mensagemFinal button{

    margin-top:20px;
    padding:15px 35px;
    font-size:20px;
    border:none;
    border-radius:20px;
    cursor:pointer;

}
