#slider .titleContainer {
  /* background: rgb(0 0 0 / 10%); */
  position: absolute;
  top:28%;
  left: 18%;
  /* left: 10%; */
  /* padding-left: 18%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: start;
  align-items: center;
  height: 90%; */
}

#slider .titleContainer .title {
  font-size: 26px;
  color: #fff;
}

#slider .titleContainer .title2 {
  font-size: 40px;
  color: #fff;
  /* line-height: 1.8; */
}

#slider .btn {
  background-color: var(--color1);
  color: #fff;
  padding: 10px 20px;
  font-size: 20px;
}

#slider .btn:hover {
  background-color: var(--color2);
  color: #fff;
  animation: shake 2s infinite;
}

#slider .slider-img {
  width: 100%;
  /* height: 100vh; */
}

.videoBg .textContainer {
  position: absolute;
  left: 32%;
  right: 10%;
  top: 26%;
}

.lema {
  background: linear-gradient(rgba(0, 0, 0, 0.5) 100%, #ffff 10%, #ffff 50%),
    url("../img/web/cielo2.jpg");
  background-size: 100%;
  background-position: bottom;
  background-attachment: fixed;
  background-repeat: no-repeat;
  margin-top: -10px;
}
.lema p {
  padding-top: 10rem;
  padding-bottom: 10rem;
  /* display: flex;
  align-content: center;
  justify-content: center; */
  font-size: 40px;
  color: white;
  font-weight: 900;
}
.lema span {
  /* padding-top: 10rem;
  padding-bottom: 10rem; */
  color: var(--color4);
  font-weight: 900;
}

.lema2 {
  background: linear-gradient(rgba(0, 0, 0, 0.5) 100%, #ffff 10%, #ffff 50%),
    url("../img/web/cielo2.jpg");
  background-size: 100%;
  background-position: top;
  background-attachment: fixed;
  background-repeat: no-repeat;
  margin-top: -10px;
}

.lema2 span {
  padding-top: 10rem;
  padding-bottom: 10rem;
  display: flex;
  align-content: center;
  justify-content: center;
  font-size: 40px;
  color: white;
  font-weight: 900;
}

.separadorLogos {
  /* padding-top: 10rem; */
  /* padding-bottom: 10rem; */
  padding-top: 1.1rem;
  padding-bottom: 4rem;
}

.separadorLogos .item {
  padding: 10px;
}

/* .separadorLogos .item:hover img {
    transform: scale(0.8);
} */

.separadorLogos .item .imgC {
  background: #fff;
  overflow: hidden;
  /* padding: 20px; */
  /* height: 300px; */
  display: flex;
  justify-content: center;
  align-items: center;
  /* box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .8); */
}

.separadorLogos .item img {
  width: 100%;
  transition: all 0.3s ease-in-out;
  /* box-shadow: 6px 6px 20px 0px rgba(0,0,0,0.2); */
}
.separadorLogos .owl-carousel .owl-item img {
  width: 100%;
}

.objetives {
  margin-top: 60px;
  margin-bottom: 60px;
}

.objetives i {
  color: var(--color1);
}

.education {
  padding-top: 60px;
  padding-bottom: 60px;
}

.education2 {
  background-color: #006dc4;
  padding-top: 60px;
  padding-bottom: 60px;
}

.cursos {
  padding-top: 5rem;
  padding-bottom: 5rem;
  /*  background-color: #e9edf1; */
}

.cursos .card {
  /* border: solid 1px var(--color1); */
  /* padding: 10px; */
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  transition: all 0.3s ease-in-out;
  box-shadow: 6px 6px 20px 0px rgba(0, 0, 0, 0.1);
}
.content-img-card {
  overflow: hidden;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

/* .cursos .card:hover {
  box-shadow: 6px 6px 20px 0px rgba(0, 0, 0, 0.4);
}

.cursos .card:hover img {
  transform: scale(1.1);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
} */


.cursos .card .img-port-card{
  transition: all 0.3s ease-in-out;
  object-fit: cover;
  width: calc(100% + 50px);
  height: clamp(300px, 20vh, 700px);
}

.cursos .card .news {
  position: absolute;
  top: 20px;
  right: 16px;
  border-radius: 20px;
  padding: 4px 12px;
  background-color: var(--color9);
  color: white;
  /* font-size: 14px; */
  font-size: 16px;
  font-weight: bold;
  transform: translateY(-5%);
}
.cursos .card .news2 {
  position: absolute;
  top: 20px;
  right: 16px;
  border-radius: 20px;
  padding: 4px 12px;
  background-color: var(--color8);
  color: white;
  /* font-size: 14px; */
  font-size: 16px;
  font-weight: bold;
  transform: translateY(-5%);
}

.cursos .card .card-body {
  padding: 1rem 1rem 1rem;
}

.cursos .card .card-body .card-title {
  color: var(--color1);
  font-weight: bold;
  cursor: pointer;
  /*font-size: 18px;*/
  font-size: 1.5rem;
  /* text-transform: uppercase; */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cursos .card .card-body .card-title:hover {
  color: var(--color1);
}

.cursos .card .card-body .card-text {
  display: none;
  margin-top: 1rem;
  /* text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical; */
  overflow: hidden;
  text-align: justify;
  color: #555;
  font-size: 16px;
  /* line-height: 1.6; */
}

.cursos .card .card-footer {
  background: var(--color2);
  color: white;
}

.cursos .btn {
  background: var(--color1);
  color: white;
  padding: 10px 20px;
  /* transition: all .3s ease-in; */
  /* animation: shake 2s infinite; */
}

.cursos .btn:hover {
  animation: shake 2s infinite;
  background: var(--color2);
  /* transform: scale(1.08); */
  /* box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15); */
}

@media (max-width: 500px) {
  #slider .titleContainer .title2 {
    font-size: 20px;
    color: #fff;
    /* line-height: 1.8; */
  }

  .separadorLogos {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .lema {
    background-size: 300%;
    background-position: bottom;
  }
  .lema span {
    font-size: 20px;
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .cursos {
    padding-top: 2rem;
    padding-bottom: 2rem;
    background-color: #e9edf1;
  }
}

section[id] {
  scroll-margin-top: 150px;
}
.carousel-item {
  position: relative;
}
#astronauta {
  position: absolute;
  bottom: 15%;
  right: 20%;
  width: 20% !important;
  transform: rotate(-25deg);
  animation: subirYBajar 2s ease-in-out infinite;
}
#astronauta2 {
  position: absolute;
  bottom: 15%;
  right: 10%;
  width: 30% !important;
  transform: rotate(-25deg);
  animation: subirYBajar 2s ease-in-out infinite;
}
#cohete {
  position: absolute;
  bottom: 15%;
  right: 20%;
  width: 10% !important;
  animation: subir 2s ease-in-out infinite;
}
@keyframes subirYBajar {
  0% {
    transform: rotate(-25deg) translateY(0);
  }
  50% {
    transform: rotate(-25deg) translateY(-20px);
  }
  100% {
    transform: rotate(-25deg) translateY(0);
  }
}
/* Animación inicial para subir desde abajo */
@keyframes subirDesdeAbajo {
  0% {
    margin-top: 50px; /* Empieza desde 50px */
  }
  100% {
    margin-top: -20px; /* Termina en -20px */
  }
}

/* Animación para "subir y bajar" */
@keyframes subir {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px); /* Subir 20px */
  }
  100% {
    transform: translateY(0); /* Volver a su posición original */
  }
}

/* Aplicación de las animaciones */
.elemento {
  animation: subirDesdeAbajo 1s ease forwards, subir 2s ease infinite 1s;
}

@keyframes subir {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px); /* Subir 20px */
  }
  100% {
    transform: translateY(0); /* Volver a su posición original */
  }
}

#luna {
  position: absolute;
  bottom: -30%;
  right: -18%;
  width: 40% !important;
  transform: rotate(-25deg);
  animation: girar 10s linear infinite;
}
#luna2 {
  position: absolute;
  left: 50%;
  top: 30%;
  width: 10% !important;
  transform: rotate(-25deg);
  animation: girar 10s linear infinite;
}

@keyframes girar {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

    /* Estilos de div-social */
    div[id] {
        scroll-margin-top: 300px;
    }

    .f-curso {
        display: flex;
        justify-content: center;
        justify-items: center;
    }

    .f-curso p {
        margin-top: 1rem;

        font-weight: 400;
        margin-left: 5px;
        margin-right: 5px;
        color: var(--color6);
    }

    #slider {
        position: relative;
        z-index: 1000;
    }

    #slider .letra-v-p {
        font-size: 5.8rem;
    }

    #banderas {
        position: absolute;
        bottom: 11%;
        left: 50%;
        transform: translate(-50%, 50%);
        z-index: 1;
        width: 100%;

    }

    #banderas .item {
        margin-top: 5px;
        transition: ease-in-out .5s;
        cursor: pointer;

    }

    #banderas .item span {
        text-align: center;
        background-color: var(--color6);
        color: white;
        top: -10%;
        z-index: 99;
        padding: .2rem;
        border-radius: 5px;
        display: inline-block;
        margin-bottom: 5px;
        opacity: 0;
        transition: opacity 0.5s ease;

    }

    #banderas .item:hover {
        transform: scale(1.1);

    }

    #banderas .item:hover span {

        opacity: 1;
    }

    .content-img-card {
        position: relative;
        overflow: hidden;

    }


    .content-img-card:before {
        content: "";
        position: absolute;
        top: 0;
        left: -120%;

        width: 100%;

        height: 100%;

        background: linear-gradient(90deg, hsla(0, 0%, 100%, 0) 0%, hsla(0, 0%, 100%, 0.3) 100%);
        transform: skewX(-25deg);

        transition: left 0.5s ease-in-out;

    }


    .content-img-card:hover:before {
        left: 100%;

    }

    .cursos .card .news3 {
        position: absolute;
        top: 20px;
        right: 16px;
        border-radius: 20px;
        padding: 4px 12px;
        background-color: #bebebe;
        color: white;
        /* font-size: 14px; */
        font-size: 16px;
        font-weight: bold;
        transform: translateY(-5%);
    }

    .tittle-platform {
        font-family: 'Transformers';
        font-size: 5rem;
        color: #FFD700;
        text-shadow: 0px 0px 5px #FFA500, 0px 0px 10px #FF8C00 !important;
    }

    @media only screen and (max-width: 700px) {
        #slider .letra-v-p {
            font-size: 2rem;
        }

        .tittle-platform {
            font-size: 1.5rem;
        }

        #slider .titleContainer {
            top: 15%;
            left: 13%;
        }

        #slider .titleContainer .title {
            font-size: .5rem;
            color: #fff;
        }

        #slider .titleContainer .title2 {
            font-size: .6rem;
            color: #fff;
            /* line-height: 1.8; */
        }

        #banderas {
            bottom: 25%;
        }

        .lema {
            background-size: 800%;
            background-position: bottom;
        }

        .lema p {
            font-size: 20px;
        }

        .lema span {
            font-size: 20px;

        }


    }

    @media only screen and (min-width: 700px) and (max-width: 900px) {
        #slider .letra-v-p {
            font-size: 2.3rem;
        }

        .tittle-platform {
            font-size: 2rem;
        }

        #slider .titleContainer .title {
            font-size: 1rem;
            color: #fff;
        }

        #slider .titleContainer .title2 {
            font-size: 1rem;
            color: #fff;
            /* line-height: 1.8; */
        }

        #banderas {
            bottom: 20%;
        }

    }

    @media only screen and (min-width: 900px) and (max-width: 1200px) {
        #slider .letra-v-p {
            font-size: 2.5rem;
        }

        .tittle-platform {
            font-size: 2rem;
        }

        #slider .titleContainer .title {
            font-size: 1.5rem;
            color: #fff;
        }

        #slider .titleContainer .title2 {
            font-size: 1.5rem;
            color: #fff;
            /* line-height: 1.8; */
        }
    }

    @media only screen and (min-width: 1200px) and (max-width: 1400px) {
        .tittle-platform {
            font-size: 3.3rem;
        }

        #slider .titleContainer .title {
            font-size: 2rem;
            color: #fff;
        }

        #slider .titleContainer .title2 {
            font-size: 2rem;
            color: #fff;
            /* line-height: 1.8; */
        }

        #banderas {
            width: 100%;
        }
    }