/* Rosa cacto: #f78f96
Azul abajur: #89c9c9
Roxo quadros: #bea1d1
Laranja cadeira: #edb25d
Verde planta: #8dc482
Cinza cartola: #606061
Amarelo prateleira: #f2e581
Azul luminária: #88cfff
Rosa relógio: #eac3e7
Roxo guarda chuva: #bec5ff */

/* Background: #f2f2eb
Textos: #506c7d */

* {
    background-color: #f2f2eb;
}

html, body {
    position: relative;
    width: 100%;
    height: 100%;
}

html {
    box-sizing: border-box;
    font-size: 62.5%;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

@media (max-width: 768px){
    .logo { 
        padding: 10px;
    }

    .logo img { 
        width: 20%;
        padding: 20px 0 0;
    }
}

@media (max-width: 768px){
    .logo img {
        width: 35%;
        padding: 10px 0 0;
    }
}

/* iniciar */

h1 {
    font-size: 1.6rem;
    text-transform: uppercase;
    font-family: "Lato";
    font-weight: 600;
    color: #506c7d;
}

@media (max-width: 768px){
    h1 { 
        margin: 6px;
        font-size: 14px;
    }
}

@media (max-width: 375px){
    h1 { 
        margin: 6px;
        font-size: 0.2em;
    }
}

.header-iniciar h2 {
    font-size: 3.4rem;
    color: #506c7d;
    margin-bottom: 0;
    font-family: "Estado Fine", serif;
}

@media(max-width: 768px){
    .header-iniciar h2 {
        font-size: 2.9rem;
        font-family: "Estado Fine", serif;
        color: #506c7d;
        margin-bottom: 0;
        margin-top: 0;
    }
}


.header-iniciar p { 
    font-family: "Lato";
    font-weight: 400;
    font-size: 2rem;
    color: #506c7d;
    margin-top: 10px;
}

@media(max-width: 768px){
    .header-iniciar p {
        font-size: 0.4em;
    }
}

@media(max-width: 375px){
    .header-iniciar p { 
        font-size: 0.3em;
        font-family: "Lato";
        font-weight: 400;
    }
}

.inicial { 
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
}

@media (max-width: 768px){
    .inicial { 
        flex-direction: column;
        width: 100%;
    }
}

.pag-inicial { 
    float: left;
    width: 100%;
    height: 100%;
}

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

/* perguntas */

.swiper-container {
    width: 100%;
    height: 90%;
    position: absolute;
    background-color: #f2f2eb;
}

.swiper-slide {
    text-align: center;
    font-size: 48px;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    flex-direction: row;
    overflow: hidden;
}

.andar {
    max-width: 1000px;
    width: 100%;
}

.illustration-container {
    position: relative;
    padding-bottom: 72.2%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.illustration-welcome {
    width: 800px;    
    max-width: 100%;
}

@media(max-width: 1289px){
    .illustration-welcome {
        width: 720px;
        max-width: 100%;
    }

    .andar {
        max-width: 800px;
        width: 100%;
    }

    .pergunta-resposta {
        width: 300px;
    }

    .errou img, 
    .acertou img {
        height: 60px;
    }

    .expediente {
        width: 34%;
        line-height: 1.1rem;
        bottom: 1px;
    }
}

@media(max-width:768px){
    .illustration-welcome{
        width: 80%;
        max-width: 120%;
    }
}

.portas {
    position: absolute;
    width: 16.69%;
    height: 42.23%;
    top: 37.74%;
    left: 42.89%;
    overflow: hidden;
}

.porta.esquerda {
    background-color: #f2f2eb;
    position: absolute;
    left: 0;
    width: 50%;
    height: 100%;
    top: 0;
    border-right: 2px solid #b4a39c;
    box-shadow: inset 0px -2px 0 0px #b4a39c;
    transition: all 1s ease-in-out;
}

.porta.direita {
    background-color: #f2f2eb;
    border: 2% solid red;
    right: 0;
    width: 50%;
    height: 100%;
    top: 0;
    position: absolute;
    border-left: 2px solid #b4a39c;
    box-shadow: inset 0px -2px 0 0px #b4a39c;
    transition: all 1s ease-in-out;
}

.abertas .esquerda {
    transform: translateX(-100%);
}

.abertas .direita {
    transform: translateX(100%);
}

.ilustracao-container img { 
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}

.swiper-slide.swiper-slide-active.slide-fundoAzul {
    background-color: #506c7d;
}

/* perguntas containers */

.quiz {
    width: 100%;
    display: flex;
    height: 100%;
    flex-wrap: wrap;
    flex-direction: row;  
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

@media(max-width:1024px){
    /* .quiz {
        flex-direction: column-reverse;
    } */

    .andar {
        max-width: 800px;
        width: 100%;
    }
}

@media(max-width:768px){
    .quiz {
        flex-direction: column-reverse;
    }
}


.abertura {
    overflow: hidden;
    display: flex;
}

.pergunta-resposta {
    float: right;
    display: flex;
    flex-direction: column;
}

@media(max-width: 768px){
    .pergunta-resposta {
        max-width: 85%;
    }
}

.pergunta-resposta {
    align-items: center;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

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

.pergunta-txt {
    font-family: "Lato";
    text-align: center;
    color: #506c7d;
    font-weight: 400;
    font-size: 2rem;
    margin: 16px 0;
    max-width: 355px;
}

@media (max-width: 768px){
    .pergunta-txt {
        /* margin: 0px 0 11px 0; */
        font-weight: 400;
        font-family: "Lato";
        font-size: 2rem;
        margin: 15px 0;
    }
}

@media (max-width: 375px){
    .pergunta-txt {
        /* margin: 0px 0 11px 0; */
        font-weight: 400;
        font-family: "Lato";
        font-size: 1.8rem;
        margin: 15px 0;
    }
}

.resposta-txt {
    font-weight: 400;
    text-align: center;
    color: #506c7d;
    font-family: "Lato";
    font-size: 2rem;
    max-width: 355px;
    margin: 16px 0;
}

@media(max-width: 768px){
    .resposta-txt {
        font-family: "Lato";
        font-size: 1.8rem;
        margin: 15px 0;
    }
}

@media (max-width: 375px){
    .resposta-txt {
        font-family: "Lato";
        font-size: 1.5rem;
        margin: 1em 0;
        font-weight: 400;
    }
}


.lista {
    font-family: "Lato";
    font-weight: 600;
    width: 50%;
    color: #506c7d;
    font-size: 20px;
}

@media (max-width: 768px){
    .lista {
        margin: 0;
        font-size: 0.3em;
    }
}

.resposta-title {
    font-family: "Lato";
    font-weight: 600;
    width: 50%;
    color: #506c7d;
    font-size: 2rem;
    text-transform: uppercase;
}

@media (max-width: 768px){
    .resposta-title{ 
        font-family: "Lato";
        margin-bottom: 0;
        font-size: 0.3em;
    }
}

.resposta {
    display: none;
    color: #506c7d;
    font-family: "Lato";
    font-size: 34px;
    flex-direction: column;
    align-items: center;
}

.resposta-flex {
    display: flex;
}

.pergunta-none { 
    display: none;
}

/* parabénsssss */

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

.parabens h2 {
    width: 90%;
    color:#506c7d;
    font-size: 3.4rem;
    font-family: "Estado Fine", serif;
    margin: 2rem;
}

.parabens h2.txt-parabens {
    max-width: 260px;
    font-size: 2rem;
    color: #506c7d;
    font-family: "Lato";
    font-weight: 400;
}

@media (max-width: 768px){
    .parabens { 
        width: 100%;
    }

    .parabens h2 {
        max-width: 260px;
        font-size: 2.8rem;
        font-family: "Estado Fine", serif;
        color: #506c7d;
        margin: 10px;
    }

    .parabens h2.txt-parabens {
        color: #506c7d;
        font-family: "Lato";
        font-size: 2rem;
        margin: 10px;
    }
}

/* creditos */

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

.creditos p.negrito,
.expediente span.negrito {
    font-family: "Lato";
    font-size: 1rem;
    font-weight: 600;
    color: #506c7d;
    text-transform: uppercase;
    margin: 0;
}

@media(max-width:768px){
    .creditos p.negrito, 
    .expediente span.negrito {
        font-family: "Lato";
        font-size: 1rem;
    }
}

.creditos p.nome,
.expediente span.nome {
    font-family: "Lato";
    font-size: 1rem;
    font-weight: 400;
    color: #506c7d;
    margin: 0;
    /* margin: 6px 0 30px; */
}

@media(max-width: 768px){
    .creditos p.nome, 
    .expediente span.nome {
        font-family: "Lato";
        font-size: 1rem;
        font-weight: 400;
    }
}

.expediente {
    width: 34%;
    line-height: 1.1rem;
    position: absolute;
    bottom: 0;
}


.expediente p {
    margin: 0 auto;
}

@media (max-width: 768px){
    .expediente { 
        width: 75%;
        position: relative;
        line-height: 1rem;
    }

    .expediente p {
        margin: 0 auto;
    }
}

/*  botoes  */

.btn-comecar { 
    background-color: #506c7d;
    color: white;
    padding: 17px 50px;
    border-radius: 35px;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1.6rem;
    font-family: "Lato";
    cursor: pointer;
}

@media(max-width: 768px){
    .btn-comecar { 
        font-size: 0.3em;
        padding: 11px 40px;
        border-radius: 26px;
    }
}

.botoes > .btn-sim, 
.botoes .btn-nao {
    background-color: #e5e1da;
    color: #b4a39c;
    padding: 17px 30px;
    border-radius: 35px;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.3em;
    font-family: "Lato";
    cursor: pointer;
}

.botoes > .btn-sim:hover
, .botoes .btn-nao:hover {
    background-color: #d7d1c6;
}

@media(max-width:768px){
    .botoes .btn-sim, 
    .botoes .btn-nao {
        margin: 0 3px;
        padding: 12px 24px;
    }

    .botoes { 
        display: flex;
    }
}

.botoes > .btn-sim:active{
    background-color: #89c9c9;
    color: #fff;
    cursor: pointer;
}

.botoes > .btn-nao:active {
    background-color: #f78f96;
    color: #fff;
    cursor: pointer;
}

.leia-mais a { 
    background-color: #e5e1da;
    color: #b4a39c;
    padding: 17px 30px;
    border-radius: 35px;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1.6rem;
    font-family: "Lato";
    cursor: pointer;
}

@media(max-width:768px){
    .leia-mais a { 
    padding: 10px 18px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 17px;
    }
}

.proximo { 
    background-color: #e5e1da;
    color: #b4a39c;
    padding: 17px 30px;
    border-radius: 35px;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1.6rem;
    font-family: "Lato";
    cursor: pointer;
}

@media(max-width: 768px) { 
    .proximo { 
        font-size: 0.3em;
        padding: 11px 25px;
        border-radius: 35px;
    }
}


[data-status="aguardando"] .proximo { 
    display: none;
}

.resultado { 
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1em;
}

@media(max-width:768px){
    .resultado {
        padding: 50px 0;
        height: 98px;
        max-height: 98px;
    }
}

@media (max-width: 414px){
    .resultado {
        padding: 20px 0 0;
        height: 98px;
        max-height: 98px;
    }
}

.chave { 
    width: 40%;
}

@media(max-width: 375px){
    .chave {
        width: 30%;
    }
}


[data-status="resultado"] .proximo { 
    display: block;
}

[data-status="respondido"] .proximo { 
    display: none;
}

[data-status="resultado"] .btn-sim, [data-status="resultado"] .btn-nao { 
    display: none;
}

.acertou, .errou { 
    display: none;
    width: 50%;
}

.acertou span, .errou span { 
    font-family: "Lato";
    font-size: 2.3rem;
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
}

@media (max-width: 768px){
    .acertou span, .errou span {
        font-size: 0.5em;
    }
}

@media (max-width: 414px){
    .acertou span, .errou span {
        font-size: 0.2em;
    }
}

@media (max-width: 768px){
    .acertou img, .errou img { 
        padding: 10px;
        height: 25px;
    }
}

.acertou span { 
    color: #89c9c9
}

.errou span { 
    color: #f78f96
}

[data-resultado="acertou"] .acertou { 
    display: flex;
    flex-direction: column;
    align-items: center;
}

[data-resultado="errou"] .errou { 
    display: flex;
    flex-direction: column;
    align-items: center;
}