:root {
    --background-cards: #BFE3EF;
    --background-page: #E3F2F7;
    --background-bar: #B0D9EE;
    --font-primary: #1A6E8E;
    --font-secundary: #57C2F8;

}

button {
    cursor: pointer;
}

.hidden {
    display: none !important;
}

body {
    background-color: var(--background-page);
    font-family: "Roboto", sans-serif;

    display: flex;
    flex-direction: column;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 80px;

    width: 100vw;
    height: 100vh;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.informations {
    display: flex;
    gap: 60px;
}

.card {
    display: flex;
    align-items: center;
    background-color: var(--background-cards);
    border-radius: 25px;
    padding: 6px 40px;
    gap: 12px;
}

main p {
    color: var(--font-primary);
    font-size: 1.5rem;
}

main h1 {
    color: var(--font-primary);
    font-size: 3rem;
}

main > p {
    display: flex;
    align-items: center;
    gap: 5px;
}

button.card:hover {
    background-color: white;
}

/* questoes */
section.questionary {
    width: 100vw;
    height: 100vh;

    color: var(--font-secundary);
    font-size: 1.5rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 100px;
}

.card-question {
    width: 90%;
    padding: 40px;

    display: flex;
    flex-direction: column;
    gap: 40px;

    background-color: white;
    border-radius: 16px;
}

.complete {
    width: 100%;
    height: 10px;
    background-color: var(--background-bar);
    border-radius: 16px;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background-color: var(--font-primary);
    border-radius: 16px;
    transition: width 0.3s ease;
}

.answers {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.alternative {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-block: 8px;
    padding-left: 20px;

    border: 3px solid var(--background-bar);
    border-radius: 16px;

    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
}

.alternative:hover {
    border-color: var(--font-secundary);
}

.alternative.selected {
    border-color: var(--font-primary);
    background-color: var(--background-page);
}

.alternative.selected > span {
    background-color: var(--font-primary);
}

.alternative.correct,
.alternative.wrong {
    cursor: default;
}

.alternative.correct:hover,
.alternative.wrong:hover {
    border-color: var(--background-bar);
}

.alternative.correct > span {
    background-color: #B0EEC2;
}

.alternative.wrong > span {
    background-color: #EEB0B1;
}

.alternative > span {
    color: white;
    background-color: var(--background-bar);
    border-radius: 50%;

    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

section.questionary > button {
    background-color: var(--font-primary);
    color: white;
    font-size: 1.5rem;
    
    padding: 26px 40px;
    border-radius: 16px;

    display: flex;
    gap: 15px;
    align-self: flex-end;
    margin-right: 5%;
}

/* questoes */
section.results {
    width: 100vw;
    height: 100vh;

    background-color: white;
    padding: 50px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.result h1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 128px;
    height: 128px;

    border: 1px solid var(--font-primary);
    background-color: var(--background-page);
    border-radius: 50%;

    font-size: 4rem;
    color: var(--font-primary);
}

.result p {
    color: var(--font-primary);
    font-size: 1.5rem;
}

.kpis-cards {
    display: flex;
    gap: 60px;
}

.kpi-card {
    background-color: var(--background-page);
    color: var(--font-primary);
    border-radius: 20px;

    padding: 20px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.kpis-cards p {
    font-size: 1.5rem;
}

.kpis-cards span {
    font-size: 2rem;
}

.actions {
    display: flex;
    gap: 70px;
}

.actions button {
    padding: 30px 40px;
    font-size: 1.5rem;
    border-radius: 20px;
}

.actions button:first-child {
    background-color: var(--background-page);
    color: var(--font-primary);
}

.actions button:last-child {
    background-color: var(--font-primary);
    color: white;
}