  
html {
    font-size: 62.5%;
}
body {
    background-color: #f5f3f3;
}
h1 {
    font-size: 3rem;
    text-align: center;
}
h2 {
    font-size: 2rem;
    text-align: center;
}
h4 {
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}

.qr-container {
    background-color: #f9f9f9; /* Fondo suave */
    border: 1px solid #ddd;    /* Borde sutil */
    border-radius: 8px;        /* Bordes redondeados */
    padding: 20px;
    text-align: center;        /* Centrado de contenido */
    align-items: center;
    width: 400px;              /* Tamaño fijo para la card */
    margin: 40px auto;         /* Centrado horizontal con margen superior e inferior */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* Sombra para dar profundidad */
  }
  
  .qr-container p {
    margin-top: 10px;
    font-family: Arial, sans-serif;
    color: #333;
  }

  .qr-container img {
    max-width: 50%;
    height: auto;
  }
  
  @media (max-width: 600px) {
    .qr-container {
      width: 90%; /* Se adapta al ancho de dispositivos móviles */
      margin: 20px auto;
    }
  }
  
  
#lista-sugerencias {
    max-width: 100%;
    max-height: 100%;
    overflow-y: scroll;
    list-style: none;
    z-index: 1000;
    box-sizing: border-box;
    
}

  
  

/* Barra de información dentro del header */
.contact-marquee {
    background-color: #3f3e3e; /* Fondo gris */
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box;
    font-size: 1rem;
    padding: 10px 0;
    border-radius: 5px;
  }
  
  /* Texto animado en la barra */
  .contact-marquee p {
    display: inline-block;
    padding-left: 100%; /* Inicia fuera de la pantalla */
    animation: marquee 45s linear infinite;
    margin: 0;
  }
  
  /* Estilo base para el texto, que animaremos */
  .contact-marquee p span {
    color: #00a7c4;
    animation: colorPulse 3s ease-in-out infinite;
  }
  
  /* Animación para el desplazamiento del texto */
  @keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
  }
  
  /* Animación para el cambio de color a una tonalidad más clara */
  @keyframes colorPulse {
    0%, 100% {
      color: #00a7c4; /* Color base */
      text-shadow: none;
    }
    50% {
      color: #66d9ff; /* Color más claro */
      text-shadow: 0 0 8px #66d9ff; /* Opcional: agrega un leve halo */
    }
  }
  
  /* Ajustes responsivos */
  @media (max-width: 768px) {
    .contact-marquee {
      font-size: 0.9rem;
      padding: 8px 0;
    }
  }
  
.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contenedor-imagen {
    width: auto;
    height: auto;
    overflow: hidden;
    position: relative;
  }

/* Estilo inicial de la imagen */
.imagen-curso {
    width: 100%;
    height: 100%;
    transition: transform 0.2s ease;
    cursor: pointer;
    transform-origin: center center; /* Zoom centrado */
  }
  
  /* Efecto de zoom activo */
  .imagen-curso.zoom-activo {
    cursor: grab; /* Muestra el cursor como si fuera algo que puede ser arrastrado */
  }
  
  /* Mueve la imagen en función de las coordenadas del mouse o del toque */
  .imagen-curso.zoom-activo.moving {
    cursor: grabbing;
    transition: none; /* Sin animación mientras se mueve */
  }

  
.imagen-curso:hover {
    transform: scale(1.05); /* Aumentamos el tamaño al pasar el mouse */
}



header {
    background: white;
    text-align: center;
    position: fixed;
    width: 100%;
    transition: top 0.3s ; /* Agregar transición suave para el movimiento */
    z-index: 1000;
    border-radius: 10px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
}

/* Estilos para el panel de navegación */
.navbar {
    position: relative;
    background-color: #FFFFFF; /* Fondo negro */
    padding: 0px 0;
    border: 10px;
    border-radius: 5px;
    z-index: 900; 
    animation: slideIn 0.1s forwards;
  }

  @keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}
  
  .navbar .menu {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    display: contents;
    
  }
  
  .navbar .menu li {
    display: inline-block;
    text-align: center;
    
  }
  
  .navbar .menu li a {
    color: #000000; /* Texto blanco */
    text-decoration: none;
    padding: 10px 15px;
    display: inline-block;
    font-family: "Lulo CLEAN W01 ONE BOLD", sans-serif; /* Define la fuente */
  }
  
  .navbar .menu li a:hover {
    background-color:  #06b7ce; 
    border-radius: 5px;
  }
  
  .navbar .dropdown {
    position: relative;
  }
  
  .navbar .submenu {
    display: none;
    position: absolute;
    background-color: #FFFFFF; 
    padding: 10px 0;
    list-style: none;
    margin: 0;
    min-width: 180px;
    top: 100%;
    left: 0;
  }
  
  .navbar .submenu li {
    display: block;
    font-family: "Lulo CLEAN W01 ONE BOLD", sans-serif; /* Define la fuente */
    font-weight: bold; /* Define el grosor del texto */
    text-align: center;
  }
  
  .navbar .submenu li a {
    color: #000000;
    padding: 10px 15px;
    
  }
  
  .navbar .submenu li a:hover {
    background-color: #06b7ce; 
  }
  
  .navbar .dropdown:hover .submenu {
    display: block;
    left: 25%; /* Centrar horizontalmente respecto al padre */
    top: 100%; /* Mostrar debajo del enlace principal */    
  }
  
  .navbar .submenu li a:hover {
    border-radius: 5px;
  }

  /* Estilos para la flecha o ícono de menú en pantallas pequeñas */
.menu-toggle {
    display: none; /* No se muestra en pantallas grandes */
    cursor: pointer;
    font-size: 24px;
    text-align: center;
}
.menu-icon{
    width: 15px; 
    height: auto; 
    vertical-align: middle; 
    margin-top: -30px;
    
}

.menu-icon-quinesSomos{
    width: 15px; 
    height: auto; 
    vertical-align: middle; 
}
#menu-toggle.menu-open img {
    content: url('../img/Flecha-abajo.webp'); /* Imagen para el estado abierto */
}
@media (max-width: 768px) {
    .navbar .menu {
        display: none; /* Ocultamos el menú en pantallas pequeñas */
        flex-direction: column;
        width: 100%;
    }

    .navbar .menu li {
        margin: 10px 0; /* Añadimos espacio entre los elementos del menú */
    }

    /* Mostrar la flecha en pantallas pequeñas */
    .menu-toggle {
        display: block;
        font-size: 1px;
        text-align: center;
    }

    /* Mostrar el menú cuando se hace clic en el ícono */
    .navbar.menu-active .menu {
        display: flex; /* Muestra el menú en columnas */
    }
}

.submenu{
    position: relative; /* Necesario para centrar elementos absolutos */
    display: inline-block;
}
  


/* Estilo cuando el header está activo por el scroll */
#header.scroll-activo {
    top: -100px; /* Mueve el header hacia arriba cuando está activo */
}

.borrar-curso {
    background-color: red;
    border-radius: 50%;
    padding: 3px 3px;
    text-decoration: none;
    color: white;
    font-weight: bold;
}

ul {
    list-style: none;
}
#hero {
    padding-top: 140px; /* Ajusta este valor según sea necesario */
    height: 450px;
    object-fit: contain;
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease-in-out; /* Transición suave para el cambio de fondo */
    position: relative;
    overflow: hidden;
    margin: auto;
}


#encabezado {
    margin: 30px 0;
}

/* botones del fondo de pantalla */
/* Ajusta el estilo de las flechas para que sean más pequeñas y sutiles */
/* Estilos para las flechas de navegación */
.flecha {
    position: absolute;
    top: 80%;
    transform: translateY(-50%);
    background-color: transparent;
    color: #808080; /* Color gris inicial */
    border: none;
    font-size: 30px; /* Tamaño adecuado */
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
    opacity: 1; /* Asegura que sea visible */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 20;
}

/* Flecha izquierda */
#prev {
    left: -200px;
}

/* Flecha derecha */
#next {
    right: -200px;
}

/* Efectos hover y active */
.flecha:hover {
    transform: translateY(-50%) scale(1.1);
    color: #555555;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.flecha:active {
    color: rgba(18, 199, 199, 0.7);
    transform: translateY(-50%) scale(0.95);
    text-shadow: 0 2px 4px rgba(18, 199, 199, 0.7);
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .flecha {
        font-size: 24px;
        top: 70%;
    }
    #prev {
        left: -25px;
    }
    #next {
        right: -25px;
    }
}
/*logo carrito*/
#carrito{
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); /* Sombra sutil alrededor del carrito */
    border-radius: 10px; /* Bordes redondeados */
}
.submenu {
    padding-top: 15px;
    position: relative;
    z-index: 1000; 
    animation: fadeIn 2s ease-in-out;
    
}

.submenu .carrito {
    transition: filter 0.3s ease;
}

.submenu:hover .carrito {
    filter: invert(48%) sepia(99%) saturate(2264%) hue-rotate(192deg) brightness(97%) contrast(102%);
}

.submenu #carrito{
    display: none;
}
.submenu:hover #carrito{
    display: block;
    position: absolute;
    right:0;

    top:100%;
    z-index: 1;
    background-color: white;
    padding: 20px;
    min-height: 400px;
    min-width: 300px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    overflow-y: auto; /* Permite el desplazamiento vertical si el contenido es grande */
}
.vacio {
    padding: 10px;
    background-color: rgb(20, 163, 220);
    text-align: center;
    border-radius: 10px;
    color: white;
}
.contenido-hero {
    margin-top: 120px;
    color: #070707; 
    
}

/* Estilo para hacer la imagen responsive dentro del carrito */
.submenu #carrito img {
    width: 50px; /* Ajusta el tamaño de la imagen */
    height: auto;
    object-fit: contain;
}

/* Estilo para los detalles del producto */
#lista-carrito {
    width: 100%;
    position: absolute;
    right: 0;
    top: 30%;
    z-index: 1;
    background-color: white;
    padding: 20px;
    min-width: 300px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    max-height: 400px; /* Define una altura máxima para que se habilite el scroll */
    overflow-y: auto; /* Habilita el desplazamiento vertical */
    
 
}

#lista-carrito th, #lista-carrito td {
    padding: 10px;
    text-align: center;
    font-size: 14px;
}

#lista-carrito td img {
    width: 50px; /* Ajusta el tamaño de la imagen */
    height: auto;
    object-fit: contain;
}

#lista-carrito .cantidad {
    text-align: center;
}

#vaciar-carrito {
    margin-top: 10px;
}

.cantidad-input {
    text-align: center; /* Alinea el texto dentro del input */
    max-width: 300px;   /* Limita el ancho del input */
    margin: 0 auto;     /* Centra el input horizontalmente */
}

/* Medias queries para dispositivos móviles */
@media (max-width: 768px) {
    .submenu:hover #carrito {
        width: 90%; /* Ajustar el ancho del carrito en dispositivos móviles */
        right: 50%; /* Centrar el carrito */
        transform: translateX(50%); /* Ajustar la posición para centrar */
    }
    
    #lista-carrito th, #lista-carrito td {
        font-size: 12px; /* Ajustar el tamaño de fuente para móviles */
    }
}

.skeleton-alert {
    position: fixed;
    text-align: center;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    animation: fadeIn 0.3s ease-in-out, fadeOut 0.5s ease-in-out 2.5s forwards;
}

/* 🟢 Estilo para alertas de éxito */
.skeleton-alert.success {
    background: rgba(48, 209, 88, 0.9); /* Verde Apple */
}

/* 🔴 Estilo para alertas de error */
.skeleton-alert.error {
    background: rgba(255, 69, 58, 0.9); /* Rojo Apple */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes fadeOut {
    to { opacity: 0; transform: translateX(-50%) translateY(-10px); }
}

.titulo {
    text-align: center; 
    font-family: Arial Black; 
    font-weight: bold; 
    font-size: 30px; 
    color: #fff; 
    text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000;
    transform: translateY(20px);
    animation: fadeInUp 3s ease-out forwards;
    }
    
.parrafo {
    text-align: center;
    font-family: 'Arial', sans-serif;
    font-weight: normal;
    font-size: 16px; /* Tamaño de fuente reducido */
    color: #fff; 
    text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000;
    transform: translateY(20px);
    animation: fadeInUp 3s ease-out forwards;
}

.formulario {
    animation: fadeInUp 3s ease-out forwards;
}

    @keyframes fadeInUp {
        0% {
            opacity: 0;
            transform: translateY(20px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

/* Estilos para los puntos suspensivos */
.dots::after {
    content: '';
    animation: dots 1.5s steps(5, end) infinite;
}

@keyframes dots {
    0%, 20% {
        content: '';
    }
    40% {
        content: '.';
    }
    60% {
        content: '..';
    }
    80%, 100% {
        content: '...';
    }
}

.contenido-hero form {
    position: relative;
    margin-bottom: 0;
}
.contenido-hero form #buscador {
    height: 50px;
    margin-bottom: 0;
    
}
.contenido-hero form .submit-buscador {
    position: absolute;
    right:0;
    top:0;
    height: 50px;
    padding: 0;
    display: block;
    text-indent: -9999px;
    width: 30px;
    background-image: url(../img/vaso.png);
    background-position: right center;
    background-repeat: no-repeat;
    border:none;
}


.barra {
    padding: 20px 0;
    background: #005f99; /* Color inicial */
    background: -moz-linear-gradient(left, #005f99 0%, #00bfff 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, #005f99 0%,#00bfff 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, #005f99 0%,#00bfff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#005f99', endColorstr='#00bfff',GradientType=1 ); /* IE6-9 */
    position: relative;
    overflow: hidden;
}

.barra::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    animation: slime 10s ;
    border-radius: 90%;
}

@keyframes slime {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Estilos para las burbujas */
.bubble {
    position: absolute;
    bottom: 0;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    opacity: 0.7;
    animation: bubble 10s infinite;
}

.bubble:nth-child(2) {
    width: 25px;
    height: 25px;
    left: 25%;
    animation-duration: 12s;
}

.bubble:nth-child(3) {
    width: 15px;
    height: 15px;
    left: 50%;
    animation-duration: 8s;
}

.bubble:nth-child(4) {
    width: 30px;
    height: 30px;
    left: 75%;
    animation-duration: 14s;
}

.bubble:nth-child(5) {
    width: 10px;
    height: 10px;
    left: 90%;
    animation-duration: 6s;
}

@keyframes bubble {
    0% {
        bottom: 0;
        opacity: 0.7;
        transform: translateX(0) scale(1);
    }
    /* 25%{
        transform: translateY(30px);
        opacity: 0.5;
    } */
    50% {
        opacity: 0.4;
        transform: translateX(20px) scale(1.2);
    }
    /* 75%{
        transform: translateY(50px);
        opacity: 0.5;
    } */
    100% {
        bottom: 100%;
        opacity: 0.6;
        transform: translateX(0) scale(1);
    }
}

/* Estilos para las estrellas mágicas */
.star {
    position: absolute;
    bottom: 0;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, rgb(0, 140, 255) 0%, rgb(0, 102, 255) 60%, rgba(255, 215, 0, 0) 100%);
    border-radius: 50%;
    box-shadow: 0 0 15px 5px rgba(0, 255, 255, 0.5);
    opacity: 0.8;
    animation: float 10s infinite, leave-trail 1s infinite;
}

/* Variantes para cada estrella */
.star:nth-child(2) {
    width: 25px;
    height: 25px;
    left: 25%;
    animation-duration: 12s, 1.2s;
}


.star:nth-child(3) {
    width: 15px;
    height: 15px;
    left: 40%;
    animation-duration: 8s, 1s;
}

.star:nth-child(4) {
    width: 30px;
    height: 30px;
    left: 75%;
    animation-duration: 14s, 1.5s;
}

.star:nth-child(5) {
    width: 12px;
    height: 12px;
    left: 80%;
    animation-duration: 6s, 0.8s;
}

/* Animación para que las estrellas floten */
@keyframes float {
    0% {
        bottom: 0;
        opacity: 0.8;
        transform: translateX(0) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translateX(-20px) scale(1.2);
    }
    100% {
        bottom: 100%;
        opacity: 0;
        transform: translateX(20px) scale(1);
    }
}


.barra p {
    margin:0;
    color: black;
    
    
}
.icono {
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 60px;
    background-size: 30px;
    margin-bottom: 40px;
    text-align: center;
    animation: fadeInUp 3s ease-out forwards;
    
}

.icono1 {
    background-image: url(../img/dinero.webp);
}
.icono2 {
    background-image: url(../img/guante.webp);
}
.icono3 {
    background-image: url(../img/repartidor.webp);
}

#lista-cursos .row {
    margin-bottom:20px;
}
.agregar-carrito {
    margin:10px 0;
}

.card {
    
    border: 1px solid #e1e1e1;
    background: white;
    border: 1px solid #e1e1e177;
    border-radius: 5px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    overflow: hidden;
    position: relative;

}

.card img {
    width: 100%;
    height: 400px; /* O la altura que necesites */
    object-fit: contain; /* Ajusta la imagen al contenedor manteniendo la proporción */
    border-radius: 5px;
    transition: transform 0.3s ease; /* Transición suave para el zoom */
}


.info-card  {
    padding: 10px 20px;
    text-align: center;
    
}

.info-card p, 
.card h4 {
    margin-bottom: 5px;

}


.footer {
    
    margin-top: 40px;
    border-top:1px solid #aaa;;
    padding-top: 40px;   
    width: 100%; /* 80% del ancho de la ventana */
    height: 100%; /* 50% de la altura de la ventana */
}
.footer .menu a{
    display: block;
    margin-bottom: 1px;
    text-decoration: none;
    }

    @media (max-width: 768px) {
        .footer {
            height: 55vh; /* 50% de la altura de la ventana */
        }
        .parrafo {
            font-size: 13px;
        }

    }

    @media (max-width: 820px) {
        .footer {
            
            height: 55vh; /* 50% de la altura de la ventana */
        }
        .parrafo {
            font-size: 12px;
        }
    }



/*Configuraciones del logo*/ 
/* .logo {
    text-align: center;
    font-size: 2rem; 
    color: #000000; 
    animation: fadeIn 2s ease-in-out;
} */

#logo {
    content: url('../img/Logo.webp'); 
    max-width: 50%;
    height: auto;
    display: inline-block;
    animation: fadeInZoom 2s ease-in-out forwards, glowPulse 3s ease-in-out 2s infinite;
  }
  
  @media (min-width: 768px) {
    /* En escritorio, se centra el logo */
    #logo {
      display: block;
      margin-left: 360px;
      max-width: 70%;
    }
  }
  
  /* Animación de carga */
  @keyframes fadeInZoom {
    0% {
      opacity: 0;              
      transform: scale(0.5);    
    }
    50% {
      opacity: 0.7;            
      transform: scale(1.2);    
    }
    100% {
      opacity: 1;               
      transform: scale(1);      
    }
  }
  
  /* Animación del resplandor */
  @keyframes glowPulse {
    0% {
      filter: brightness(100%);
      box-shadow: 0 0 0px rgba(255, 255, 255, 0);
    }
    50% {
      filter: brightness(150%);
      box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    }
    100% {
      filter: brightness(100%);
      box-shadow: 0 0 0px rgba(255, 255, 255, 0);
    }
  }
  

.EstiloDeLetraCQ {
    
    font-weight: bold; /* Define el grosor del texto */
    color: #000000; /* Color negro */
}
.bold {

    font-weight: bold; /* Define el grosor del texto */
    color: #000000; /* Color negro */
}

.regular {
    font-weight: bold; /* Define el grosor del texto */
    color: #00a7c4; /* Color azul */
    animation: fadeIn 5s ease-in-out;
    
}


.sup {
    font-size: 0.5rem; /* Tamaño del superíndice */
}

.subtext {
    font-size: 1rem; /* Tamaño del texto secundario */
    color: #000000; /* Color negro */
    animation: fadeIn 5s ease-in-out;
}

/* Estilos para el loader */
#loader {
    position: flex;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* Fondo semi-transparente */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }
  
  

.spinner {
    width: 36px;
    height: 36px;
    border: 5px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    border-left-color: #4797ff;
  
    animation: spin 1s ease infinite;
  }

  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
  
    100% {
      transform: rotate(360deg);
    }
  }

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
