/*Page Loader*/
#contenedor_carga {
  background-color: #ffffff;
  height: 100%;
  width: 100%;
  position: fixed;
  -webkit-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
  z-index: 10000;
}

#cargaLogo img {
  height: 100px;
  width: 100px;
  border-radius: 100%;
  position: absolute;
  top: -110px;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

#carga {
  border: 5px solid hsla(0, 0%, 100%, 0);
  border-top-color: #f4a320;
  border-radius: 50%;
  width: 115px;
  height: 115px;
  position: absolute;
  top: -110px;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  -webkit-animation: girar 1s linear infinite;
  -o-animation: girar 1s linear infinite;
  animation: girar 1s linear infinite;
}

@keyframes girar {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* ---- HEADER INFORMATION ----- */
.logo {
  max-width: 100%;
  height: 100px;
}

/* .header-info-container {
  background-color: rgb(var(--main-blue));
  padding: 0.5rem 1rem;
} */

.header-info-container p {
  color: white;
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.5rem);
}

.header-info-container .country-name-flag img {
  max-width: 35px;
}

.header-info-icons-mobile p {
  display: block;
}

.header-info-icons-mobile {
  display: flex;
  gap: 1rem;
  justify-content: center;
  /* font-size: 1.2rem; */
  margin-bottom: 0.5rem;
}

.header-info-icons-mobile a {
  color: white;
}

.header-info-icons-mobile a:hover {
  color: rgb(var(--main-yellow));
}

.header-info-icons-desktop,
.header-info-phone {
  display: none;
}

.header-info {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 1rem;
  max-width: 1280px;
  margin: 0 auto;
}

.logo {
  transition: opacity 1s ease-in-out;
}

.logo.hidden {
  opacity: 0.4;
}

/* -- BOTÓN SOLICTAR INFORMACIÓN */
.header-info-btn-link {
  background-color: white;
  padding: 0.5rem 0.6rem;
  border-radius: 5px;
}

.header-info-btn-link a {
  color: rgb(var(--main-blue));
  font-size: 0.7rem;
  font-weight: 500;
}

.header-info-btn-link:hover {
  background-color: rgb(var(--main-blue));
  border: 1px solid white;
}

.header-info-btn-link:hover a {
  color: white;
}

/* --- BOTÓN AULA VIRTUAL */
.header-info-aula-btn {
  background-color: rgb(var(--dark-yellow));
  padding: 0.3rem 0.5rem;
  border-radius: 16px;
}

.header-info-aula-btn:hover {
  background-color: white;
}

.header-info-aula-btn:hover a {
  color: rgb(var(--dark-blue));
}

.header-info-aula-btn a {
  color: white;
  font-size: 0.81rem;
  font-weight: 700;
}

/* --- ICON LANGUAGE */

.header-info-lang-icon {
  color: white;
  font-size: 1.5rem;
}

.info-lang {
  display: none;
}

/* --- HEADER VIDEO */
/* .header-video {
  text-align: center;
}

.header-video img {
  width: 100%;
  max-height: 550px;
} */

.header-video {
  position: relative;
}

.header-video-text {
  position: absolute;
  inset: 50% auto auto 0;
  transform: translate(0, -50%);
  color: white;
  text-align: left;
  padding: 2rem;
}

.header-video-text h1 {
  font-size: clamp(1.6rem, 3.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: 1.92px;
  color: rgb(var(--main-yellow));
}

.header-video-text h2 {
  font-size: clamp(1rem, 1.5vw, 1.5rem);
}

/* --- MAIN AREA */

.main-container {
  margin-top: 2rem;
  padding: 1rem;
}

.main-container-head {
  margin-bottom: 1rem;
  text-align: center;
  color: rgb(var(--dark-blue));
}

.main-container-head h1 {
  font-weight: 700;
  animation: 3s anim-lineUp ease-out;
}

.main-container-head span {
  font-size: 1.25rem;
}

/* --IMAGEN BANNER MOBILE
.main-container-img-mobile{
  display: block;
  text-align: center;
  position: relative;
} */

/* --IMAGEN BANNER TEXT MOBILE */
.main-cont-mobile-text {
  position: absolute;
  bottom: 1rem;
  left: 3rem;
  color: white;
  text-align: justify;
}

.main-cont-mobile-text p {
  font-weight: 300;
}

.main-cont-mobile-text p:nth-child(1) {
  font-size: 2rem;
  line-height: 2rem;
  margin-bottom: 0.5rem;
}

.main-cont-mobile-text p:nth-child(2) {
  font-size: 1.3rem;
}

.main-cont-mobile-text p span {
  font-weight: 700;
  margin: 0;
}

/* -- HEADER VIDEO */
.header-video {
  text-align: center;
}

.header-video img {
  width: 100%;
}

/* --- FILTRO TITLE */

.main-filter-title h2 {
  color: rgb(var(--main-yellow));
  font-weight: 50;
  font-size: clamp(1.5rem, 2vw, 2rem);
  animation: 3s anim-lineUp ease-out;
}

@keyframes anim-lineUp {
  0% {
    opacity: 0;
    transform: translateY(80%);
  }

  20% {
    opacity: 0;
  }

  50% {
    opacity: 1;
    transform: translateY(0%);
  }

  100% {
    opacity: 1;
    transform: translateY(0%);
  }
}

.main-filter-title h2 span {
  color: rgb(var(--main-yellow));
  font-weight: 900;
  font-size: clamp(2rem, 2vw, 2.5rem);
}

/* ---- FILTRO CLEAR BTN */

.main-col-filters {
  padding: 1rem;
  overflow: scroll;
}

.main-filter-clear {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 0.5rem;
  color: rgb(var(--main-yellow));
  margin: 1.5rem 0;
}

.main-filter-clear i {
  font-size: 4rem;
}

.main-filter-clr-btn h2 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: -0.3rem;
}

.main-filter-clr-btn p {
  font-size: 1.3rem;
  margin: 0;
  margin-top: 0.3rem !important;
  /* padding: 0.3rem; */
  position: relative;
  transition-duration: 400ms;
}

.main-filter-clr-btn p:hover {
  cursor: pointer;
  transition-delay: 0.5s;
  padding: 0 0.3rem;
  background-color: #ffffff radial-gradient(circle, transparent 1%, #ffffff 1%) center/15000%;
}

.main-filter-clr-btn p:active {
  background: rgb(var(--main-yellow));
  color: white;
  background-size: 100%;
  transition: background-color 0s;
}

.main-filter-clr-btn p::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background-color: rgb(var(--main-yellow));
  transition: 0.5s ease;
}

.main-filter-clr-btn p:hover::before {
  width: 100%;
}

.main-filter-clr-btn p::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 0;
  width: 100%;
  /* background-color: rgb(var(--main-yellow); */
  border: 1px solid rgb(var(--main-yellow));
  transition: 0.4s ease;
  z-index: -1;
}

.main-filter-clr-btn p:hover::after {
  height: 100%;
  transition-delay: 0.4s;
}

/* boton filtro  */
button {
  position: relative;
  display: inline-block;
  cursor: pointer;
  outline: none;
  border: 0;
  vertical-align: middle;
  text-decoration: none;
  background: transparent;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
}

button.btn-limpiar-filtro {
  width: 12rem;
  height: auto;
}

button.btn-limpiar-filtro .circle {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: relative;
  display: block;
  margin: 0;
  width: 2rem;
  height: 2rem;
  background: rgb(var(--main-yellow));
  border-radius: 1.625rem;
}

button.btn-limpiar-filtro .circle .icon {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  left: 0.3rem;
  bottom: 5px;
  margin: auto;
}

button.btn-limpiar-filtro .button-text {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0;
  left: -1rem;
  right: 0;
  bottom: 0;
  font-size: 1rem;
  margin: 0.25rem 0 0 0;
  color: rgb(var(--main-yellow));
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

button:hover .circle {
  width: 78%;
}

button:hover .circle .icon {
  animation: sweep 1s cubic-bezier(0.805, 0, 1, 1) infinite;
}

button:hover .button-text {
  color: #fff;
}

button:hover .icon #broom {
  animation: sweep 1s cubic-bezier(0.805, 0, 1, 1) infinite;
  transform-origin: 50% 30%;
}

button:hover .icon #brush {
  animation: stretch 1s linear infinite;
  transform-origin: center bottom;
}

button:hover .icon #logs {
  animation: logs 0.5s cubic-bezier(0.805, 0, 1, 1) forwards;
  animation-delay: 0.1s;
}

@keyframes sweep {
  0% {
    -ms-transform: rotate(0deg);
    /* IE 9 */
    -webkit-transform: rotate(0deg);
    /* Chrome, Safari, Opera */
    transform: rotate(0deg);
  }

  50% {
    -ms-transform: rotate(-60deg);
    -webkit-transform: rotate(-60deg);
    transform: rotate(-60deg);
  }

  100% {
    -ms-transform: rotate(-1deg);
    -webkit-transform: rotate(-1deg);
    transform: rotate(-1deg);
  }
}

@keyframes logs {
  0% {
    -ms-transform: translate(0px, 0px);
    -webkit-transform: translate(0px, 0px);
    transform: translate(0px, 0px);
  }

  100% {
    -ms-transform: translate(50px, 0px);
    -webkit-transform: translate(50px, 0px);
    transform: translate(50px, 0px);
  }
}

@keyframes stretch {
  0% {
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
  }

  50% {
    -webkit-transform: scaleY(0.8);
    transform: scaleY(0.8);
  }

  100% {
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
  }
}

/* FILTER BANNER IMG */
.main-container-img-desktop {
  display: none;
}

/* --- MAIN FILTER COL */
.main-filter-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-subtitle h5 {
  font-weight: 900;
  color: rgb(var(--dark-blue));
  margin: 1rem 0;
}

/* --- BOTÓN FILTRAR */
.filtrar-mobile-btn {
  margin-bottom: 1.5rem;
}

.filter-title-desktop {
  display: none;
}

.filtrar-mobile-text {
  /* border: 1px solid #d1d7dc; */
  padding: 1.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  border-radius: 0px;
  background: #ffffff;
  box-shadow: 5px 5px 25px #ededed, -5px -5px 25px #ffffff;
}

.filtrar-mobile-text .bi {
  font-size: 2rem;
  color: rgb(var(--main-blue));
  transform: rotate(180deg);
}

.filtrar-mobile-text h2 {
  font-size: clamp(0.85rem, 2vw, 1.5rem);
}

/* --- MAIN COURSES CARD */

/* --- LAZY LOADING PROPERTIES */
.blur-load {
  background-image: url("../assets/images/cards/blur.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

.blur-load img {
  opacity: 0;
  transition: opacity 250ms ease-in-out;
}

.blur-load::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: pulse 2.5s infinite;
  background-color: white;
}

@keyframes pulse {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 0.1;
  }

  100% {
    opacity: 0;
  }
}

.loaded::before {
  animation: none;
  content: none;
}

.loaded img {
  opacity: 1;
}

/* --- FIN LAZY LOADING */

.main-col-courses-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 2.5rem;
  border-bottom: 2px solid rgb(var(--dark-grey));
  margin-bottom: 2rem;
  /* display: none; */
}

.main-col-courses-card:hover {
  background-color: rgb(var(--grey));
}

.course-detail-pricing {
  display: flex;
  flex-direction: row;
  /*-- Vista Móvil*/
  justify-content: space-around;
  align-items: center;
  margin-top: 1rem;
  gap: 1rem;
}

/* -- CONTENEDOR CARD PRICE */
.main-col-course-detail {
  min-width: 100%;
}

/* --- CARD ECAMPUS IMG */

/* Figure */
.main-col-course-image {
  position: relative;
  display: grid;
  max-width: 450px;
  overflow: hidden;
  min-height: 145px;
}

/* .main-col-course-image::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 100%;
  background-color: rgb(var(--brillo);
  left: -200px;
  transform: skew(-30deg);
  transition: all 0.6s;
} */

/* .main-col-courses-card:hover .main-col-course-image::after {
  left: 600px;
} */

.main-col-course-image>* {
  grid-area: 1 / 1;
}

.main-col-course-image img {
  width: 100%;
  transition: transform 400ms;
  aspect-ratio: 2/1;
  object-fit: fill;
}

.main-col-courses-card:hover .main-col-course-image img {
  transform: scale(1.1);
}

/* FigCaption */
.course-img-text {
  /* position: relative; */
  align-self: end;
  box-sizing: border-box;
  width: 100%;
  padding: 1rem;
  color: white;
}

.course-img-text::before {
  content: "";
  position: absolute;
  display: block;
  inset: 0;
  /* height: 100%; */
  background-color: rgba(0, 0, 0, 0.5);
  mix-blend-mode: multiply;
}

/* .course-img-text::after {
  content: "";
  position: absolute;
  display: block;
  inset: 50% 0 0 auto;
  width: rgb(var(--red-triangle-width);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  background-color: rgb(var(--pseudo-element-color);
} */

.course-img-text p:first-of-type {
  display: inline-block;
  --gap: 1rem;
  max-width: 100%;
  border-bottom: 2px solid;
  font-size: clamp(1rem, 3vw, 1.2rem);
}

.course-img-text p:last-of-type {
  font-weight: bold;
  font-size: clamp(1rem, 4.5vw, 1.25rem);
}

.course-img-text p {
  text-shadow: 2px 0px 2px black;
  position: relative;
}

.course-detail-img img {
  /* max-width: 100px; */
  max-width: 80px;
  height: auto;
  margin-bottom: 1rem;
}

/* CARD DETAIL MOBILE */
.course-detail-mob {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.course-detail-mob-info {
  padding: 0 0.35rem;
  text-align: center;
}

.course-detail-mob-info:nth-child(1),
.course-detail-mob-info:nth-child(2),
.course-detail-mob-info:nth-child(3) {
  border-right: 1px solid rgb(var(--dark-grey));
}

.course-detail-mob-info p {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
}

.course-detail-mob-info:nth-child(4) p:nth-child(1) {
  text-decoration: line-through;
}

.course-detail-mob-info:nth-child(4) p:nth-child(2) {
  color: rgb(var(--red));
  font-weight: 500;
}

/* --- CARD PRICE */
.course-detail-price {
  color: rgb(var(--main-yellow));
  text-align: center;
  display: none;
}

.price-before h6 {
  text-decoration: line-through;
  text-decoration-color: rgb(var(--dark-blue));
}

.price-before h6 span,
.price-now h5 span {
  color: rgb(var(--dark-blue));
  font-weight: 700;
}

.price-before h6,
.price-now h5 {
  font-weight: 700;
}

.price-now span {
  font-weight: 700;
}

/* --- CARD ICONS */

.course-detail-info-icons {
  /* display: flex; */
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  margin: 1rem 0;
  gap: 1rem;
  display: none;
}

.course-icon-1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  text-align: center;
}

.course-icon-1 p {
  font-weight: 700;
  font-size: clamp(0.75rem, 1vw, 0.85rem);
}

.course-icon-1 img {
  max-width: 24px;
  /* display: none; */
}

.course-icon-1 h3 {
  font-weight: 900;
  color: rgb(var(--dark-blue));
  font-size: clamp(0.85rem, 2.5vw, 0.85rem);
}

/* ---- CARD BUTTONS */

.course-detail-info {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.course-detail-info-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0 0.8rem;
}

.course-btn {
  background-color: rgb(var(--blue));
  /* padding: 1rem; */
  padding: 0.5rem;
  margin: 1rem 0;
  width: 90%;
  text-align: center;
  transition: all 600ms;
  position: relative;
  overflow: hidden;
}

.course-btn:nth-child(2) {
  background-color: rgb(var(--main-yellow));
}

.course-btn a {
  color: white;
  font-weight: 900;
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
}

.btn-matricula {
  display: none;
}

/* .btn-matricula a {
  color: rgb(var(--dark-blue));
} */

/* -- BOTON VER MAS INFO HOVER */

.course-btn:hover {
  color: #ffffff;
  transform: scale(1.1);
  outline: 2px solid #ffffff;
  box-shadow: 4px 5px 17px -4px rgb(var(--dark-blue));
}

.btn-ver-info::before {
  content: "";
  position: absolute;
  left: -50px;
  top: 0;
  width: 0;
  height: 100%;
  background-color: rgb(var(--red));
  transform: skewX(45deg);
  z-index: -1;
  transition: width 600ms;
}

.btn-matricula::before {
  content: "";
  position: absolute;
  left: -50px;
  color: white;
  top: 0;
  width: 0;
  height: 100%;
  background-color: rgb(var(--red));
  transform: skewX(45deg);
  z-index: -1;
  transition: width 600ms;
}

.btn-matricula:hover a {
  color: white;
}

.btn-ver-info:hover::before,
.btn-matricula:hover::before {
  width: 250%;
}

/* -- BOTON VER MÁS */

.btn-ver-mas p {
  color: white;
}

.btn-ver-mas {
  width: 200px;
  margin: 5rem auto;
  text-align: center;
  background-color: rgb(var(--blue));
  font-size: 1rem;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border: 3px solid white;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.1);
  color: #ffffff;
  transition: 0.3s ease all;
  z-index: 1;
}

.btn-ver-mas:before {
  transition: 0.5s all ease;
  position: absolute;
  top: 0;
  left: 50%;
  right: 50%;
  bottom: 0;
  opacity: 0;
  content: "";
  background-color: rgb(var(--main-yellow));
  z-index: -1;
}

.btn-ver-mas:hover,
.btn-ver-mas:focus {
  color: white;
}

.btn-ver-mas:hover:before,
.btn-ver-mas:focus:before {
  transition: 0.5s all ease;
  left: 0;
  right: 0;
  opacity: 1;
}

.btn-ver-mas:active {
  transform: scale(0.9);
}

/* -- IMAGEN GRUPO INVESTIGACION MÓVIL */

.main-img-mob {
  text-align: center;
}

.main-img-desktop {
  display: none;
}

/* FOOTER */

.footer-1 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-1,
.footer-2,
.footer-3 {
  padding: 2rem 2rem;
}

.footer-1-content {
  padding: 0 0 2rem;
  min-width: 250px;
}

.footer-1-icons-address h3 {
  color: rgb(var(--main-yellow));
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  text-align: left;
  margin: 1.5rem 0 1rem;
}

.footer-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 120px));
  justify-content: center;
  justify-items: center;
  align-items: center;
  padding: 1rem;
  gap: 0.5rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  max-height: 70px;
}

.footer-content {
  text-align: center;
  color: white;
  margin-bottom: 2rem;
}

.footer-menu {
  padding: 0.8rem 0 0.5rem;
  border-bottom: 1px solid rgb(var(--dark-grey));
}

.animate .bi {
  transition: transform 0.3s ease;
  transform: rotate(0deg);
}

.rotate .bi {
  transition: transform 0.3s ease;
  transform: rotate(45deg);
}

.footer-menu h3 {
  color: rgb(var(--main-yellow));
  font-size: clamp(0.85rem, 1.5vw, 1rem);
}

.footer-menu ul {
  padding-top: 0.65rem;
  padding-left: 0;
}

.footer-menu ul li {
  margin-bottom: 0.5rem;
  padding-left: 0.85rem;
}

.footer-menu ul li a {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  color: white;
}

.footer-menu ul li a:hover {
  color: rgb(var(--light-blue));
}

.sub-footer-1-list-title a:hover {
  color: white !important;
}

.sub-footer-1-sub-list li a {
  color: rgb(var(--dark-grey)) !important;
}

.sub-footer-1-sub-list li a:hover {
  color: rgb(var(--light-blue)) !important;
}

.footer-icons {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  margin: 1rem 0;
}

.footer-icons a {
  font-size: clamp(1.25rem, 1.2vw, 1.5rem);
  color: white;
}

.footer-icons a:hover {
  color: rgb(var(--main-yellow));
}

.footer-address {
  margin-top: 1rem;
}

.footer-address p {
  color: white;
  text-align: center;
  font-weight: 300;
}

.footer-2 img {
  aspect-ratio: 2/1;
  object-fit: contain;
  max-width: 120px;
  height: auto;
  width: 120px;
}

.footer-3 {
  background-color: rgb(var(--main-blue));
  color: white;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

.footer-3 p,
.footer-3 a {
  text-align: center;
  font-size: clamp(0.75rem, 1.2vw, 0.85rem);
  color: white;
}

.footer-3 a:hover {
  color: rgb(var(--main-yellow));
}

.footer-3 span {
  display: none;
}

/* FIN FOOTER */

/* --- MEDIA QUERIES */

@media screen and (min-width: 360px) {
  .main-cont-mobile-text {
    left: 4rem;
  }
}

@media screen and (min-width: 375px) {
  .header-info-aula-btn {
    padding: 0.3rem 1.25rem;
  }

  .main-cont-mobile-text {
    left: 5rem;
  }
}

@media screen and (min-width: 425px) {
  .header-info {
    justify-content: end;
  }

  .header-info-aula-btn a,
  .header-info-btn-link a {
    font-size: 0.75rem;
  }

  .main-cont-mobile-text {
    left: 6.5rem;
  }

  /* -- CONTENEDOR IMG CARD */
  .course-img-text {
    padding-left: 1.5rem;
    padding-right: 1.2rem;
  }

  /* -- FIG CAPTION */
  .main-col-course-image {
    min-height: 170px;
    height: 100%;
  }

}