/* 1. Definición de los Keyframes */
        @keyframes slide-down {
            0% { transform: translateY(-100%); }
            50% { transform: translateY(0); } /* Punto de encuentro */
            100% { transform: translateY(-100%); }
        }
        @keyframes slide-up {
            0% { transform: translateY(100%); }
            50% { transform: translateY(0); } /* Punto de encuentro */
            100% { transform: translateY(100%); }
        }

        /* 2. Clases de animación */
        .animate-split-top {
            animation: slide-down 2.5s cubic-bezier(0.7, 0, 0.3, 1) forwards;
        }
        .animate-split-bottom {
            animation: slide-up 2.5s cubic-bezier(0.7, 0, 0.3, 1) forwards;
        }

        /* 3. Estilos del contenedor de transición */
        #transition-overlay {
            position: fixed;
            inset: 0;
            pointer-events: none;
            z-index: 9999;
            display: flex;
            flex-direction: column;
            visibility: hidden;
        }

        #transition-overlay.active {
            visibility: visible;
        }

        .curtain {
            width: 100%;
            height: 50%;
            background: #4f46e5;
        }

        /* 4. Estilos para la LEYENDA CENTRAL */
        #transition-text {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            font-size: 2rem;
            font-weight: bold;
            text-align: center;
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 10000;
            text-shadow: 0 4px 10px rgba(0,0,0,0.3);
            width: 90%;
        }

        #transition-text.show {
            opacity: 1;
        }

        /* 5. Contenido Principal */
        .contenido {
            opacity: 0;
            transition: opacity 0.8s ease;
            text-align: center;
            font-family: sans-serif;
            background-image: url(../imagenes/TWBG1.gif);
            width: 100%;
            height: 100vh;
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
            display: flex;
            justify-content: center;
            align-items: center;
            position: fixed;
            top: 0;
            left: 0;
            border-color: red;
        }

        .contenido.visible {
            opacity: 1;
        }

        .capa {
            position: absolute;
            top: 20px;
            right: 20px;
            color: #fff;
            padding: 15px;
            background-color: rgba(255, 0, 0, 0.8);
            border-radius: 8px;
            font-size: 14px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }
        .capa_alumnos{
                opacity: 0;
            transition: opacity 0.8s ease;
            text-align: center;
            font-family: sans-serif;
            background-image: url(../imagenes/fondog.png);
            width: 100%;
            height: 100vh;
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
            display: flex;
            justify-content: center;
            align-items: center;
            position: fixed;
            top: 0;
            left: 0;
            border-color: red;
        }
        
        button {
            margin-top: 10px;
            cursor: pointer;
            padding: 5px 15px;
        }
        .logo {
                position: relative;
                width: 20%;
                height: 10%;
                top: -6%;
                left: 5%;
                /*border: dashed;*/
                /*border-color: red;*/
        }
          .identificacion {
                position: relative;
                width: 10%;
                top: 6%;
                left: -10.5%;
/*                border: dashed;*/
                /*border-color: red;*/
                z-index:  10001;
        }
        .vortice {
                position: relative;
                width: 30%;
                top: 0%;
                left: 0%;
                border: dashed;
                border-color: white;
                z-index:  900;
        }