<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>manuelruiz.com</title>
    <style>
        /* General styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: 'Arial', sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            background: url('fondo.jpg') no-repeat center center fixed;
            background-size: cover;
            color: #fff;
            overflow: hidden;
            backdrop-filter: blur(2px);
        }
        body::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.4); /* Oscurece un poco el fondo */
            z-index: -1;
        }
        .container {
            text-align: center;
            background: rgba(255, 255, 255, 0.1);
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            max-width: 450px;
            width: 90%;
            backdrop-filter: blur(10px);
        }
        .logo {
            font-size: 36px;
            font-weight: bold;
            letter-spacing: 2px;
            margin-bottom: 20px;
            text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
        }
        .logo span {
            color: #ffdd57;
        }
        .datetime {
            font-size: 16px;
            margin-bottom: 30px;
            color: #ffdd57;
            font-weight: bold;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }
        .connect-link {
            display: inline-block;
            text-decoration: none;
            font-size: 20px;
            color: #fff;
            background: linear-gradient(to right, #00c6ff, #0072ff);
            padding: 15px 35px;
            border-radius: 30px;
            transition: all 0.4s ease;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
            font-weight: bold;
        }
        .connect-link:hover {
            background: linear-gradient(to right, #0072ff, #00c6ff);
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
        }

        /* Background electronic components */
        .components {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: -1;
        }
        .component {
            position: absolute;
            width: 50px;
            height: 50px;
            animation: float 10s infinite ease-in-out;
        }
        @keyframes float {
            0% {
                transform: translateY(0) rotate(0deg);
            }
            50% {
                transform: translateY(-30px) rotate(180deg);
            }
            100% {
                transform: translateY(0) rotate(360deg);
            }
        }
    </style>
</head>
<body>
  
    <div class="container">
        <div class="logo">
            <span>manuel</span>ruiz.com
        </div>
        <div class="datetime" id="datetime">
            <!-- Fecha y hora dinámicas -->
        </div>
        <a href="https://download.anydesk.com/AnyDesk.exe" class="connect-link" download></a>
    </div>
    <script>
        function updateDateTime() {
            const now = new Date();
            const options = {
                weekday: 'long', 
                year: 'numeric', 
                month: 'long', 
                day: 'numeric',
                hour: '2-digit', 
                minute: '2-digit', 
                second: '2-digit'
            };
            const formattedDate = now.toLocaleDateString('es-ES', options);
            document.getElementById('datetime').textContent = formattedDate;
        }
        // Actualizar fecha y hora cada segundo
        setInterval(updateDateTime, 1000);
        updateDateTime();
    </script>
</body>
</html>
