@import url('https://fonts.googleapis.com/css2?family=Special+Elite&display=swap'); body { background-color: #000000; color: #00ff00; font-family: 'Special Elite', 'Courier New', Courier, monospace; margin: 0; padding: 0; overflow-x: hidden; display: flex; justify-content: center; align-items: center; height: 100vh; } .xmind-container { display: flex; justify-content: space-around; align-items: center; width: 100%; max-width: 1400px; position: relative; } .central-button { position: absolute; left: 50%; transform: translateX(-50%); z-index: 2; } .left-column, .right-column { display: flex; flex-direction: column; gap: 3.7em; } .xmind-button { background-color: #00ff00; color: #000000; padding: 10px 30px; text-decoration: none; font-family: 'Special Elite', 'Courier New', Courier, monospace; font-size: 2.3em; border-radius: 5px; border: 2px solid #00ff00; box-shadow: 0 4px #008000; transition: all 0.3s ease; text-align: center; } .xmind-button:hover { background-color: #ff69b4; color: #00ff00; box-shadow: 0 8px #00ff00, 0 0 15px #ff69b4; transform: translateY(-2px); } /* Añadir este CSS para las líneas de conexión */ .horizontal-line { position: absolute; width: 100px; /* Puedes ajustar el ancho según lo necesites */ height: 2px; background-color: #ff69b4; } .horizontal-line.left { left: -100px; /* Ajusta esta posición según el espacio entre el botón central y la columna izquierda */ top: 50%; transform: translateY(-50%); } .horizontal-line.right { right: -100px; /* Ajusta esta posición según el espacio entre el botón central y la columna derecha */ top: 50%; transform: translateY(-50%); } .info-box { position: fixed; top: 0; left: -100%; /* Posición inicial fuera de pantalla */ width: 50%; height: 100vh; background-color: #000000; color: #00ff00; border-right: 2px solid #00ff00; box-shadow: 0 0 20px #00ff00; padding: 20px; overflow-y: auto; transition: left 0.5s ease; } .info-box:target { left: 0; /* Mueve la info-box a la pantalla cuando se selecciona */ } .info-content { text-align: left; } .info-content h2 { font-size: 1.8em; color: #ff69b4; margin-bottom: 10px; } .info-content p { font-size: 1em; margin-bottom: 20px; } .info-content ul li { margin-bottom: 10px; } .info-content ul li a { color: #00ff00; text-decoration: none; } .info-content ul li a:hover { color: #ff69b4; text-decoration: underline; } .close-button { display: block; margin-top: 20px; padding: 10px; background-color: #00ff00; color: #000000; text-align: center; border-radius: 5px; text-decoration: none; font-family: 'Special Elite', 'Courier New', Courier, monospace; border: 2px solid #00ff00; box-shadow: 0 4px #008000; transition: all 0.3s ease; } .close-button:hover { background-color: #ff69b4; color: #00ff00; box-shadow: 0 6px #00ff00, 0 0 10px #ff69b4; transform: translateY(-2px); } /* Para pantallas aún más pequeñas, como móviles de hasta 480px */ @media only screen and (max-width: 480px) { .xmind-container { flex-direction: row; /* Mantiene la estructura horizontal */ justify-content: space-between; } .left-column, .right-column { gap: 1.2em; /* Reduce el espacio entre los botones */ margin: 0 1em; /* Reduce el margen entre columnas */ } .xmind-button { font-size: 1.1em; /* Reduce el tamaño del texto para pantallas pequeñas */ padding: 4px 10px; /* Hace los botones más compactos */ width: auto; /* Mantiene el tamaño automático */ } .horizontal-line.left, .horizontal-line.right { width: 40px; /* Hace las líneas más cortas en móviles pequeños */ } .central-button { left: 50%; transform: translateX(-50%); } }