html, body {
	width: 100vw;
	margin: 0;
    color: #001e2b;
    background-color: #fff;
}
html {
	font-size: 1vw;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

section {
    font-family: "Open Sans";
    font-size: 1.3rem;
    display: none;
    width: 100%;
    margin: 0;
    padding: 4rem;
    box-sizing: border-box;
}
section.visible {
    display: block;
}
section.off {
    opacity: 0;
}
section.transition {
    transition-duration: .4s;
}
section.centrado {
    margin: auto 0;
}

section h1 {
    font-family: "Playfair Display";
    font-size: 2.04rem;
    line-height: 2.04rem;
    margin: 0;
    padding: 0 0 1.8rem 0;
    background-image: url(../img/trazo-titulo.svg);
    background-position: left bottom;
    background-size: auto 1.6rem;
    background-repeat: no-repeat;
}
section h1 img {
    position: relative;
    top: 0.2rem;
    left: 0.5rem;
    height: 1.8rem;
}
section .subtitulo {
    color: #727272;
    font-style: italic;
    margin: 0;
}
section h4 {
    font-size: 1.3rem;
    font-variant: small-caps;
    margin: 1rem 0;
}

.boton {
    position: relative;
    font-size: 1rem;
}
.boton > img {
    width: 21.4em;
}
.boton > span {
    position: absolute;
    top: 2.1em;
    left: 1.2em;
    width: 15em;
    font-family: "Open Sans";
    font-weight: 800;
    font-size: 1.3em;
    line-height: 1.3em;
    text-align: center;
    cursor: pointer;
}
.boton:active > span {
    color: #fff;
}

#inicio.visible {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#inicio .boton {
    font-size: 2rem;
}
#inicio .boton > span {
    width: 40rem;
    top: 5.4rem;
    left: 2.5rem;
    font-family: "CCMeanwhile-Bold";
    font-size: 1.4rem;
    font-weight: normal;
}
#inicio .subtitulo {
    margin: 2rem 0;
}

#seleccionInfo > p {
    color: #727272;
    margin-bottom: 3rem;
}
.listaBotones {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.botonLista {
    width: 16rem;
    height: 4.5rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    cursor: pointer;
}

.sectionInfo {
    padding-bottom: 0;
}
.sectionInfo .listaBotones {
    margin-bottom: 2rem;
}
.textoInfo img {
    float: left;
    width: 20rem;
    max-height: 20rem;
    margin: 1rem 4rem;
}

.pregunta .enunciado {
    margin: 0 0 2rem 0;
}
.pregunta .respuesta {
    margin: 1rem 0;
    padding-left: 2.4rem;
    background-image: url(../img/off.svg);
    background-size: 1.5rem auto;
    background-repeat: no-repeat;
    background-position-x: left;
    background-position-y: 0.2rem;
    cursor: pointer;
}
.pregunta .respuesta.seleccionada {
    background-image: url(../img/on.svg);
}

#formulario {
    padding-bottom: 0;
}
#formulario input {
    width: 19rem;
    height: 2.5rem;
    font-family: "Open Sans";
    font-size: 1.3rem;
    color: #001e2b !important;
    padding: 1.5rem;
    border: none;
    background-image: url(../img/input.svg) !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 21rem auto;
}
#formulario #errorForm {
    color: #41ba95;
    font-size: 1.4rem;
}

#resultados {
    padding-top: 1rem;
}
.tablaResultados {
    width: 100%;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    grid-gap: 1rem;
    margin-top: 2rem;
}
.tablaResultados .textoDcha {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#botonSiguiente2 {
    margin-top: 2rem;
}
#barras {
    margin: 4rem;
}
#aranha {
    position: relative;
    margin: 2rem;
}
#aranha > canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}
#aranha > img {
    position: relative;
    display: block;
    z-index: 101;
}

p.gris {
    color: #727272;
    font-size: 1.1rem;
    margin-top: 3rem;
}

.contenedorBocatas{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;;
}
.contenedorBocatas > img:first-child {
    width: 36rem;
    align-self: start;
    margin-bottom: 10rem;
}
.contenedorBocatas > img:last-child {
    width: 26rem;
    align-self: end;
    margin-left: 4rem;
}

footer {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
/*    margin-top: auto;
    margin-bottom: 1.5rem;*/
}
.disabled {
    visibility: hidden;
    pointer-events: none;
}
footer .logoFooter {
    display: flex;
    justify-content: center;
    width: 50rem;
}
footer .logoFooter img {
    width: 10.5rem;
    padding: 0 3.9rem 0 5.6rem;
    border-right: solid 0.26rem #001e2b;
}
footer .logoFooter p {
    width: 20rem;
    padding-left: 3.9rem;
    font-family: "Public Sans";
    font-size: 1.4rem;
    color: #000;
}
#botonInicio span {
    font-family: "CCMeanwhile-Bold";
}

/*@media(max-width: 550px) {*/
@media(orientation: portrait) {
	html {
		font-size: 2vw;
	}
	section {
		font-size: 1.8rem;
        margin: 0;
        padding: 2rem 4rem;
	}
    .sectionInfo {
        padding-bottom: 4rem;
    }
    .listaBotones {
        flex-direction: column;
        align-items: center;
    }
    .botonLista {
        width: 25rem;
        height: 6rem;
        margin-bottom: 2rem;
    }
    .textoInfo img {
        margin: 2rem;
    }
    .pregunta .respuesta {
        background-size: 2rem auto;
        background-position-y: 0.3rem;
    }
    #formulario label {
        display: block;
        margin: 1rem 0 0 0.8rem;
    }
    .tablaResultados {
        grid-auto-flow: row;
        grid-auto-rows: 1fr;
    }
    p.gris {
        font-size: 1.5rem;
    }
    .contenedorBocatas{
        flex-direction: column;
        padding: 0 2rem;
        box-sizing: border-box;
    }
    .contenedorBocatas > img:first-child {
        width: 70%;
        margin-bottom: 0;
    }
    .contenedorBocatas > img:last-child {
        width: 50%;
        margin-left: 0;
    }
}
    body > .boton {
        align-self: center;
        margin: 2rem 0;
    }
