/*
    
TemplateMo 557 Grad School

https://templatemo.com/tm-557-grad-school

*/


@import url(fontawesome.css);
@import url("https://fonts.googleapis.com/css?family=Montserrat:100,200,300,400,500,600,700,800,900");
body {
    font-family: 'Montserrat', sans-serif;
    cursor: url('../images/Lapiz1.png') 16 16, auto; /* Cambia el cursor a un lápiz y especifica el tamaño */
}

a{
  cursor: url('../images/Lapiz1.png') 16 16, pointer; /* Cambia el cursor a un lápiz y especifica el tamaño */
}

button {
    cursor: url('../images/Lapiz1.png') 16 16, auto; /* Cambia el cursor a un lápiz y especifica el tamaño */
}

article {
    cursor: url('../images/Lapiz1.png') 16 16, auto; /* Cambia el cursor a un lápiz y especifica el tamaño */
}

ul {
    cursor: url('../images/Lapiz1.png') 16 16, auto; /* Cambia el cursor a un lápiz y especifica el tamaño */
}

li {
    cursor: url('../images/Lapiz1.png') 16 16, auto; /* Cambia el cursor a un lápiz y especifica el tamaño */
}


li a {
    cursor: url('../images/Lapiz1.png') 16 16, auto; /* Cambia el cursor a un lápiz y especifica el tamaño */
}


#tabs  {
  cursor: url('../images/Lapiz1.png') 16 16, pointer; /* Cambia el cursor a un lápiz y especifica el tamaño */
}

/* Basic */

::-webkit-scrollbar {
  width: 7px;
  scrollbar-color: white;
}
::-webkit-scrollbar-thumb {
  background:#ff8e30;
  border-radius: 10px;
}

::selection {
  color: white;
  background: #0981c7;
}

a {
	color: #3CF;
    text-decoration: none;
}

a:hover {
	color: rgb(0, 0, 0);
    text-decoration: none;
}

ul {
    padding: 0px;
    margin: 0px;
    list-style: none;
}


p {
    font-size: 13px;
    line-height: 22px;
}

.creativity-bee-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between; /* Añadido para alinear el título a la izquierda y la abeja a la derecha */
}

.bees {
  display: inline-block;
  vertical-align: top;
  position: relative;
}

.bees>span {
  position: absolute;
  z-index: 1;
  width: 40px;
  height: 40px;
  background: url('../images/Abejas.png') left center;
  animation: play 0.1s steps(3) infinite;
  top: -15px; /* Añadido para mover la abeja un poco más arriba */
  left: -30px;
}

@keyframes play {
  0% { background-position: 0; }
  100% { background-position: -120px 0; }
}



.title-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.side-image {
  width: 120px; /* Ajusta este valor para cambiar el tamaño de la imagen */
  height: auto;
  margin-bottom: 20px; /* Ajusta este valor para mover las imágenes hacia arriba */
  animation: moveUp 2s ease-in-out infinite alternate; /* Añadido para animar los arcoiris */
}

.flip {
  transform: scaleX(-1);
  animation: moveUpFlip 2s ease-in-out infinite alternate; /* Añadido para animar los arcoiris invertidos */
}

@keyframes moveUp {
  0% {
      transform: translateY(0);
  }
  100% {
      transform: translateY(-20px);
  }
}

@keyframes moveUpFlip {
  0% {
      transform: translateY(0) scaleX(-1);
  }
  100% {
      transform: translateY(-20px) scaleX(-1);
  }
}

#spinner {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5); /* Fondo blanco semi-transparente */
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover; /* Asegúrate de que la imagen de fondo se ajuste al espacio disponible */
  background-position: center; /* Centra la imagen de fondo */
  background-blend-mode: overlay; /* Mezcla la imagen de fondo con el color de fondo */
}

.spinner-content {
  position: relative;
  width: 120px; /* Aumenta el ancho del contenedor */
  height: 120px; /* Aumenta la altura del contenedor */
}

.spinner-content img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%; /* Reduce el ancho de la imagen */
  height: 80%; /* Reduce la altura de la imagen */
  border-radius: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
}

.loader {
  border: 8px solid #f3f3f38c;
  border-top: 8px solid #FF204E;
  border-radius: 50%;
  width: 100%; /* Asegúrate de que el spinner tenga el mismo ancho que el contenedor */
  height: 100%; /* Asegúrate de que el spinner tenga la misma altura que el contenedor */
  animation: spin 2s linear infinite;
  position: absolute;
  top: 0;
  left: 0;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.external {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background-color: #3b5998;
  color: white;
  font-size: 20px; /* Ajusta este valor para cambiar el tamaño del icono */
  margin-left: 30px;
}

.external i {
  font-size: 20px; /* Ajusta este valor para cambiar el tamaño del icono */
}


.section-heading {
    text-align: center;
    margin-bottom: 70px;
    z-index: 10;
}



.section-heading h2 {
    margin-top: 100px;
    position: relative;
    font-size: 30px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.5px;
    display: inline-block;
    padding: 15px 20px;
    border: 5px solid rgb(255, 255, 255);
}


/* Buttons */

.main-button a {
    background-color: #0c5283;
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    padding: 12px 20px;
    display: inline-block;
    outline: none;
    border-radius: 50px;
}

a.menu-link { display: none; }

@media screen and (max-width: 950px) {
  a.menu-link {
    float: right;
    display: block;
    font-size: 36px;
    color: #fff;
    padding-right: 30px;
    padding-top: 15px;
  }
  nav[role="navigation"] {
    clear: both;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
  }
  .js nav[role="navigation"] {
    overflow: hidden;
    max-height: 0;
  }
  nav[role="navigation"].active {
    max-height: 20em;
    height: 20em;
    overflow-y: scroll;
  }
  nav[role="navigation"] ul {
    top: 0;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(250,250,250,0.25);
    background-color: rgba(22,34,57,0.99);
  }
  nav[role="navigation"] li a {
    display: block;
    padding: 15px 0px;
    border-bottom: 1px solid rgba(250,250,250,0.25);
    text-align: center;
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.5;
  }
  nav[role="navigation"] li:hover a,
  nav[role="navigation"] li.active a {
      color: #ea475a;
  }
  
  @media screen and (min-width: 951px) {
    .js nav[role="navigation"] {
      max-height: none;
    }

    nav[role="navigation"] li {
      display: inline-block;
      margin: 0 0.25em;
    }
    nav[role="navigation"] li a {
      border: 0;
    }
  }
}

/* Header */

@media screen and (max-width: 1050px) {
  .main-header .logo {
      padding-left: 30px!important;
  }

  .main-menu {
      padding-right: 30px!important;
  }

  .main-menu li {
      margin-left: 5px!important;
  }
}

.main-header {
   background: #ea475a;
    height: 80px;
    position: fixed;
    z-index: 12;
    width: 100%;
    top: 0;
    box-shadow: 0px 0px 30px rgba(68, 68, 68, 0.963);
}

.main-header .logo {
  display: flex;
  align-items: center;
  padding-left: 60px;
}

.main-header .logo img {
  width: 4em; /* Ajusta este valor según sea necesario */
  height: 4em; /* Ajusta este valor según sea necesario */
  margin-right: 10px;
  border-radius: 50%; /* Hace que la imagen sea redonda */
  object-fit: scale-down; /* Asegura que la imagen se ajuste dentro del contenedor sin recortarla */
  border: 4px solid #fcc86c; /* Añade un borde blanco de 2px alrededor de la imagen */
}
.main-header .logo {
    float: left;
    line-height: 80px;
    padding-left: 60px;
}

.main-header .logo a {
    font-size: 30px;
    text-transform: uppercase;
    font-weight: 800;
    color: #fff;
}
.main-header .logo a em {
    font-style: normal;
    color: #00224D;
}

@media screen and (max-width: 768px) {
  .main-header .logo a {
    font-size: 3vw; /* Ajusta el tamaño de la fuente en pantallas más pequeñas */
  }
}


.main-menu {
    float: right;
    padding-right: 60px;
}

.main-menu li {
    display: inline-block;
    line-height: 79px;
    margin-left: 15px;
    position: relative;
}

.main-menu li:first-child {
    margin-left: 0px;
}

.main-menu li a {
    padding: 10px 15px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    color: #fff;
    border: 2px solid transparent;
    transition: all 0.5s;
}

@media screen and (max-width: 1400px) {
  .main-menu li a {
    padding: 5px 10px; 
    font-size: 11px; 
  }
}

.main-menu li.has-submenu a:after {
    content: '\f107';
    font-family: "FontAwesome";
    margin-left: 5px;
}

.main-menu li.has-submenu ul li a:after {
    display: none;
}

.main-menu li .sub-menu {
  position: absolute;
  width: 160px;
  background-color:#8d1240;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  left: 10px; /* Mueve el submenú 50px a la derecha */
}

.main-menu li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    top: 100%;
    z-index: 1;
}

.main-menu li .sub-menu li {
    display: block;
    line-height: 20px;
    margin-left: 0px;
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.main-menu li .sub-menu li:first-child {
    padding-top: 15px;
}

.main-menu li .sub-menu li:last-child {
    margin-bottom: 0px;
    border-bottom: none;
}

.main-menu li .sub-menu li a {
    font-size: 13px;
    font-weight: 500;
    padding: 10px 15px;
    letter-spacing: 0.5px;
    border: none;
    transition: all 0.5s;
}

.main-menu li .sub-menu li a {
    color: #ffffff;
    border: none;
    background-color: transparent;
}

.main-menu li .sub-menu li a:hover {
    color: #0c5283;
    background-color: #ffffff;
}

.main-nav li.active a,
.main-nav li:hover a {
    background-color: #ffffff; /* Cambia el color de fondo a blanco */
    border: 2px solid #ea475a;
    border-radius: 15px; /* Hace que los bordes del botón sean redondos */
    color: #0c5283; /* Cambia el color del texto a negro */
    text-align: center;
}

@media (max-width: 950px) {
  .main-nav li:hover a,
  .main-nav li.active a {
    border: 2px solid transparent;
    border-bottom: 1px solid rgb(250, 250, 250);
    border-radius: 15px; /* Hace que los bordes del botón sean redondos */
  }
}

/* seccion sobre nosotros */
.container {
  max-width: 1170px;
  margin: auto;
  padding: 0 15px;
  font-family: 'Roboto', sans-serif;
}

.about-us-section {
  position: relative;
  background-image: url(../images/choosing-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 60px;
  color: #ffffff;
}

.about-us-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 136, 255, 0.343);
  z-index: 0;
}

.about-us-section .container {
  position: relative;
  z-index: 1;
}

.about-us-section .about-me-text {
  background-color: rgb(255, 255, 255);
  padding: 30px;
  border-radius: 10px;
  border: 4px solid #36b2e5;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
}

.about-me-text .section-heading {
  margin-top: 0;
  font-size: 24px;
}

.about-me-text p{
  color: #0c5283;
  font-size: 18px;
  line-height: 1.6;
}

.about-me-text h4{
  color: #ea475a;
  font-size: 22px;
}

.logo-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background-color: white;
  border: 8px solid #fcc86c;
  padding: 0.5rem;
  border-radius: 50%;
  overflow: hidden;
  animation: float-animation 3s infinite ease-in-out;
  transition: transform 0.3s ease-in-out;
}

.logo-container:hover {
  transform: scale(1.05);
}

@keyframes float-animation {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.logo-image {
  height: 25rem;
  width: 25rem;
  object-fit: contain;
  margin: 0.75rem;
}

.oruga-image {
  position: absolute;
  top: -80px;
  width: 120px;
  z-index: 2;
  animation: oruga-animation 20s infinite linear;
}

.about-us-section .about-me-text {
  position: relative;
  z-index: 1;
  padding-top: 30px;
}

@keyframes oruga-animation {
  0% { 
    left: 0; 
    transform: scaleX(-1);
  }
  45% { 
    left: 50%;
    transform: scaleX(-1);
  }
  55% {
    left: 50%;
    transform: scaleX(-1);
  }
  56% {
    transform: scaleX(1);
  }
  100% { 
    left: 0; 
    transform: scaleX(1);
  }
}

/* Media queries para hacer el diseño responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }

  .about-us-section {
    padding: 30px;
  }

  .about-us-section .about-me-text {
    padding: 20px;
  }

  .about-me-text .section-heading {
    font-size: 20px;
  }

  .about-me-text p{
    font-size: 16px;
  }

  .about-me-text h4{
    font-size: 18px;
  }
  .logo-container {
    padding: 0.25rem;
    margin-top: 30px; /* Añade un margen en la parte superior para mover el logo hacia abajo */
  }

  .logo-image {
    height: 12.5rem;
    width: 12.5rem;
  }

  .oruga-image {
    top: -40px;
    width: 60px;
  }
}
/* Slider */

.main-banner {
  position: relative;
  max-height: 100%;
  overflow: hidden;
  margin-bottom: -7px;
}

#bg-video {
    min-width: 100%;
    min-height: 100vh;
    max-width: 100%;
    max-height: 100vh;
    object-fit: cover;
    z-index: -1;
}

#bg-video::-webkit-media-controls {
    display: none !important;
}

.video-overlay {
    position: absolute;
    background-color: rgba(160, 21, 62, 0.5);
    top: 0;
    left: 0;
    bottom: 7px;
    width: 100%;
    opacity: 95%;
    z-index: 1;
}

.main-banner .caption {
  text-align: center;
  position: absolute;
  width: 80%;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  z-index: 1;
  
}

.main-banner .caption h6 {
  margin-top: 0px;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1px;
}

.main-banner .caption h2 {
  margin-top: 30px;
  margin-bottom: 30px;
  font-size: 64px;
  text-transform: uppercase;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}

.main-banner .caption h2 em {
  font-style: normal;
  color: #ff8e30;
  font-weight: 900;
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/Dibujos.png');
  background-size: contain; /* Cambia a 'contain' para ajustar la imagen al tamaño del contenedor */
  background-position: center;
  background-repeat: no-repeat; /* Añade esto para evitar que la imagen se repita */
  z-index: 1;
}


@media screen and (max-width: 1180px) {

  .main-banner .caption h6 {
    font-weight: 500;
  }

  .main-banner .caption h2 {
    font-size: 58px;
  }

}
@media screen and (max-width: 767px) {

  .main-banner .caption h6 {
    font-weight: 500;
  }

  .main-banner .caption h2 {
    font-size: 36px;
  }

}


/* Features */

section.features .col-4 {
    padding-left: 0px;
    padding-right: 0px;
}

.features-post {
  position: relative;
  margin-bottom: 0px;
}

.features-thumb {
  overflow: hidden;
  position: relative;
}

.features-thumb img {
  width: 100%;
}
.features-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  z-index: 1;
  border: 4px solid #ea475a;
}

.features-content:hover {
  background-color: #8d1240;
  box-shadow: 0px 0px 30px rgba(0,0,0,0.5);
  color: #fff;
}

.features-content:hover h4 {
  color: #fff; /* Cambia el color del texto en h4 cuando se hace hover en .features-content */
}

.features-content h4 {
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 700;
  color: #00224D;
  letter-spacing: 1px;
  margin-bottom: 0px;
}

.features-content h4 i {
    margin-right: 15px;
    font-size: 24px;
}

.features-content p {
    margin-bottom: 0px;
}

.features-content a {
  margin-top: 15px;
  display: inline-block;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.5px;
  font-weight: 700;
  font-size: 14px;
  border-bottom: 2px solid #fff;
}

.features-content p.hidden-sm {
  display: none;
}

.second-features,
.third-features {
    border-left: 1px solid rgba(250,250,250,0.1);
}

.content-hide {
  margin-top: 15px;
  display: none;
  text-align: justify;
}

.content-hide p {
  color: #fff;
  text-align: justify;
}

@media screen and (max-width: 767px) {

  .features-content {
    padding: 15px;
  }
  .features-content h4 i {
    display: block;
    margin-bottom: 10px;
  }
  .features-content h4 {
    font-size: 14px;
  }
  .features-content p {
    display: none;
  }
  .features-content p.hidden-sm {
    display: block;
  }
  .features-content a {
    letter-spacing: 0px;
    font-size: 13px;
    font-weight: 600;
  }

}


.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px; /* Ancho máximo para la cuadrícula */
  margin: 0 auto; /* Centra la cuadrícula en la pantalla */
}

.grid-item {
  display: flex;
  align-items: center;
  background-color: #f1f1f1e6;
  border-radius: 10px;
  padding: 20px;
  font-size: 20px;
  text-align: center;
  box-shadow: 0px 10px 20px 0px rgba(16, 16, 16, 0.817);
  transition: transform 0.3s, box-shadow 0.3s;
  margin: 10px;
  
}

.text-container {
  text-align: center;
  flex-grow: 1;
}

.grid-item:hover {
  transform: translateY(-10px);
  box-shadow: 0px 20px 30px 0px rgba(0,0,0,0.2);
}

.grid-item h3 {
  margin: 0 0 0 20px;
  color: #333;
}

.grid-item img {
  width: 80px;
  height: 80px;
  background-color: #36b2e5;
  border-radius: 25%; /* Reducido de 50% a 25% */
  box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.1); /* Reducido el desenfoque y la propagación */
  object-fit: cover;
  padding: 10px;
  border: 4px solid #0c5283;
  
}


@media (max-width: 1024px) {
  .grid-container {
      grid-template-columns: repeat(2, 1fr); /* 2 columnas en pantallas medianas */
  }
}

@media (max-width: 768px) {
  .grid-container {
      grid-template-columns: 1fr; /* 1 columna en pantallas pequeñas */
  }
}


/* About */
.grid-itemAlbun {
  display: flex;
  align-items: center;
  justify-content: center;

  background-color: #03afff;
  border-radius: 8px;
  transition: transform 0.3s ease-in-out;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 5px solid #8d1240;
}

.grid-itemAlbun:hover {
  filter: opacity(0.9);
  transform: scale(1.04);
}

.grid-containerAlbum {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-auto-rows: minmax(200px, auto);
  gap: 20px;
  padding: 20px;
  grid-auto-flow: dense;
  
  background-color: rgba(160, 21, 62, 0.5);
}


@media (min-width: 600px) {
  .wide {
    grid-column: span 2;
    border: 5px solid #ff8e30;
  }

  .tall {
    grid-row: span 2;
    border: 5px solid #36b2e5;
  }
}


/* Why Choosing Us */
section.why-us {
  position: relative;
  background-image: url(../images/choosing-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  padding-bottom: 100px;
}

section.why-us::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 136, 255, 0.343); /* Color rojo con 60% de opacidad */
  z-index: 0; /* El pseudo-elemento está detrás del contenido */
}

section.why-us .container {
  position: relative;
  z-index: 1; /* El contenido tiene un z-index mayor que el del pseudo-elemento */
}

#tabs {
  text-align: center;
  cursor: url('../images/Lapiz1.png') 16 16, pointer; /* Cambia el cursor a un lápiz y especifica el tamaño */
}
#tabs ul::after {
  clear: both;
  content: "";
  display: table;
  cursor: url('../images/Lapiz1.png') 16 16, pointer;
}

#tabs ul li {
  display: inline-block; /* Cambia esto para que los elementos li se muestren en línea */
  font-weight: 400;
  font-size: 5em;
  letter-spacing: 1px;
  text-align: center;
  cursor: url('../images/Lapiz1.png') 16 16, pointer;
  margin-inline: 40px;
}



#tabs ul li:not(.ui-tabs-active) a:hover {
  color: #f5a425; /* Cambia el color del texto al pasar el cursor */
  border-radius: 5px; /* Añade bordes redondeados para darle aspecto de botón */
  transition: all 0.3s ease; /* Añade una transición suave */
  transform: scale(1.1); /* Aumenta el tamaño del texto al pasar el cursor */
 
}

#tabs ul li a {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: url('../images/Lapiz1.png') 16 16, pointer;
  outline: 0;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  position: relative;
 
}

#tabs ul li a:before {
  transition: all 0.3s;
  width: 25px;
  height: 25px;
  border: 2px solid transparent;
  background-color: transparent;
  content: '';
  position: absolute;
  transform: translate(-50%);
}


#tabs ul li span {
  display: block;
  margin-bottom: 1em;
}


#tabs ul li a {
  padding: 80px; /* Aumenta el padding de los enlaces a */
}

#tabs ul .ui-tabs-active a {
  color: #f5a425;
  background-image: url('../images/Nube.png');
  background-repeat: no-repeat;
  background-position: center 50%; /* Mueve la imagen un poco más arriba */
  background-size: 80%; /* Aumenta el tamaño de la imagen en pantallas grandes */
  animation: slideIn 0.5s forwards;
}

@keyframes slideIn {
  0% {
    background-size: 0;
    background-position: center 100%;
  }
  100% {
    background-size: 100%;
    background-position: center 50%; /* Asegúrate de que la imagen termine en la misma posición */
  }
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 600px) {
  #tabs ul .ui-tabs-active a {
    background-position: center 30%; /* Mueve la imagen un poco más arriba en pantallas pequeñas */
    background-size: 80%; /* Aumenta el tamaño de la imagen en pantallas pequeñas */
  }

  @keyframes slideIn {
    0% {
      background-size: 0;
      background-position: center 100%;
    }
    100% {
      background-size: 80%;
      background-position: center 30%; /* Asegúrate de que la imagen termine en la misma posición */
    }
  }
}


#tabs h4 {
    margin-top: 60px;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 50px;
}

#tabs p {
    color: #fff;
    font-size: 15px;
    line-height: 28px;
    align-items: center;
    text-align: justify;
}

.tabs-content {
    margin-top: 70px;
    text-align: left;
}
.my-custom-div img:last-child {
  display: block;
  width: 90%;
  height: auto;
  margin-bottom: 5px;
  margin-top: 5px;
  border-radius: 10px;
  animation: sway 3s ease-in-out infinite;
}

@keyframes sway {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}

.flex-container {
  display: flex;
  justify-content: space-between;
}

.my-custom-div .flex-container img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin-right: 20px;
  animation: spin 4s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}



@media screen and (max-width: 767px) {
  .tabs-content {
      text-align: center;
      
  }

}
.tabs-content img {
  width: 500px; /* Aumenta el ancho de la imagen */
  height: 400px; /* Aumenta la altura de la imagen */
  object-fit: cover; 
  margin: 0 auto; 
  border-radius: 20px;
}

@media screen and (max-width: 767px) {
  .tabs-content img {
      width: 100%; /* Asegura que la imagen ocupe todo el ancho disponible en pantallas pequeñas */
      height: auto; /* Mantiene el aspecto de la imagen en pantallas pequeñas */
  }
}


/* Coming Soon */
section.coming-soon {
  position: relative;
  background-image: url("https://img.freepik.com/fotos-premium/ninos-juegan-manos-juntas_73944-17621.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-bottom: 120px;
}

section.coming-soon::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(160, 21, 62, 0.5);
  z-index: 0;
}

section.coming-soon .container {
  position: relative;
  z-index: 1; /* El contenido tiene un z-index mayor que el del pseudo-elemento */
}
section.coming-soon .continer .counter div {
  display: inline-block;
}
section.coming-soon .continer h4 {
    margin-top: 100px;
    font-size: 30px;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 40px;
    margin-bottom: 50px;
}
section.coming-soon .continer h4 em {
    font-style: normal;
    color: #ea475a;
}

@media screen and (max-width: 767px) {

  section.coming-soon .continer h4 {
    text-align: center;
  }

}

section.coming-soon .continer .counter .days,
section.coming-soon .continer .counter .hours,
section.coming-soon .continer .counter .minutes,
section.coming-soon .continer .counter .seconds {
  width: 22%;
  height: 140px;
  float: left;
  text-align: center;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  background-color: rgba(250,250,250,0.1);
}
@media screen and (max-width: 992px) {

  section.coming-soon .continer .counter .days,
  section.coming-soon .continer .counter .hours,
  section.coming-soon .continer .counter .minutes,
  section.coming-soon .continer .counter .seconds {
    font-size: 26px;
  }

  section.coming-soon .continer .counter .days .value,
  section.coming-soon .continer .counter .hours .value,
  section.coming-soon .continer .counter .minutes .value,
  section.coming-soon .continer .counter .seconds .value {
      margin-top: 40px!important;
  }

  section.coming-soon .continer .counter span {
      font-size: 14px!important;
  }

}
section.coming-soon .continer .counter .days,
section.coming-soon .continer .counter .hours,
section.coming-soon .continer .counter .minutes {
    margin-right: 4%;
}
section.coming-soon .continer .counter .days .value,
section.coming-soon .continer .counter .hours .value,
section.coming-soon .continer .counter .minutes .value,
section.coming-soon .continer .counter .seconds .value {
    margin-top: 15px;
    display: block;
    width: 100%;
}

section.coming-soon .continer .counter span {
    font-size: 18px;
    text-transform: uppercase;
    color: #ea475a;
    font-weight: 500;
    letter-spacing: 1px;
    margin-top: 0px;
    display: block;
}

section.coming-soon .right-content {
    margin-left: 30px;
}

@media screen and (max-width: 767px) {

  section.coming-soon .right-content {
      margin-top: 60px;
      margin-left: 0px;
  }

}

section.coming-soon .top-content {
    margin-bottom: -8px;
}

section.coming-soon .top-content h6 {
    font-size: 14px;
    color: #fff;
    background-color: rgba(250,250,250,0.2);
    padding: 40px;
    text-align: center;
    line-height: 24px;
}

section.coming-soon .top-content h6 em {
    font-style: normal;
    font-weight: 600;
}

section.coming-soon form {
    background-color: rgba(250,250,250,0.1);
    padding: 60px 40px;
    width: 100%;
    text-align: center;
}

section.coming-soon form input {
    width: 100%;
    height: 40px;
    background-color: rgba(250,250,250,0.1);
    border-radius: 0px;
    border: none;
    outline: none;
    color: #fff;
    font-size: 13px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

section.coming-soon form input:focus {
    outline: none;
    border: none;
    box-shadow: none;
    color: #fff;
    background-color: rgba(250,250,250,0.1);
}

section.coming-soon form::placeholder { color: #fff }
section.coming-soon form input::placeholder { color: #fff; }
section.coming-soon form input::placeholder { color: #fff; }

section.coming-soon form button {
    margin-top: 10px;
    background-color: #ea475a;
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    padding: 12px 20px;
    display: inline-block;
    outline: none;
    box-shadow: none;
    border: none;
}



/* Courses */

section.courses {
  position: relative;
  background-image: url(../images/choosing-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  padding: 0px 30px 100px 30px;
}

section.courses::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 136, 255, 0.343); /* Color rojo con 60% de opacidad */
  z-index: 0;
}

section.courses .container {
  position: relative;
  z-index: 1; /* El contenido tiene un z-index mayor que el del pseudo-elemento */

}
section.courses .item img {
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

section.courses .item .down-content {
    padding: 30px;
    background-color: #fff;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

section.courses .item .down-content h4 {
    font-size: 16px;
    text-transform: uppercase;
    color: #1e1e1e;
    letter-spacing: 0.5px;
    font-weight: 700;
    margin-top: 0px;
    margin-bottom: 20px;
}

section.courses .item .down-content p {
    margin-bottom: 25px;
}

section.courses .item .down-content img {
    width: 40px;
    border: 3px solid #fcc86c;
    border-radius: 50%;
    text-align: left;
    display: inline-block;
}

section.courses .item .down-content .text-button-pay {
    float: right;
    display: inline-block;
    margin-top: -30px;
}

section.courses .item .down-content .text-button-pay a {
    color: #ea475a;
    font-size: 13px;
}

section.courses .item .down-content .text-button-free {
    float: right;
    display: inline-block;
    margin-top: -30px;
}

section.courses .item .down-content .text-button-free a {
    color: #7a7a7a;
    font-size: 13px;
}

section.courses .owl-carousel .owl-nav {
    display: none;
}

section.courses .owl-carousel .owl-dots {
    text-align: center;
}

section.courses .owl-carousel button.owl-dot {
    width: 10px;
    height: 10px;
    background-color: #fff;
    margin: 50px 10px 0px 10px;
    outline: none;
}
section.courses .owl-carousel button.active {
    background-color: #f5a425;
}

/* Video */

section.video {
    background-image: url(../images/video-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #172238;
    padding: 120px 0px;
}

section.video .left-content {
  color: #fff;
}

section.video .left-content span {
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
}

section.video .left-content h4 {
    margin-top: 20px;
    font-size: 30px;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 40px;
    margin-bottom: 20px;
}
section.video .left-content h4 em {
    font-style: normal;
    color: #ea475a;
}

section.video .left-content .main-button {
  margin-top: 30px;
  z-index: 2;
}

.video-item {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0px auto 0;
}

@media screen and (max-width: 767px) {

  section.video .left-content {
    margin-bottom: 45px;
  }

  section.video .first-item .first-content h4,
  section.video .second-item .second-content h4 {
    text-align: center;
  }

}

.video-item figure {
  position: relative;
  width: 100%;
  font-size: 0;
}
.video-item figure img {
  width: 100%;
}
.video-item figure a:before {
  content: '';
  position: absolute;
  bottom: 10px;
  right: 15px;
  width: 60px;
  height: 60px;
  margin-top: -32.5px;
  margin-left: -32.5px;
  border-radius: 50%;
  background-color: #f5a425;
  z-index: 10;
}
.video-item figure a:after {
  content: '';
  position: absolute;
  bottom: 27.5px;
  right: 20px;
  margin-top: -12.5px;
  margin-left: -7px;
  border: solid 13px transparent;
  border-left: solid 20px;
  border-left-color: #fff;
  z-index: 10;
}
.video-item figure a:hover:before {
  background-color: #f5a425;
}

.video-item .video-caption {
    position: absolute;
    z-index: 10;
    background-color: rgba(250,250,250,0.75);
    height: 80px;
    width: 100%;
    padding: 27px 30px;
    bottom: 0;
    z-index: 1;
}

.video-item .video-caption h4 {
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8;
}

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  box-sizing: border-box;
}

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.mfp-align-top .mfp-container:before {
  display: none;
}

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045;
}

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto;
}

.mfp-ajax-cur {
  cursor: progress;
}

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out;
}

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in;
}

.mfp-auto-cursor .mfp-content {
  cursor: auto;
}

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.mfp-loading.mfp-figure {
  display: none;
}

.mfp-hide {
  display: none !important;
}

.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044;
}

.mfp-preloader a {
  color: #CCC;
}

.mfp-preloader a:hover {
  color: #FFF;
}

.mfp-s-ready .mfp-preloader {
  display: none;
}

.mfp-s-error .mfp-content {
  display: none;
}

button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  box-shadow: none;
  touch-action: manipulation;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0 0 18px 10px;
  color: #FFF;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace;
}

.mfp-close:hover,
.mfp-close:focus {
  opacity: 1;
}

.mfp-close:active {
  top: 1px;
}

.mfp-close-btn-in .mfp-close {
  color: #333;
}

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: #FFF;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%;
}

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap;
}

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: transparent;
}

.mfp-arrow:active {
  margin-top: -54px;
}

.mfp-arrow:hover,
.mfp-arrow:focus {
  opacity: 1;
}

.mfp-arrow:before,
.mfp-arrow:after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  left: 0;
  top: 0;
  margin-top: 35px;
  margin-left: 35px;
  border: medium inset transparent;
}

.mfp-arrow:after {
  border-top-width: 13px;
  border-bottom-width: 13px;
  top: 8px;
}

.mfp-arrow:before {
  border-top-width: 21px;
  border-bottom-width: 21px;
  opacity: 0.7;
}

.mfp-arrow-left {
  left: 0;
}

.mfp-arrow-left:after {
  border-right: 17px solid #FFF;
  margin-left: 31px;
}

.mfp-arrow-left:before {
  margin-left: 25px;
  border-right: 27px solid #3F3F3F;
}

.mfp-arrow-right {
  right: 0;
}

.mfp-arrow-right:after {
  border-left: 17px solid #FFF;
  margin-left: 39px;
}

.mfp-arrow-right:before {
  border-left: 27px solid #3F3F3F;
}

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px;
}

.mfp-iframe-holder .mfp-content {
  line-height: 0;
  width: 100%;
  max-width: 900px;
}

.mfp-iframe-holder .mfp-close {
  top: -40px;
}

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%;
}

.mfp-iframe-scaler iframe {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: #000;
}

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto;
}

/* The shadow behind the image */
.mfp-figure {
  line-height: 0;
}

.mfp-figure:after {
  content: '';
  position: absolute;
  left: 0;
  top: 40px;
  bottom: 40px;
  display: block;
  right: 0;
  width: auto;
  height: auto;
  z-index: -1;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: #444;
}

.mfp-figure small {
  color: #BDBDBD;
  display: block;
  font-size: 12px;
  line-height: 14px;
}

.mfp-figure figure {
  margin: 0;
}

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto;
}

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px;
}

.mfp-image-holder .mfp-content {
  max-width: 100%;
}

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer;
}

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0;
  }

  .mfp-img-mobile img.mfp-img {
    padding: 0;
  }

  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0;
  }

  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px;
  }

  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    box-sizing: border-box;
  }

  .mfp-img-mobile .mfp-bottom-bar:empty {
    padding: 0;
  }

  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px;
  }

  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0;
  }
}
@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75);
  }

  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0;
  }

  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%;
  }

  .mfp-container {
    padding-left: 6px;
    padding-right: 6px;
  }
}



/* Contact */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  padding: 20px;
  background-color: rgba(160, 21, 62, 0.5);
  border: 4px solid #8d1240; /* Borde amarillo para resaltar el contenedor */
  border-radius: 10px; /* Bordes redondeados para el contenedor */
  margin: 10px;
  margin-bottom: 40px;
  z-index: 1;
}

.contact-item {
  display: inline-block;
  background-color: transparent;
  padding: 35px;
  border-radius: 10px;
  margin-bottom: 20px;
  margin-right: 20px;
  text-align: center;
  box-shadow: none; /* Eliminada la sombra de caja */
  border: none; /* Eliminado el borde */
}

.contact-title {
  color: #fff;
  font-size: 24px;
  margin-bottom: 10px;
  margin-right: 40px; 
  background-color: #ea475a;
  display: inline-block;
  border-radius: 10px;
  padding: 5px;
  margin-left: 40px;
}

.contact-detail {
  color: #fff; /* Color de texto oscuro para un mejor contraste */
  font-size: 18px;
}


@media screen and (max-width: 767px) {  
  .contact-item {
    width: 100%;
    padding: 20px;
  }

  .contact-title {
    font-size: 20px;
  }

  .contact-detail {
    font-size: 16px;
  }
}

section.contact {
  position: relative; /* Añadido para posicionar el pseudo-elemento */
  background-image: url(../images/choosing-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  padding-bottom: 120px;
  color: #fff; /* Color de texto blanco para mejorar la legibilidad */
}

section.contact::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 136, 255, 0.343); /* Color rojo con 60% de opacidad */
}

section.contact form {
  background-color: rgba(160, 21, 62, 0.5);
    padding: 30px;
    width: 100%;
    border-radius: 10px; /* Bordes redondeados para el formulario */
    box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.1); /* Sombra alrededor del formulario */
    border: 4px solid #A0153E; /* Borde amarillo para resaltar el contenedor */

}

@media screen and (max-width: 767px) {  
  .contact-item {
    width: 100%;
  }
}

section.contact form input,
section.contact form textarea {
    width: 100%;
    height: 40px;
    background-color: rgba(250,250,250,0.1);
    border-radius: 0px;
    border: none;
    outline: none;
    color: #fff;
    font-size: 16px; /* Tamaño de fuente más grande para los campos de entrada */
    margin-bottom: 30px;
    letter-spacing: 0.5px;
    padding: 10px; /* Espacio interno para los campos de entrada */
}

section.contact form textarea {
    height: 220px;
    max-height: 280px;
    min-height: 220px;
}

section.contact form input:focus,
section.contact form textarea:focus {
    outline: none;
    border: none;
    box-shadow: none;
    color: #fff;
    background-color: rgba(250,250,250,0.1);
}
section.contact form::placeholder { color: #fff }
section.contact form input::placeholder { color: #fff; }
section.contact form input::placeholder { color: #fff; }

section.contact form::placeholder { color: #fff }
section.contact form textarea::placeholder { color: #fff; }
section.contact form textarea::placeholder { color: #fff; }

section.contact form button {
  background-color: #A0153E;
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  padding: 12px 20px;
  display: block;
  margin: auto;
  outline: none;
  box-shadow: none;
  border: none;
  border-radius: 5px; /* Bordes redondeados para el botón */
}

/* Footer */

footer {
  position: relative;
  padding: 50px 0;
  z-index: 1; /* Asegura que el contenido del footer quede por encima del filtro */
}

footer::before {
  content: "";
  background-image: url('../images/Footer.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
}

footer::after {
  content: "";
  background-color: rgba(234, 71, 90, 0.5);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
}

footer .col-md-6 {
  display: flex;
  align-items: center;
  text-align: center;
  position: relative; /* Añade esta línea */
  z-index: 2; /* Aumenta el z-index para que quede por encima del filtro */
}

footer .text-right {
  justify-content: flex-end;
  position: relative; /* Añade esta línea */
  z-index: 2; /* Aumenta el z-index para que quede por encima del filtro */
}

footer p {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  background-color: rgba(54, 178, 229, 1);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  margin: 10px 0;
  position: relative;
  z-index: 2;
}

footer p a,
footer p a:hover {
  color: #00224D;
  position: relative; /* Añade esta línea */
  text-decoration: none;
  z-index: 2; /* Aumenta el z-index para que quede por encima del filtro */
}

.container .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer a img{
  margin-left: 10px;
  width: 60px; /* Aumenta el tamaño de las imágenes */
  position: relative; /* Añade esta línea */
  z-index: 2; /* Aumenta el z-index para que quede por encima del filtro */
  transition: transform 0.3s ease-in-out; /* Añade una transición suave */
}




footer img:hover{
  transform: scale(1.1); /* Aumenta el tamaño de la imagen un 10% al pasar el ratón por encima */
}
footer img:hover{
  transform: scale(1.1); /* Aumenta el tamaño de la imagen un 10% al pasar el ratón por encima */
}

footer .logo{
  margin-left: 10px;
  width: 60px; /* Aumenta el tamaño de las imágenes */
  position: relative; /* Añade esta línea */
  border-radius: 50%;
  z-index: 2; /* Aumenta el z-index para que quede por encima del filtro */
  transition: transform 0.3s ease-in-out; /* Añade una transición suave */
}


footer .logo {
  width: 70px; /* Aumenta el tamaño del logo */
  border: 4px solid #fcc86c;
  position: relative; /* Añade esta línea */
  z-index: 2; /* Aumenta el z-index para que quede por encima del filtro */
}

@media screen and (max-width: 767px) {
  
  footer p {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.25px;
  }

  .container .row {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  footer .logo {
    display: block;
    margin: auto;
    margin-bottom: 10px;
  }
  
  footer a img {
    margin: 0;
    margin-bottom: 10px;
  }


  /* Añadido para centrar las imágenes de Facebook y WhatsApp */
  .col.d-flex.justify-content-end {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Añadido para centrar las imágenes de Facebook y WhatsApp directamente */
  .col.d-flex.justify-content-end a  {
    margin: auto;
  }

  /* Añadido para reducir el espacio entre las imágenes de Facebook y WhatsApp */
  .col.d-flex.justify-content-end img:first-child {
    margin-right: 10px;
  }

  .col.d-flex.justify-content-end img:last-child {
    margin-left: 10px;
  }

}


.row {
  display: flex; /* Añade flexbox */
  justify-content: center; /* Centra los elementos horizontalmente */
  flex-wrap: wrap; /* Permite que los elementos se envuelvan en múltiples líneas si no hay suficiente espacio */
}

/* Estilos para la sección de actividades */
.section.Actividades {
  position: relative;
  background-image: url("https://blog.rocnarf.com/wp-content/uploads/2021/03/la-ciencia-explica-por-que-los-ninos-son-incansables.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-bottom: 120px;
}

.section.Actividades::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(160, 21, 62, 0.5);
  z-index: 1; /* Cambia el z-index a 1 */
}

.section.Actividades * {
  position: relative;
  z-index: 2; /* Cambia el z-index a 2 */
}

/* Estilos para las cajitas de actividades */
.activity-box {
  position: relative;
  height: 300px; /* Aumenta la altura */
  width: 400px; /* Añade una anchura para hacer la caja más cuadrada */
  margin: 20px;
  border-radius: 10px; /* Reduce el radio del borde para hacer la caja más cuadrada */
  overflow: hidden;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  transition: 0.3s;
}

.activity-box:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  transform: scale(1.05);
}

.activity-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.activity-name {
  position: absolute;
  bottom: 70px; /* Mueve el nombre de la actividad a 10px del borde inferior */
  color: #fff;
  background-color: rgba(12, 82, 131, 0.7);
  padding: 10px;
  border-radius: 5px;
  font-size: 20px;
  font-family: 'Roboto', sans-serif;
  z-index: 3; /* Cambia el z-index a 3 */
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.activity-name img {
  height: 50px; /* Ajusta la altura de la imagen */
  width: 50px; /* Ajusta la anchura de la imagen */
  margin-left: 5px ;
  margin-right: 5px;
}


@media screen and (max-width: 1200px) {
  .activity-box {
    width: 90%;
    margin: 20px auto;
  }
}

@media screen and (max-width: 768px) {
  .activity-box {
    height: 200px; /* Reduce la altura de la caja para pantallas pequeñas */
  }

  .activity-name {
    font-size: 16px; /* Reduce el tamaño de la fuente para pantallas pequeñas */
  }

  .activity-name img {
    height: 40px; /* Reduce la altura de la imagen para pantallas pequeñas */
    width: 40px; /* Reduce la anchura de la imagen para pantallas pequeñas */
  }
}

.infoPre {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background-color: #36b2e5;
  display: flex;
  padding: 5px;
  justify-content: space-around;
  align-items: center;
  color: white;
  transition: top 0.3s ease-in-out;
  z-index: 100;
}

.infoItem {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.infoItem i {
  margin-right: 10px; /* Añade un margen a la derecha del ícono */
}

.infoItem p {
  margin: 0; /* Elimina el margen predeterminado del párrafo */
  font-weight: bold; /* Añade negrita al texto */
  color: #0e447c;
}


.main-header {
  margin-top: 30px;
  transition: margin-top 0.5s ease;
}

@media (max-width: 1000px) {
  .infoItem {
    flex-direction: column;
  }

  

  .infoItem i {
    margin-right: 0;
  }

  .infoItem p {
    display: none; /* Oculta el texto */
  }

}

/* Cuando la pantalla es muy pequeña (menos de 600px) */
@media (max-width: 1000px) {
  .infoItem p {
    display: none; /* Oculta el texto */
  }
}

/* Ajustes para pantallas pequeñas */

@media screen and (max-width: 1200px) {
  .features { background-color: #ffffff; }
  .features-content { position: relative; }
  .features-post { border-left: 0 }
  .main-header .logo a {
    font-size: 1em; /* Aumenta el tamaño del texto en pantallas más pequeñas */
  }
}



@media screen and (max-width: 950px) {

  .main-header .logo a {
    display: none; /* Oculta el texto "Colegio Talentos" en pantallas más pequeñas */
  }

  .main-menu { 
    padding-right: 0!important; 
  }

  .main-header .logo img {
    max-width: 50%; /* Reduce el tamaño del logo en pantallas pequeñas */
    height: auto; /* Mantiene la proporción del logo */
    margin-top: 20px; /* Añade espacio en la parte superior de la imagen */
  }
  
  .main-menu li {
    display: block;
    line-height: 1;
    margin-left: 0 !important;
    font-size: 0.8em; /* Reduce el tamaño de la letra */
  }

  .main-menu li .sub-menu {
    opacity: 1;
    visibility: visible;
    position: static;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    text-align: center;
  }
  .main-menu li a.external {
    display: block; /* Hace que el enlace ocupe todo el ancho disponible */
    padding: 10px; /* Añade un poco de relleno alrededor del enlace */
    text-align: center; /* Centra el texto dentro del enlace */
    border-radius: 0; /* Elimina el efecto redondeado */
    margin: auto; /* Centra el enlace */
    width: 100%; /* Hace que el enlace ocupe todo el ancho disponible */
  }
  .main-menu li .sub-menu li:last-child {
    border-bottom: 1px solid rgba(250, 250, 250, 0.25);
  }
}

@media screen and (max-width: 950px) and (max-height: 400px) {
  nav[role="navigation"].active {
    max-height: calc(80px + 100vh);
    overflow-y: auto;
  }
}

