@charset "utf-8";
/* CSS Document */

header {
    position: fixed;
}
#contenedorsuperior {
    height: 100vh;
    background-image:url("../imagenes/home/fondo.jpg");
    background-size: cover;
    background-position: center 80%;
    background-repeat: no-repeat;
    padding-right: 19%;
    padding-top: 15.45vh;;
    text-align: right;
    position: relative;
}
#bienestar {
    position: absolute;
    bottom: 3em;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5em;
}
#bienestar > img {
    width: 60%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
h1 {
    margin-top: 0px;
    font-size: 2.75em;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 0em;
}
#contenedorsuperior p {
    margin-top: 1.1em;
    display: inline-block;
    font-size: 1.25em;
    position: relative;
}
#contenedorsuperior p img {
    position: absolute;
    display: block;
    bottom: 95%;
    left: 0px;
    height: 3.6em;
    width: auto;
    transform: translateY(.75em);
}
#contenedordeslizador {
    position: relative;
    overflow: hidden;
    z-index: 3; 
    margin-top: 15em;
    transition: margin-top .5s linear 0s;
    box-sizing: content-box;   
}
#deslizador {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    display: flex;
    box-sizing: content-box;
}
#deslizador > div {
    position: absolute;
    top: 0px;
    left: 100%;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    box-sizing: content-box;
}
#deslizador > div > div > img,#deslizador > div > div > div {
    ddddtransform: rotateY(180deg);
}
#deslizador > div.activo > div > img, #deslizador > div.activo > div > div {
    transform: rotateY(0deg);
    transition: transform 1s ease-out 0s;
}
#deslizador > div.activo > div > div {
    transition-delay: .3s;
}
#deslizador > div.activo {
    left: 0px;
    transition: left 1s ease-out 0s,opacity 1s ease-out 0s; 
    opacity: 1;
    transform: rotateY(0deg);
}
#deslizador > div.noactivo {
    left: -100%;
    transition: left 1s ease-out 0s,opacity 1s ease-out 0s;
    opacity: 0;  
    transform: rotateY(0deg);
}
#deslizador > div > div {
    display: flex;
}
#deslizador > div > div > img {
    width: 27.26vw;
    height: auto;
    margin-right: 1em;
}
#deslizador > div > div > div {
    display: flex;    
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
   
    font-size: 1.5em;
    line-height: 1.4em;
    flex-grow: 1;
}
 
.separador {
    border-top: solid 1px black;
    display: block;
    width: 100%;
    margin-left: -15%;
}
.separador.morado {
    border-color: var(--morado);
}
.separador.verde {
    border-color: var(--verde);
}
.separador.amarillo {
    border-color: var(--amarillo);
}
#botonesdeslizador {
    padding-top: 6em;
    padding-bottom: 3em;
    display: flex;    
    justify-content: center;
}
#botonesdeslizador span {
    display: inline-block;
    width: .875em;
    height: 1.225em;    
    border: 1px solid var(--morado);
    border-radius: 50%;
    transition: background-color .5s linear 0s,border-color .5s linear 0s;
    cursor: var(--cursorvinculos);
}
#botonesdeslizador span:nth-of-type(2) {
    margin-left: 1.5em;
    margin-right: 1.5em;
}


#botonesdeslizador span:nth-of-type(1).activo {
    background-color: var(--morado);
}
#botonesdeslizador span:nth-of-type(2).activo {
    background-color: var(--verde);
}
#botonesdeslizador span:nth-of-type(3).activo {
    background-color: var(--amarillo);
}

#eslogan {
    padding-top:6em;
    padding-bottom: 6em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1.5em;
    opacity: 0;
    transform: scale(1,0);
    transform-origin: center bottom;
    transition: transform .5s linear 0s,opacity .5s linear 0s;;
        
}
#eslogan div {
    font-size: 1.75em;
}
#eslogan p {
    margin-top: .5em;
    margin-bottom: 0em;
}

.valores {
    padding-bottom: 6em;
    margin-top: 15em;
    transition: margin-top .5s linear 0s,opacity .5s linear 0s;
}
.valores h2 {
    margin-top: 0px;
}
#valores1 {
    margin-left: 11.145vw;
    margin-right: 11.145vw;
    opacity: 0;
    
    
}
.valores h2 {
    text-align: right;
    font-size: 1.785em;
}
.columnasvalores {
    display: flex;
    justify-content: space-between;
}
.columnasvalores > div:nth-of-type(2n+1) h3 {
    text-align: right;
}
.columnasvalores > div {
    width: 31.59vw;    
}
.valores h3 {
    cursor: pointer;
    line-height: 1em;
    font-size: 4.5em;
    font-family: 'Ibarra Real Nova', serif;
    margin-bottom: 0px;
    margin-top: 0px;
    border-bottom: solid 1px black;
    transition: color .620s ease-out 0s;
}

.valores h3 span {
    ddisplay: none;
    font-size: .35em;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    line-height: 1em;
    padding-top: 1.2em;
    display: inline-block;
    vertical-align: top;
    opacity: 0;
    transition: opacity .620s ease-out 0s;
    color: black;
    
}
#valores2 h3:nth-of-type(1) span {
    opacity:1;
}
#contenedormovil1 {
    height: auto;
}
.valores h3:hover span {
    transition: opacity .3s ease-out 0s;
    opacity: 1;
}
#valores2 {
    margin-left: var(--margenmovil);
    margin-right: var(--margenmovil);
    display: none;
}
#valores2 > :not(h2) {
    margin-right: var(--rellenomovil);
    margin-left: var(--rellenomovil);
}
#valores2 > h3:nth-of-type(2n) {
    text-align: right;
}

#comoempezar {
    padding-top: 5em;
    padding-right: 1em;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    opacity: 0;
    margin-top: 15em;
    transition: margin-top .5s linear 0s,opacity .5s linear 0s;
}
#comoempezar > div {
    width: auto;
    padding-right: 1em; 
    white-space: nowrap;
}
#comoempezar > img {
    height: auto;
    width: 10px;
    flex-grow: 1;
    max-width: 30.20vw;
}
#comoempezar p, #comoempezar a {
    font-size: 1.25em;
}
#comoempezar a {
    display: block;
    position: relative;
    text-decoration: none;  
    transition: font-weight .2s linear 0s;
}
#comoempezar a:hover {
    font-weight: 600;
}
#comocompenzar
#comoempezar a:nth-of-type(1) {
    padding-left:3em;
    margin-top: 2em;
}
#comoempezar a:nth-of-type(2) {
    margin-top: 1.5em;
}
#comoempezar a:nth-of-type(3) {
    margin-left: 6vw;
    margin-top: 2em;
}
#flechaformulario  {
    position: absolute;
    display: block;
    bottom: .675em;
    left: 13.5em;
    height: 9.5em;
    width: auto;
}
#flechallamanos  {
    position: absolute;
    display: block;
    top: .675em;
    left: -2em;
    height: 2.75em;
    width: auto;
}
#flechamandanos  {
    position: absolute;
    display: block;
    top: 3.125em;
    left: 5.5em;
    height: 3.5em;
    width: auto;
}


@media (max-width: 800px) {
    #deslizador br {
        display: none;
    }
    #contenedordeslizador {
        padding-left: var(--margenmovil);
        padding-right: var(--margenmovil);
    }
    #contenedorsuperior {
        padding-top: 15.45vh;
        padding-right: var(--margenmovil);
        padding-left: var(--margenmovil);
    }
    br.ocultar {
        display: inline-block;
    }
    br.desocultar {
    display: none;
}
    #contenedorsuperior > div {
        font-size: 1.25em;
    }
    
    #contenedorsuperior p img {
        bottom: 100%;
        left: inherit;
        right: 3em;
        height: 2.6em;

    }
    #deslizador > div > div.anchonormal {
        width: 100%;
    }
    #deslizador > div > div > img {
        display: none;
    }
    #deslizador > div > div > div {
        padding-top: 5em;
        backgound-position: left top;
        background-size: 65% auto;
        background-repeat: no-repeat;
        padding-left: var(--margenmovil);
    }
    #deslizador .confondoblanco {
        width: 100%;
        text-align: right;
    }
    #deslizador > div:nth-of-type(1) > div > div {
        background-image:url("../imagenes/home/deslizador1.jpg");
    }
    #deslizador > div:nth-of-type(2) > div > div {
        background-image:url("../imagenes/home/deslizador2.jpg");
    }
    #deslizador > div:nth-of-type(3)  > div > div{
        background-image:url("../imagenes/home/deslizador3.jpg");
    }
    #deslizador .confondoblanco, #comoempezar .confondoblanco {
        padding: 1em;
        margin-bottom: .5em;
        background-color: rgba(255,255,255,.4);
        border-radius: 1em;
    }
    #valores1 {
        display: none;
    }
    #valores2 {
        display: block;
    } 
    
    #comoempezar {
        display: block;
        overflow: hidden;
        background-image:url("../imagenes/home/comoempezar.jpg");
        background-size: 70% auto;
        background-repeat: no-repeat;
        background-position: right top;
    }
    #comoempezar > div {
        margin-left: var(--rellenomovil);
        margin-right: var(--rellenomovil);
        padding-right: 0em; 
        white-space: normal;
    }
    #comoempezar > img {
       display: none;;
    }
    #comoempezar a {
        text-decoration: underline;
    }
}
@media (max-width: 500px) {
    h1 {
    margin-top: 0px;
    font-size: 2.5em;
    }
    h1 span:last-of-type {
        display: block;
    }
    br.ocultar {
        display: none;
    }
    #contenedorsuperior p img {
        bottom: 100%;
        left: inherit;
        right: 4.5em;
        height: 2.6em;

    }
    .valores h3 span {
        ddisplay: none;
        font-size: .28em; 
        padding-top: 1.7em;
    }
    #eslogan {
        padding-top:4em;
        padding-bottom:4em;
    }
    .valores {
        padding-bottom: 4em;
    }
    #comoempezar .confondoblanco {
        padding-bottom: 2em;
        margin-left: 0px;
    }
    #comoempezar a img {
        display: none;
    }
    #comoempezar a  {
        font-size: 1.5em;
        font-weight: 600;
    }
    #comoempezar a:nth-of-type(1) {
        padding-left:1.5em;
        margin-top: 1.5em;
    }
    #comoempezar a:nth-of-type(2) {
        margin-top: 1.5em;
    }
    #comoempezar a:nth-of-type(3) {
        margin-left: 6vw;
        margin-top: 1.5em;
    }
    #bienestar {
        position: absolute;
        bottom: 6em;
        text-align: center;
    }
}