/* =========================================
   1. ESTILOS GENERALES Y FONDOS
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #000000;
    background: linear-gradient(-45deg, #000000, #0a0a0a, #2c2c2c, #0a0a0a, #000000);
    background-size: 400% 400%;
    animation: gradienteMovimiento 15s ease infinite;
    color: white;
    font-family: Arial, Helvetica, sans-serif; 
    overflow-x: hidden; 
}

@keyframes gradienteMovimiento {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.texto-consola, .info p, .desc {
    font-family: 'Courier New', Courier, monospace;
    font-size: 20px; 
    line-height: 1.6;
    color: #ccc;
}

h2 {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 1.4rem;
    margin-bottom: 25px;
    text-shadow: 0px 0px 8px rgba(255, 255, 255, 0.3);
}


/* =========================================
   2. BOTONES Y ETIQUETAS
   ========================================= */
.btn-regresar {
    position: absolute;
    left: 50px; 
    background-color: #FF4500;
    color: white !important;
    text-decoration: none !important;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    transition: 0.3s ease;
    box-shadow: 0px 4px 15px rgba(255, 69, 0, 0.4);
    z-index: 100; 
}

.btn-regresar:hover {
    transform: scale(1.1);
    background-color: white; 
    color: #FF4500 !important; 
    box-shadow: 0px 6px 20px rgba(255, 69, 0, 0.6);
}

.btn {
    display: inline-block;
    background-color: #FF4500;
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 12px;
    text-decoration: none;
    transition: 0.3s ease;
    box-shadow: 0px 4px 15px rgba(255, 69, 0, 0.4); 
}

.flecha {
    background-color: #FF4500;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 20px;
    transition: 0.3s ease;
    box-shadow: 0px 4px 15px rgba(255, 69, 0, 0.4);
}

.btn:hover, .flecha:hover {
    transform: scale(1.1);
    box-shadow: 0px 6px 20px rgba(255, 69, 0, 0.6);
}

/* Etiquetas de Categorías (Programación, Fotografía, etc.) */
.pildora-cat {
    display: inline-block;
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 15px;
    margin-bottom: 12px;
}

.cat-programacion { border: 1px solid #4da6ff; color: #4da6ff; } 
.cat-fotografia { border: 1px solid #e6e6e6; color: #e6e6e6; }   
.cat-animacion { border: 1px solid #FF4500; color: #FF4500; }     
.cat-proceso { border: 1px solid #555; color: #888; }             


/* =========================================
   3. NAVEGACIÓN Y MENÚ HAMBURGUESA
   ========================================= */
.barra {
    height: 12vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.redes { 
    display: flex; 
    gap: 20px; 
    align-items: center; 
}

.circulo-red {
    background-color: white;
    color: black;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: 0.3s ease;
}

.pildora {
    background-color: white;
    color: black;
    height: 32px;
    padding: 0 20px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: 0.3s ease;
}

.circulo-red:hover, .pildora:hover {
    background-color: #FF4500;
    color: white;
    transform: scale(1.1);
}

/* Menú oculto (Overlay) */
.menu, .menu-hamburguesa {
    position: absolute;
    right: 50px;
    font-size: 30px;
    cursor: pointer;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999; 
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none; 
    transition: opacity 0.4s ease;
}

.menu-overlay.activo {
    opacity: 1;
    pointer-events: all;
}

.cerrar-menu {
    position: absolute;
    top: 40px;
    right: 50px;
    font-size: 35px;
    color: white;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-weight: bold;
    transition: 0.3s;
}

.cerrar-menu:hover {
    color: #FF4500;
    transform: scale(1.1);
}

.menu-links {
    display: flex;
    flex-direction: column;
    gap: 40px;
    text-align: center;
}

.menu-links a {
    color: white;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 36px;
    font-weight: 900;
    letter-spacing: 4px;
    transition: 0.3s;
}

.menu-links a:hover {
    color: #FF4500;
    transform: translateY(-5px);
}


/* =========================================
   4. PÁGINA DE INICIO (HOME)
   ========================================= */
.contenedor-principal {
    display: flex;
    height: 88vh;
    width: 100%;
}

.bloque-izq {
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 80px;
}

.bloque-izq h1 {
    font-family: Arial, sans-serif;
    font-weight: 900;
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.4);
}

.bloque-foto {
    width: 40%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.foto {
    height: 95%;
    width: auto;
    object-fit: contain;
}

.bloque-der {
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 60px;
    gap: 70px;
}

.info {
    max-width: 320px;
}

.info h3 {
    font-family: Arial, sans-serif;
    font-size: 16px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.info p {
    margin-bottom: 20px;
}


/* =========================================
   5. PÁGINA "ACERCA DE MÍ"
   ========================================= */
.pagina-acerca {
    min-height: 100vh;
    overflow: hidden;
}

.header-acerca {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 5%;
    position: relative;
    margin-bottom: 30px;
}

.header-acerca h1 {
    font-family: Arial, sans-serif;
    font-weight: 900; 
    font-size: 42px;  
    letter-spacing: 2px; 
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.4);
}

.contenedor-acerca {
    display: flex;
    justify-content: center; 
    align-items: stretch; 
    max-width: 1100px; 
    margin: 0 auto;
    padding: 0 20px;
}

.col-izq {
    width: 42%; 
    padding-right: 40px; 
    display: flex;
    flex-direction: column;
}

.col-izq p {
    line-height: 2;
    margin-bottom: 40px;
}

/* Decoración central (Rombos) */
.col-centro {
    width: 16%; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; 
    padding: 10px 0 100px 0; 
}

.rombo {
    width: 34px;  
    height: 34px; 
    background: linear-gradient(135deg, #FF4500 0%, #371002 100%);
    transform: rotate(45deg);
    box-shadow: inset -2px -2px 5px rgba(0,0,0,0.5);
}

.rombo.izq { margin-right: 45px; }
.rombo.der { margin-left: 45px; }

.col-der {
    width: 42%; 
    padding-left: 40px; 
}

.grupo-habilidades {
    margin-bottom: 40px;
}

.titulo-cat {
    font-family: 'Courier New', Courier, monospace;
    font-size: 17px;
    color: #ccc;
    margin-bottom: 15px;
}

/* Diagrama de árbol de habilidades */
.arbol {
    margin-left: 10px;
}

.rama {
    position: relative;
    padding-left: 25px;
    padding-bottom: 20px;
}

.rama::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 1px;
    background-color: #888;
}

.rama:first-child::before { top: 15px; }
.rama:last-child::before { bottom: calc(100% - 15px); }

.rama::after {
    content: '';
    position: absolute;
    top: 14px; left: 0;
    width: 20px; height: 1px;
    background-color: #888;
}

.etiqueta {
    display: inline-block;
    background-color: #FF4500;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}


/* =========================================
   6. PÁGINA DE CONTACTO
   ========================================= */
body.pagina-contacto {
    overflow-y: auto !important;
}

.contenedor-contacto {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    margin-top: 2vh;
}

.caja-formulario {
    background-color: rgba(15, 15, 15, 0.382);
    border: 1px solid #333;
    border-radius: 15px;
    padding: 50px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.caja-formulario h2 {
    text-align: center;
    font-size: 2rem;
    letter-spacing: 2px;
}

.grupo-form {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
}

.grupo-form label {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 8px;
    color: #FF4500;
}

.input-con-boton {
    display: flex;
    align-items: center;
    gap: 10px;
}

.input-con-boton input[type="text"],
.input-con-boton input[type="tel"],
.input-con-boton input[type="email"],
.input-con-boton textarea {
    flex: 1;
    background-color: #000;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 12px 15px;
    color: white;
    font-family: 'Courier New', Courier, monospace;
    font-size: 15px;
    transition: 0.3s ease;
}

.input-con-boton input:focus,
.input-con-boton textarea:focus {
    outline: none;
    border-color: #FF4500;
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.3);
}

.input-con-boton textarea {
    resize: vertical;
}

/* Botones del formulario */
.btn-borrar {
    background-color: transparent;
    border: 1px solid #555;
    color: #888;
    width: 35px;
    height: 35px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-borrar:hover {
    background-color: #FF4500;
    border-color: #FF4500;
    color: white;
}

.btn-borrar-txt {
    align-self: flex-start;
    margin-top: 5px;
}

.grupo-radios {
    display: flex;
    gap: 20px;
    align-items: center;
}

.label-radio {
    color: white !important;
    font-weight: normal !important;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease, text-shadow 0.3s ease;
}

input[type="radio"]:checked + .label-radio {
    color: #FF4500 !important;
    text-shadow: 0 0 10px rgba(255, 69, 0, 0.8);
    opacity: 1;
}

.btn-enviar {
    font-size: 16px;
    padding: 15px 40px;
    cursor: pointer;
    border: none;
}


/* =========================================
   7. GALERÍA DE PROYECTOS (PORTAFOLIO)
   ========================================= */
body.pagina-proyectos {
    min-height: 100vh;
    overflow-y: auto !important; 
}

body.sin-scroll {
    overflow: hidden !important;
}

.contenedor-proyectos {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    padding: 0 3%;
    gap: 10px; 
    max-width: 1500px;
    margin: 0 auto;
    margin-top: 4vh;
}

/* Cuadrícula (Grid) de las tarjetas */
.galeria-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 50px 40px; 
    padding-bottom: 20px; 
}

.contenedor-ficha {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contenedor-ficha a {
    text-decoration: none;
    display: block;
}

.caja-proyecto {
    position: relative;
    aspect-ratio: 4 / 3; 
    background-color: #222; 
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.caja-proyecto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8; 
    transition: 0.3s;
}

.caja-proyecto:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.5);
}

.caja-proyecto:hover img {
    opacity: 1; 
    transform: scale(1.05); 
}

/* Fondo naranja al pasar el mouse */
.overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255, 69, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 2px;
    opacity: 0;
    transition: 0.3s ease;
}

.caja-proyecto:hover .overlay {
    opacity: 1;
}

.texto-abajo h3 {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 10px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.texto-abajo .texto-consola {
    font-size: 20px; 
    line-height: 1.6;
    color: #bbb;
}

/* Animación de cambio de página */
.fade-in-activo {
    animation: aparecerSuave 0.6s ease-out forwards;
}

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


/* =========================================
   8. PLANTILLAS DE PROYECTOS INDIVIDUALES
   ========================================= */

/* --- 8.1 Diseño Base (Proyecto 1) --- */
.contenedor-proyecto-indv {
    max-width: 1500px; 
    margin: 60px auto;
    padding: 0 3% 100px 3%; 
}

.hero-proyecto {
    display: flex;
    gap: 80px; 
    align-items: flex-start;
}

.columna-visual {
    width: 60%; 
    display: flex;
    flex-direction: column;
    gap: 25px; 
}

.caja-video-principal,
.caja-imagen-principal {
    width: 100%;
    aspect-ratio: 16 / 9; 
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    border: 1px solid #333;
}

.video-principal,
.caja-imagen-principal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.caja-imagen-principal:hover img {
    transform: scale(1.05); 
}

.etiquetas-tecnologia {
    display: flex;
    gap: 15px;
    flex-wrap: wrap; 
}

.pildora-tech {
    background-color: transparent;
    color: #FF4500;
    border: 1px solid #FF4500;
    padding: 8px 20px;
    border-radius: 20px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 15px;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.2);
}

.columna-info {
    width: 40%; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 10px;
}

.titulo-proyecto {
    font-size: 3rem; 
    margin-bottom: 20px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.descripcion-proyecto {
    font-size: 17px; 
    line-height: 1.8;
}

.metadatos-proyecto {
    margin-top: 25px;
    margin-bottom: 35px;
    display: flex;
    gap: 40px;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    padding: 20px 0;
}

.meta-item span {
    color: #FF4500;
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
}

.meta-item p {
    font-family: 'Courier New', Courier, monospace;
    font-size: 17px;
    color: #fff;
    margin: 0;
}

.btn-proyecto {
    align-self: flex-start;
    padding: 15px 35px;
    font-size: 14px;
}

.caso-estudio {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #333; 
    display: flex; 
    gap: 80px; 
    align-items: flex-start;
}

.caja-texto-izq { width: 60%; }
.caja-texto-der { width: 40%; }

.caja-texto-izq h3, 
.caja-texto-der h3 {
    color: white;
    border-left: 4px solid #FF4500; 
    padding-left: 15px;
    margin-bottom: 25px;
    font-family: Arial, sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.caja-texto-izq p {
    text-align: justify; 
    margin-bottom: 15px;
}

.lista-mecanicas {
    list-style-type: none; 
    padding: 0;
}

.lista-mecanicas li {
    font-family: 'Courier New', Courier, monospace;
    font-size: 20px;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    padding-left: 25px; 
    text-align: justify; 
}

.lista-mecanicas li::before {
    content: '►';
    color: #FF4500;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 12px;
}

.lista-mecanicas strong { color: white; }

/* --- 8.2 Diseño Fotografía (Proyectos 2 y 3) --- */
.layout-fotografia {
    max-width: 1600px;
    margin: 60px auto;
    padding: 0 3% 100px 3%;
    display: block; 
}

.columna-texto-foto {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.columna-galeria-foto {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 15px; 
}

.subtitulo-herramientas {
    color: white;
    font-family: Arial, sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    margin-top: 15px;
}

/* --- 8.3 Carrusel y Lightbox de Fotos --- */
.galeria-horizontal {
    display: flex;
    gap: 20px; 
    overflow-x: auto; 
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory; 
    -ms-overflow-style: none;  
    scrollbar-width: none;  
}

.galeria-horizontal::-webkit-scrollbar { display: none; }

.galeria-horizontal img {
    height: 500px; 
    width: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    flex-shrink: 0; 
    scroll-snap-align: start; 
    border: 1px solid #333;
    transition: transform 0.3s ease;
}

.galeria-horizontal img:hover { transform: scale(1.02); }

.carrusel-visor {
    position: relative;
    width: 110%;
    aspect-ratio: 3 / 2; 
    border-radius: 10px;
    background-color: transparent; 
    border: none;
    box-shadow: none;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; 
    opacity: 0;
    filter: blur(10px); 
    transition: opacity 0.5s ease, filter 0.5s ease;
    cursor: zoom-in; 
}

.slide.activa {
    opacity: 1;
    filter: blur(0);
    z-index: 2;
}

.slide:hover { transform: scale(1.02); }

.flecha-interior {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent; 
    color: white; 
    font-size: 55px; 
    border: none;
    padding: 0; 
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8); 
}

.flecha-interior:hover {
    background: transparent; 
    color: #FF4500; 
    transform: translateY(-50%) scale(1.2); 
}

.flecha-interior.izq { left: 100px; }
.flecha-interior.der { right: 100px; }

/* Vista ampliada de la imagen (Lightbox) */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95); 
    z-index: 10000; 
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.lightbox-overlay.activo {
    opacity: 1;
    pointer-events: all;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 5px;
    box-shadow: 0 0 40px rgba(0,0,0,0.9);
    object-fit: contain; 
}

.cerrar-lightbox {
    position: absolute;
    top: 30px;
    right: 50px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-weight: bold;
    transition: 0.3s;
    z-index: 10001;
}

.cerrar-lightbox:hover {
    color: #FF4500;
    transform: scale(1.1);
}

.flecha-lightbox {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #FF4500; 
    font-size: 60px;
    cursor: pointer;
    padding: 20px;
    transition: 0.3s;
    z-index: 10001;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.flecha-lightbox:hover {
    color: white; 
    transform: translateY(-50%) scale(1.2);
}

.flecha-lightbox.izq { left: 40px; }
.flecha-lightbox.der { right: 40px; }

/* --- 8.4 Diseño Animación (Proyectos 4, 5 y 6) --- */
.layout-animacion-nuevo {
    display: flex;
    flex-direction: column;
    gap: 20px; 
    width: 100%;
    margin-top: -35px; 
}

.bloque-superior-animacion {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    border-bottom: 1px solid #333; 
    padding-bottom: 15px; 
}

.titulo-y-desc {
    width: 70%; 
    display: flex;
    flex-direction: column;
}

.titulo-y-desc .titulo-proyecto {
    font-size: 2.2rem; 
    margin-bottom: 10px; 
}

.caja-meta-animacion {
    width: 30%; 
    margin: 0;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column; 
    gap: 10px; 
    padding-top: 5px; 
}

.bloque-inferior-animacion {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.zona-video {
    width: 65%; 
    display: flex;
    flex-direction: column;
    gap: 12px; 
}

.zona-herramientas {
    width: 35%; 
    display: flex;
    flex-direction: column;
    gap: 25px; 
}

/* Contenedor adaptativo para videos */
.contenedor-video-yt {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    border: 1px solid #333;
    background-color: #000;
}

.contenedor-video-yt iframe,
.contenedor-video-yt video {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    object-fit: cover;
}

.contenedor-video-yt.video-vertical {
    aspect-ratio: 9 / 16;
    max-width: 350px; 
    margin: 0 auto;
}

/* Botones para cambiar videos (Ej. Proyecto 4) */
.controles-clips {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.btn-clip {
    width: 35px; 
    height: 35px; 
    border-radius: 50%;
    border: 1px solid #FF4500;
    background-color: transparent;
    color: white;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-clip:hover {
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.5);
    transform: scale(1.1);
}

.btn-clip.activo {
    background-color: #FF4500;
    color: white;
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.6);
}