@charset "utf-8";
/* CSS Document */

#contenedorsuperior {
    margin-bottom: var(--separacionsubsecciones);
    background-image: url(../imagenes/enqueconsiste/consiste-01.png);
    background-position: right top;
    background-size: auto 100% ;
    background-repeat: no-repeat;
    margin-top: var(--rellenovertical);
}
#contenedorsuperior h1 {
    color: var(--ui400);
    font-weight: 500;
    font-size: 1.25rem;
}
#contenedorsuperior p {
    color: var(--id400);
    font-weight: 500;
    font-size: 3.25rem;
    margin-top: 2rem;
    margin-bottom: 0rem;
}
#contenedorsuperior > div {
    padding-top: var(--rellenovertical);
    max-width: 900px;
}

#descripcioncurso h2 {
    color: var(--id300);
    font-size: 2.5rem;
}
#descripcioncurso h2 span {
    color: var(--id200);
}
#descripcioncurso p {
    font-size: 1.5rem;
    marging-left: var(--rellenohorizontal);
    marging-right: var(--rellenohorizontal);
    
}


.concajas > div:nth-of-type(2),.concajas > div:nth-of-type(3),.concajas > div:nth-of-type(5) {   
    margin-left: 1rem; 
}
.concajas > div:nth-of-type(4), .concajas > div:nth-of-type(5) {
    width: calc((100% - 1rem) / 2);
}

#contenedorslider {
    margin: var(--rellenovertical) 0px;
    width: 100%;
    overflow-x: scroll;
    height: 500px;
}
#deslizadorslider {
    padding: 0px var(--rellenohorizontal);
    display: inline-flex;
    width: auto;
    height: 100%;
    padding-bottom: .75rem;
}
.elementoslider {
    display: flex;
    margin-right: var(--separacionsubsecciones);
}
.elementoslider > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--rellenohorizontal);
    width: 430px;
    flex-shrink: 0;
}
.elementoslider > div > span:first-of-type {
    color: var(--id100);
    font-size: 1.875rem;
    font-weight: 600;
    white-space: nowrap;    
}
.elementoslider > div > span:nth-of-type(2) {
    color: var(--id300);
    font-size: 2.375rem;
    font-weight: 500;
}
.elementoslider > div > span:nth-of-type(3) {
    margin-top: 1rem;
}
.elementoslider img {
    height: 100%;
    width: auto;
}

@media (max-width: 950px) {
    #contenedorsuperior {
        background-size: auto 75%;
        padding-top: var(--rellenohorizontal);
        margin-top: var(--rellenohorizontal);
    }
    #contenedorsuperior p {
        font-size: 2.25rem;
    }
}
@media (max-width: 750px) {
    #contenedorsuperior {
    }
    #contenedorsuperior p {
        font-size: 1.5rem;
    }
    #contenedorslider {
        height: 400px;
    }
    .elementoslider > div {
        width: 300px;
    }
}
@media (max-width: 600px) {
    #contenedorsuperior {
        background-size: auto 50%;
    }
}