@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-color: #000000; color: #000000; } header { display: flex; justify-content: center; align-items: center; height: 70px; background-color: #000000; color: #000000; 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; /* incrementa la distancia entre los elementos */ } .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); /* Estilo de los botones */ position:relative; border: none; transition: .4s ease-in; z-index: 1; width: 40vw; height: 20vh; border:3vw; align-items: center; border: 3px solid ; } .nav-links a:hover { transform: scale(1.05); box-shadow: 0 0 6px rgba(0,0,0,0.3); /* Estilo hover de los botones */ box-shadow: 2vw 1vw; border: 3px solid black ; } .glob-war:hover { color: #39ff14; } .int-sec:hover { color: #ff69b4; } .climate:hover { color: #ff4500; } .eco-corp:hover { color: #00fff2; } .popl-up:hover { color: #0066ff; } .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 a { display: block; width: 20%; height: 90vh; transition: transform 1.5s ease; } .background img { width: 20%; height: 90vh; object-fit: cover; transition: transform 1.5s ease; } .background a img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s ease; } .background img:hover { transform: scale(1.1); } #sidebar.active { transform: translateX(0); } #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%); 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; /* Añade el borde al texto */ } #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; /* Añade el borde al texto */ } #sidebar:hover { transform: translateX(0); } #sidebarToggle { position: absolute; left: 1em; top: 1em; background: #007BFF; color: #39ff14; border: none; padding: 10px 20px; cursor: pointer; border-radius: 5px; transition: background 0.3s ease; z-index: 2; } #sidebarToggle { display: none; } #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; /* Añade el borde al texto */ } #sidebar input { padding: 10px; border: 2px solid #39ff14; /* Añade el borde verde al input */ background: black; /* Cambia el fondo del input a negro */ color: #39ff14; /* Cambia el color del texto en el input a verde */ 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; } #glob_war_container{ position: absolute; width: 100%; height: 100%; opacity: 0.5; } @media screen and (max-width: 768px) { .nav-links a { font-size: 0.8em; /* reduce el tamaño de la fuente */ padding: 10px 20px; /* reduce el padding */ } .nav-links { list-style: none; display: flex; gap: 2em; /* incrementa la distancia entre los elementos */ } } .fade-out { animation: fadeOut 3s forwards; /* Fades out over 3 seconds */ } @keyframes fadeOut { from {opacity: 1;} to {opacity: 0;} } .grafico { z-index: 1; /* Bring to front */ /* Rest of your styles */ } .grafico { width: 100%; height: 100vh; position: absolute; z-index: 1; }