@font-face { font-family: "Retrolift"; src: url("/home/pancho/PROGRAMACION/FLUJOS/retrolift.woff2") format("woff2"), url("/home/pancho/PROGRAMACION/FLUJOS/retrolift.woff") format("woff"); font-weight: normal; font-style: normal; } * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Fira Code'; text-shadow: 10px 10px 20px rgba(0, 255, 76, 0.3); } body { font-family: 'Fira Code', monospace; background: #000000; color: #000000; } header { display: flex; justify-content: center; align-items: center; height: 70px; background-color: #000000; color: #ffffff; box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1); } .logo { font-family: "Retrolift", sans-serif; font-size: 4em; font-weight: bold; letter-spacing: 4px; text-shadow: 6px 6px 6px #73ff00; margin-bottom: 10px; } .glob-war:hover .logo { text-shadow: 2px 2px 8px #39ff14; } .int-sec:hover .logo { text-shadow: 2px 2px 8px #ff69b4; } .climate:hover .logo { text-shadow: 2px 2px 8px #ff4500; } .eco-corp:hover .logo { text-shadow: 2px 2px 8px #006400; } .popl-up:hover .logo { text-shadow: 2px 2px 8px #00008b; } nav { display: flex; justify-content: center; background-color: #000000; color: #ff1a1a; padding: 10px 0; box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1); margin-top: 40px; margin-bottom: 5px; } .nav-links { list-style: none; display: flex; gap: 6em; } .nav-links a { color: #000000; text-decoration: none; font-size: 1em; font-weight: bold; transition: color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; padding: 20px 40px; box-shadow: 0 0 0px rgba(28, 103, 241, 0); position: relative; border: none; z-index: 1; width: 40vw; height: 20vh; align-items: center; border: 3px solid; } .nav-links a:hover { transform: scale(1.05); box-shadow: 2vw 1vw; border: 3px solid black; } .glob-war { color: #FF4136; background-color: red; } .int-sec { color: #0074D9; background-color: darkblue; } .climate { color: #2ECC40; background-color: lightgreen; } .eco-corp { color: #FFDC00; background-color: yellow; } .popl-up { color: #FF851B; background-color: orange; } .background { display: flex; height: 100vh; width: 99%; overflow-x: scroll; } .background img { width: 20%; height: 90vh; object-fit: cover; transition: transform 1.5s ease; } .background img:hover { transform: scale(1.1); } #sidebar { position: fixed; left: 0; top: 0; width: 250px; height: 100vh; background-image: url("/images/flujos7.jpg"); background-size: cover; color: #39ff14; padding: 30px; box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1); transform: translateX(-90%); /* Oculta el 90%, deja 10% visible */ transition: transform 0.3s ease-out; overflow: auto; font-size: 18px; z-index: 3; text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black; } #sidebar:hover { transform: translateX(0); /* Aparece entero al hacer hover */ } #sidebar.active { transform: translateX(0); } #sidebar h2 { color: #39ff14; font-size: 1.2em; font-weight: bold; margin-bottom: 15px; text-shadow: -1px 0 black, 0 3px black, 3px 0 black, 0 -1px black; } #sidebar form { display: flex; flex-direction: column; gap: 10px; font-size: 20px; } #sidebar label { color: #39ff14; font-size: 0.9em; font-weight: bold; text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black; } #sidebar input { padding: 10px; border: 2px solid #39ff14; background: black; color: #39ff14; border-radius: 5px; box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.2); transition: box-shadow 0.3s ease; } #sidebar input:hover { box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.3); } #sidebar input[type="submit"] { color: #39ff14; background: #ff6600; cursor: pointer; } #sidebar input[type="submit"]:hover { background: #ff6600; } footer { width: 100%; background-color: #000000; color: #39ff14; text-align: center; padding: 10px 0; position: fixed; bottom: 0; font-family: 'Courier New', Courier, monospace; z-index: 1; } footer a { color: #39ff14; text-decoration: none; transition: color 0.3s ease; } footer a:hover { color: #2ECC40; } footer p { margin: 0; } #intSecContainer { width: 100%; height: 100%; position: absolute; top: 0; left: 0; z-index: 2; background-color: #101020; } @media screen and (max-width: 768px) { .nav-links a { font-size: 0.8em; padding: 10px 20px; } .nav-links { gap: 2em; } } .fade-out { animation: fadeOut 2s forwards; } @keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } } /* ===== Añadidos para split-screen ===== */ main.split-screen { display: flex; height: 100vh; margin-left: 0; /* El sidebar está fijo encima */ } #graphPanel { width: 100%; transition: width 0.3s ease; position: relative; } #detailPanel { width: 0; overflow: hidden; transition: width 0.3s ease; } /* Al hacer click en un nodo */ main.split-screen.show-detail #graphPanel { width: 45%; } main.split-screen.show-detail #detailPanel { width: 50%; padding: 1em; } /* Asegurar que el grafo ocupe todo su panel */ #graphPanel #intSecContainer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; } /* Estilos del panel de detalle */ #detailPanel { background: #101020; color: #fff; box-shadow: inset 1px 0 5px rgba(0,0,0,0.5); } #detailPanel h2 { margin-bottom: .5em; color: #39ff14; } #detailPanel p { line-height: 1.4; margin-bottom: 1em; } #detailPanel .placeholder { color: rgba(255,255,255,0.3); font-style: italic; }