/* Variables CSS */
        :root {
            --primary-color: #023e8a;
            --secondary-color: #5e90ed;
            --accent-color: #ffd700;
            --background-color: #f4f4f4;
            --text-color: #333;
            --white: #fff;
            --black: #000;
        }

        /* Estilos generales */
        body {
            font-family: 'Montserrat', sans-serif;
            margin: 0;
            padding: 0;
            color: var(--text-color);
            background: var(--background-color);
            line-height: 1.6;
        }

        h1, h2, h3 {
            font-family: 'Open Sans', sans-serif;
            font-weight: 700;
            color: var(--primary-color);
        }

        a {
            color: var(--primary-color);
            text-decoration: none;
            transition: color 0.3s;
        }

        a:hover {
            color: var(--accent-color);
        }

        /* Header */
        header {
            background: var(--primary-color);
            color: var(--white);
            padding: 1rem;
            text-align: center;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        
        header h1 {
            margin: 10px;
            font-size: 2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            animation: fadeIn 2s ease-in-out;
            color: var(--white);
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        header h2 {
            margin: 0;
            font-size: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            animation: fadeIn 2s ease-in-out;
            color: var(--white);
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        header img {
            width: 120px;
            border-radius: 50%;
            background-color: #fff;
            border: 2px solid var(--accent-color);
            animation: bounce 2s infinite;
        }

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

        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }

        /* Navbar */
        .hamburger {
            display: none;
            font-size: 1.5em;
            color: var(--white);
            background: none;
            border: none;
            cursor: progress;
            position: absolute;
            right: 1em;
            top: 1em;
        }

        nav {
            display: flex;
            justify-content: center;
            gap: 1rem;
            background-color: var(--primary-color);
            padding: 1rem;
        }

        nav a {
            color: var(--white);
            font-weight: bold;
            padding: 0.5rem;
            border-radius: 5px;
            transition: background 0.3s;
        }
        

        nav a:hover {
            background: var(--secondary-color);
        }
        
        .libro {
        float:left; 
        margin: 0 15px 15px 0;"
        	
        }
    #galeria img {
            width: 200px;
            height: 200px;
            margin: 10px;
            transition: transform 0.3s ease;
            cursor: pointer;
        }

        #galeria img:hover {
            transform: scale(1.7);
        }


        /* Hero Section */
        .hero {
            padding: 4rem 1rem;
            text-align: center;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: var(--white);
            position: relative;
            overflow: hidden;
        }
        
        /* Línea roja de 6px arriba del banner */
			.hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 6px; /* Altura de la línea amarilla */
            background-color: #ff0000; /* Color rojo */
            z-index: 1; /* Asegura que esté por encima del overlay */
        }

        /* Línea roja entre los dos colores del gradiente */
        .hero::after {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0; /* Coloca la línea en el centro vertical */
            height: 3px;
            background-color: #ff0000; /* Color rojo */
            z-index: 1000; /* Asegura que la línea esté sobre el gradiente */
        }

        .hero h1 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            animation: slideIn 1.5s ease-in-out;
        }

        .hero p {
            font-size: 1.2rem;
            max-width: 800px;
            text-align: justify;
            margin: 0 auto;
            animation: fadeInUp 2s ease-in-out;
        }

        @keyframes slideIn {
            from { transform: translateX(-100%); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }

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

        /* About Section */
        .about-section {
            padding: 2rem 1rem;
            background: var(--white);
            text-align: center;
        }

        .about-section h1 {
            font-size: 2rem;
            margin-bottom: 1.5rem;
        }

        .about-section .team {
            display: flex;
            justify-content: center;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .about-section .team-member {
            background: var(--background-color);
            padding: 1rem;
            border-radius: 10px;
            width: 100%;
            max-width: 300px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s;
        }

        .about-section .team-member:hover {
            transform: translateY(-10px);
        }

        .about-section .team-member img {
            width: 100%;
            border-radius: 10px;
            margin-bottom: 1rem;
        }

        .about-section .team-member h2 {
            font-size: 1.25rem;
            margin-bottom: 0.5rem;
        }

        .about-section .team-member p {
            font-size: 0.8rem;
            text-align: justify;
            
        }

        /* Courses Section */
        .courses-section {
            padding: 2rem 1rem;
            background: var(--background-color);
            text-align: center;
        }

        .courses-section h1 {
            font-size: 2rem;
            margin-bottom: 1.5rem;
        }

        .gallery1 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 1rem;
            margin-top: 1rem;
        }

        .gallery1 img {
            width: 100%;
            border-radius: 10px;
            transition: transform 0.3s;
        }

        .gallery1 img:hover {
            transform: scale(1.05);
        }

        /* Footer */
        footer {
            background: var(--primary-color);
            color: var(--white);
            text-align: center;
            padding: 1rem 0;
        }

        footer .social-links {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        footer .social-links a {
            color: var(--white);
            font-size: 1.25rem;
            transition: color 0.3s;
        }

        footer .social-links a:hover {
            color: var(--accent-color);
        }

        footer p {
            margin: 0;
            font-size: 0.8rem;
        }
			.titulo{
				color: #fff;
			}
			.contenedor-videos {
            display: flex;
            justify-content: space-between;
            gap: 20px;
        }

        .video-container {
            flex: 1;
            text-align: center;
        }

        .video-container h2 {
            font-size: 1.5em;
            color: #333;
            margin-bottom: 10px;
        }

        .video-container video {
            width: 30%;
            height: auto;
            max-width: 30%;
        }
.video {
            width: 20%;
            height: auto;
            max-width: 20%;
        }
        /* Responsive: Apila los videos en pantallas pequeñas */
        @media (max-width: 768px) {
            .contenedor-videos {
                flex-direction: column;
            }
        }
        /* Responsive Design */
        @media (max-width: 768px) {
            header h1 {
                font-size: 1.5rem;
                flex-direction: column;
                gap: 0.25rem;
            }

            header img {
                width: 50px;
            }

            .hamburger {
                display: block;
            }

            nav {
                flex-direction:justify; 
                align-items: center;
                display:inline-block;
            }

            nav.show {
                display: flex;
            }

            .hero h1 {
                font-size: 1.5rem;
            }

            .hero p {
                font-size: 0.5rem;
                
            
            }
            

            .about-section h1, .courses-section h1 {
                font-size: 1.75rem;
            }

            .about-section .team-member h2 {
                font-size: 1.1rem;
            }

            .about-section .team-member p {
                font-size: 0.6rem;
                text-align: left;
                margin: 0px;
            }

            .gallery1 {
                grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            }