.parrafoNosotros{
    font-family: raleway;
    text-align: center;
}

.divcardnosotros{
    display:flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;
}

.cardnosotros{
    width: 350px;
    border: 2px solid var(--colorAzul);
    text-align: center;
    border-radius:28px;
    padding:10px;
    margin: 50px;
    -webkit-box-shadow: 5px 6px 12px 1px rgba(0,0,0,0.27); 
    box-shadow: 5px 6px 12px 1px rgba(0,0,0,0.27)!important;
}

.cardnosotros .titulo{
    font-family: raleway;
    font-weight: 600;
}

.cardnosotros .parrafo{
    font-family: raleway;
    font-weight: 500;
}

.contenido-nosotros{
    display: flex;
    align-items: center;
}

/* ---- slides ---- */
.slideDiv{
    display:flex;
    flex-direction: row-reverse;
    justify-content:space-between; 
    height:350px;   
}
.slideDiv img{
    max-width: 100%;
}
.textoSlide{
    width:50%;
    margin-top: 30px;
    padding-left: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.slideInvertido{
    flex-direction: row;
}
.slideInvertido .imagenSlide:after{
    left: 0;
    transform: rotate(180deg);
}
.textoSlide h5, .slideInvertido h5{
    text-align: center;
    color:var(--colorAzul);
    font-size:35px;
    margin: 30px;
}
.textoSlide p, .slideInvertido p {
    font-size:20px; text-align:center;
    width: 85%;
    margin: 0 auto;
}
.textoSlide button, .slideInvertido button{
    margin: 30px auto;
    display: flex;
    padding: 15px 57px;
    background: var(--colorAzul);
    color: white;
    border: none;
    border-radius: 28px;
    font-size: 17px;
}
.textoSlide button:hover, .slideInvertido button:hover{
    color:black;
    background-color: white;
    border: 1px solid black;
transition:.3s all ease-in-out;
}
.imagenSlide{
    width: 50%;
    max-width: 100%;
}
.imagenSlide img{
    object-fit: cover;
    height: 100%;
}
.imagenSlide:after{
    content:'';
    position:absolute;
    right:12px; 
    top:0;
    width:50%; 
    height:100%;
    display:inline-block;
    background: linear-gradient(90.87deg, rgba(255, 255, 255, 5) 5.87%, rgba(196, 196, 196, 0) 30.33%);
}
.splide__pagination__page.is-active {
    background: var(--colorAzul)!important;
}
/* Cursos */
#cursos{
    margin-bottom: 25px;
}
.curso{
    width: 260px;
    height: 260px;
    padding: 15px;
    margin: 0 auto;
}
.ofertas img {
    max-width: 100%;
    width: 100vw;
    height: 500px;
}

.swiper-container {
    width: 100%;
    
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    padding: 5px;
    width:150px;
    flex-shrink: 1!important;
    /* Center slide text vertically */
    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;
}

.cursoSeccion{ 
    border-radius: 5px;
    overflow: hidden;
    margin: 0 auto;
    text-align: center;
}

.cursoSeccion img{
    width: 100%;
    height: 160px;
    transition: all .3s ease;
}
.cursoSeccion img:hover{
    transform: scale(1.1);
} 
.cursoa{
    margin: 14px;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    }
.cursoa p{
    margin: 10px 10px 10px 0;
    font-family: raleway;
    font-size: 19px;
    text-align:center;
    width: 260px;
    color: black;
}
.tituloCurso{
    text-align: center;
    text-decoration: none;
    color: black;
    font-size: 15px;
}
@media (max-width: 1400px) {
    .curso{
        width: 200px;
        height: 200px;
    }
    .cursoSeccion img{
        height: 100px;
    }
}
@media (max-width: 950px) {
    .textoSlide p {
        font-size: 17px;
    }
}
@media (max-width: 900px) {
    .navbar{
        justify-content: center;
    }
}
@media (max-width: 800px) {
    .slideDiv{
        display: block;
        height: 500px;
    }
    .imagenSlide{
        width: 100%;
        height: 30%;
    }
    .imagenSlide img{
        height: 100%;
    }
    .imagenSlide:after{
        width: 150%;
        height: 32%;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0) 50%, #FFFFFF 90%);
        left: 0;
    }
    .textoSlide{
        width: 100%;
        height: 70%;
        padding: 0;
        margin-top: 0;
    }
    .textoSlide h5{
        font-size: 30px;
        margin-top: 0;
    }
    .textoSlide p{
        font-size: 15px;
    }

}
@media (max-width: 600px) {
    .navbar{
        justify-content: center;
    }
    .textoSlide p{
        width: 95%;
    }
}
@media (max-width: 450px) {
.curso{
    width: 300px;
    height: 300px;
}
.cursoSeccion img{
    height: 150px;
}
.tituloCurso{
    font-size: 20px;
}
}
@media (max-width: 400px) {
    .slideDiv{
        height: 600px;
    }
    .textoSlide p{
        width: 100%;
    }
}