/* Estilos Gerais */
body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background-color: white; /* Cor primária */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    
    box-sizing: border-box;
    border-bottom: 1.5em solid #ff7a17;
}

b{
    font-weight: 600;
}

#start-screen{
    background-image: url('../img/background-jogo.jpg');
    background-size: cover;
    background-position: center;
}

.screen {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    row-gap: 1em;
    justify-content: space-evenly;
}

.screen.active {
    display: flex;
}

/* Logos */
.logo-container {
    margin-bottom: 20px;
}

.logo {
    max-width: 280px;
    height: auto;
    width:280px;
}

.logo-small {
    max-width: 280px;
    height: auto;
}

#quiz-screen .top-logo {
    margin-bottom: 20px;
    width: 100%;
    text-align: center;
}

#quiz-screen{
    background: #0D66B0;
    padding: 0em 3em;
    background-image:url('../img/forma-fundo-azul.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
}

/* Tela Inicial */
.text-tela-start h2{
    color: #0D66B0;
    font-weight: 300;
    font-size: 4rem;
    margin: 0;
    line-height: 4rem;
}


.text-tela-start h1 {
    font-size: 15rem;
    margin-top: 20px;
    line-height: 1.3;
    color: #0D66B0;
    margin: 0;
    line-height: 15rem;
}

.text-tela-start img{
    width: 75%;
}

.text-tela-start p{
    font-size: 25px;
    color: #0D66B0;
}

/* Botões */
button#start-btn {
    background-color: #ff7a17;
    color: white;
    border: none;
    padding: 30px 150px;
    font-size: 2rem;
    font-weight: 500;
    border-radius: 100px;
    cursor: pointer;
    text-transform: uppercase;
    margin-top: 20px;
    transition: transform 0.2s, background-color 0.2s;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-end;
}

button#start-btn:hover {
    transform: scale(1.05);
    background-color: #e66b10;
}

button#restart-btn {
    background-color: #ff7a17;
    color: white;
    border: none;
    padding: 30px 150px;
    font-size: 2rem;
    font-weight: 500;
    border-radius: 100px;
    cursor: pointer;
    text-transform: uppercase;
    margin-top: 20px;
    transition: transform 0.2s, background-color 0.2s;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-end;
}

button#restart-btn:hover {
    transform: scale(1.05);
    background-color: #e66b10;
}

button#restart-btn img{
    width:40px;
    margin-right: 20px;
    transform: rotate(60deg);
}

.btn-start-aviso img{
    width:40px;
    margin-right: 20px;
}

.btn-start-aviso span{
    color:#0D66B0;
    font-size: 1.2rem;
}

.btn-start-aviso{
    display: flex;
    flex-direction: column;
}

/* Tela do Quiz */
#question-container {
    width: 100%;
}

#question {
    margin-bottom: 30px;
    font-size: 2rem;
    text-align: left;
    font-weight: 400;
    margin-top:0;
    padding: 20px;
}

.btn-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.btn-grid button {
    width: 100%;
    margin: 0;
    padding: 25px;
    background-color: #ffffff;
    color: #0D66B0;
    border: 2px solid transparent;
    transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
    border-radius: 10px;
    text-align: center;
    font-size: 1.8rem;
}

.btn-grid button:hover {
    border-color: #ff7a17;
    transform: translateY(-2px);
}

.btn-grid button.correct {
    background-color: #28a745;
    color: white;
}

.btn-grid button.wrong {
    background-color: #dc3545;
    color: white;
}

#feedback {
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Progresso */
.progress-info {
    font-size: 2rem;
    font-weight: 500;
    margin: 0;
}

#progress-bar-container {
    width: 100%;
    height: 15px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    margin-bottom: 30px;
    overflow: hidden;
}

#progress-bar-fill {
    height: 100%;
    width: 0%;
    background-color: #ff7a17;
    border-radius: 10px;
    transition: width 0.5s ease-in-out;
}

/* Tela de Resultado */
#result-screen{
    background: #0D66B0;
    background-image:url('../img/forma-fundo-azul.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
}

#result-screen h2 {
    font-size: 5rem;
    color: white;
    margin-top: 0.5em;
    text-transform: uppercase;
    font-weight: 300;
    line-height:5rem;
    margin-bottom: 0;
}

#result-screen p {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

#score {
    color: white;
    font-weight: 500;
    font-size: 1.8rem;
}

#result-message {
    margin-top: 20px;
    font-size: 1.3rem;
    line-height: 1.4;
}

/* Responsividade Básica */
@media (max-width: 480px) {
    #start-screen h1 {
        font-size: 1.5rem;
    }
    #question {
        font-size: 1.3rem;
    }
    .btn-grid button {
        padding: 15px;
        font-size: 1rem;
    }
    .logo {
        max-width: 220px;
    }
    .logo-small {
        max-width: 150px;
    }
}

.timer {
  font-family: "Poppins", sans-serif;
    font-weight: 300;
    text-align: center;
    margin: 15px 0;
    color: #fff;
    font-size: 2rem;
    letter-spacing: 1px;
}

.topo-progress-and-timer{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.aviso-btn-voltar h4{
    font-size:2rem;
    line-height:2.2rem;
    font-weight: 400;
}

.result-icon{
    width: 60%;
}