/* ---- imagen principal ---- */
.headerDiv{
    background: rgba(0, 0, 0, .45);
    position: relative;
}
.hero{
    margin-top: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 30px;
    min-height: 50vh;

}

.hero img{
    position: absolute;
    z-index: -5;
    object-fit: cover;
    top: 0;
    width: 100%;
    height: 100%;
}


.titulo {
    margin-bottom: 110px;
}

.titulo-bigger{
    font-size: 5rem!important;
}

.internacional{
    position: absolute;
    right: 0;
    bottom: 0;
    color: white;
    display: flex;
    align-items: center;
}

.internacional p{
    font-size: 30px;
}

.internacional img{
    width: 120px;
    height: 112px;
}

.blur-up {
    -webkit-filter: blur(5px);
    filter: blur(5px);
    transition: filter 400ms, -webkit-filter 400ms;
}

.blur-up.lazyloaded {
    -webkit-filter: blur(0);
    filter: blur(0);
}

/* ---- servicios ---- */

.servicios{
    display: flex;
    justify-content:center;
    flex-wrap: wrap;
    margin: 20px;
}
.servicio .icon{
    font-size: 50px;
    padding:10px 0 ;
}

.servicio .parrafo{
    margin: 22px ;
    
}
.buttonServicios{
    border: none;
    padding:5px 20px;
    background-color:white;
    border-radius:28px;
    margin-top: 50px;
    text-decoration:none;
    color: black;
  
}
.buttonServicios:hover{
    transition:.3s all ease-in-out;
    color: white;
    background-color: var(--colorNegro);
}
.flip-box {
    background-color: transparent;
    width: 250px;
    height: 150px;   
    margin: 20px;
    perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

  /* This container is needed to position the front and back side */
.flip-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.5s;
    transform-style: preserve-3d;
}

  /* Do an horizontal flip when you move the mouse over the flip box container */
.flip-box:hover .flip-box-inner, .flip {
    transform: rotateX(180deg);
}

  /* Position the front and back side */
.flip-box-front, .flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
}

  /* Style the front side */
.flip-box-front {
    background-color:#fff;
    color: black;
    border: 3px solid var(--colorAzul);
}

  /* Style the back side */
.flip-box-back {
    background-color: var(--colorAzul);
    color: white;
    transform: rotateX(180deg);
}
/* ---- slides ---- */
.slideDiv{
    display:flex;
    flex-direction: row-reverse;
    justify-content:space-between; 
    height:430px;   
}
.slideDiv img{
    max-width: 100%;
}
.textoSlide, .slideInvertido{
    width:50%;
    margin-top: 30px;
    padding-left: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.slideInvertido{
    padding-left: 0;
    padding-right: 50px;
    margin-top: 0;
}
.textoSlide h2, .slideInvertido h2{
  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;
}
.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%;
    }
    
    .internacional p{
        font-size: 25px;
    }
}
@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%;
    }
}