Spaces:
Running
Running
<html lang="pt-BR"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>NutriPro - Seu Portal Nutricional Premium</title> | |
<script src="https://cdn.tailwindcss.com"></script> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
<style> | |
@keyframes gradientBackground { | |
0% { background-position: 0% 50%; } | |
50% { background-position: 100% 50%; } | |
100% { background-position: 0% 50%; } | |
} | |
.dynamic-bg { | |
background: linear-gradient(-45deg, #3b82f6, #4ade80, #f59e0b, #ec4899); | |
background-size: 400% 400%; | |
animation: gradientBackground 15s ease infinite; | |
} | |
.fruit-card { | |
transform-style: preserve-3d; | |
transition: all 0.5s ease; | |
perspective: 1000px; | |
} | |
.fruit-card:hover { | |
transform: translateY(-10px) rotateX(5deg); | |
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); | |
} | |
@keyframes float { | |
0% { transform: translateY(0px) rotate(0deg); } | |
50% { transform: translateY(-10px) rotate(5deg); } | |
100% { transform: translateY(0px) rotate(0deg); } | |
} | |
.floating { | |
animation: float 6s ease-in-out infinite; | |
} | |
.login-form { | |
backdrop-filter: blur(10px); | |
background-color: rgba(255, 255, 255, 0.1); | |
} | |
.text-glow { | |
text-shadow: 0 0 10px rgba(255, 255, 255, 0.8); | |
} | |
</style> | |
</head> | |
<body class="font-sans text-white min-h-screen dynamic-bg flex flex-col"> | |
<!-- Floating fruit decoration --> | |
<div class="fixed top-16 left-16 text-6xl opacity-20 floating"> | |
<i class="fas fa-apple-alt"></i> | |
</div> | |
<div class="fixed top-1/4 right-20 text-5xl opacity-25 floating" style="animation-delay: 0.5s;"> | |
<i class="fas fa-lemon"></i> | |
</div> | |
<div class="fixed bottom-32 left-1/4 text-7xl opacity-30 floating" style="animation-delay: 1s;"> | |
<i class="fas fa-pepper-hot"></i> | |
</div> | |
<div class="fixed top-1/2 right-1/3 text-6xl opacity-15 floating" style="animation-delay: 1.5s;"> | |
<i class="fas fa-stroopwafel"></i> | |
</div> | |
<div class="fixed bottom-20 right-32 text-8xl opacity-25 floating" style="animation-delay: 2s;"> | |
<i class="fas fa-carrot"></i> | |
</div> | |
<!-- Header --> | |
<header class="py-6 px-4 sm:px-6 lg:px-8"> | |
<div class="flex justify-between items-center"> | |
<div class="flex items-center space-x-3"> | |
<i class="fas fa-leaf text-3xl text-green-300"></i> | |
<h1 class="text-3xl font-bold text-glow"> | |
<span class="text-green-300">Nutri</span><span class="text-white">Pro</span> | |
</h1> | |
</div> | |
<div> | |
<a href="#" class="text-sm bg-white bg-opacity-10 hover:bg-opacity-20 px-4 py-2 rounded-full transition duration-300"> | |
Conheça mais <i class="fas fa-arrow-right ml-1"></i> | |
</a> | |
</div> | |
</div> | |
</header> | |
<!-- Main Content --> | |
<main class="flex-grow flex items-center justify-center p-4"> | |
<div class="max-w-6xl w-full grid md:grid-cols-2 gap-8"> | |
<!-- Fruit Cards Section --> | |
<div class="grid grid-cols-2 gap-6 self-center"> | |
<!-- Fruit 1 --> | |
<div class="fruit-card bg-white bg-opacity-10 rounded-2xl p-6 border border-white border-opacity-20 shadow-xl"> | |
<div class="text-center"> | |
<i class="fas fa-apple-alt text-5xl mb-4 text-pink-200"></i> | |
<h3 class="text-xl font-semibold mb-1 text-pink-100">Rubi Celestial</h3> | |
<p class="text-xs text-white text-opacity-70">Maçã Verde Premium</p> | |
<div class="mt-3 h-1 bg-white bg-opacity-20 rounded-full"> | |
<div class="h-1 bg-green-300 rounded-full w-3/4"></div> | |
</div> | |
</div> | |
</div> | |
<!-- Fruit 2 --> | |
<div class="fruit-card bg-white bg-opacity-10 rounded-2xl p-6 border border-white border-opacity-20 shadow-xl"> | |
<div class="text-center"> | |
<i class="fas fa-citrus text-5xl mb-4 text-yellow-200"></i> | |
<h3 class="text-xl font-semibold mb-1 text-yellow-100">Sol Dourado</h3> | |
<p class="text-xs text-white text-opacity-70">Laranja Bahia</p> | |
<div class="mt-3 h-1 bg-white bg-opacity-20 rounded-full"> | |
<div class="h-1 bg-orange-300 rounded-full w-2/3"></div> | |
</div> | |
</div> | |
</div> | |
<!-- Fruit 3 --> | |
<div class="fruit-card bg-white bg-opacity-10 rounded-2xl p-6 border border-white border-opacity-20 shadow-xl"> | |
<div class="text-center"> | |
<i class="fas fa-watermelon text-5xl mb-4 text-red-200"></i> | |
<h3 class="text-xl font-semibold mb-1 text-red-100">Coração Carmesim</h3> | |
<p class="text-xs text-white text-opacity-70">Melancia Sem Sementes</p> | |
<div class="mt-3 h-1 bg-white bg-opacity-20 rounded-full"> | |
<div class="h-1 bg-red-400 rounded-full w-4/5"></div> | |
</div> | |
</div> | |
</div> | |
<!-- Fruit 4 --> | |
<div class="fruit-card bg-white bg-opacity-10 rounded-2xl p-6 border border-white border-opacity-20 shadow-xl"> | |
<div class="text-center"> | |
<i class="fas fa-seedling text-5xl mb-4 text-green-200"></i> | |
<h3 class="text-xl font-semibold mb-1 text-green-100">Esmeralda Tropical</h3> | |
<p class="text-xs text-white text-opacity-70">Kiwi Gold</p> | |
<div class="mt-3 h-1 bg-white bg-opacity-20 rounded-full"> | |
<div class="h-1 bg-green-500 rounded-full w-1/2"></div> | |
</div> | |
</div> | |
</div> | |
</div> | |
<!-- Login Form --> | |
<div class="login-form self-center rounded-2xl p-8 border border-white border-opacity-20 shadow-2xl relative overflow-hidden"> | |
<!-- Decorative elements --> | |
<div class="absolute -top-20 -right-20 w-40 h-40 rounded-full bg-purple-400 opacity-10"></div> | |
<div class="absolute -bottom-16 -left-16 w-32 h-32 rounded-full bg-cyan-400 opacity-10"></div> | |
<div class="relative z-10"> | |
<h2 class="text-3xl font-bold mb-2 text-center">Acesso Exclusivo</h2> | |
<p class="text-center text-white text-opacity-80 mb-8">Entre no seu portal nutricional premium</p> | |
<form class="space-y-5"> | |
<div> | |
<label for="email" class="block text-sm font-medium mb-1">E-mail</label> | |
<div class="relative"> | |
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"> | |
<i class="fas fa-envelope text-gray-400"></i> | |
</div> | |
<input type="email" id="email" class="w-full pl-10 pr-4 py-3 bg-white bg-opacity-10 border border-white border-opacity-20 rounded-lg focus:outline-none focus:ring-2 focus:ring-green-300 focus:border-transparent placeholder-white placeholder-opacity-50" placeholder="[email protected]"> | |
</div> | |
</div> | |
<div> | |
<label for="password" class="block text-sm font-medium mb-1">Senha</label> | |
<div class="relative"> | |
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"> | |
<i class="fas fa-lock text-gray-400"></i> | |
</div> | |
<input type="password" id="password" class="w-full pl-10 pr-4 py-3 bg-white bg-opacity-10 border border-white border-opacity-20 rounded-lg focus:outline-none focus:ring-2 focus:ring-green-300 focus:border-transparent placeholder-white placeholder-opacity-50" placeholder="********"> | |
</div> | |
</div> | |
<div class="flex items-center justify-between"> | |
<div class="flex items-center"> | |
<input id="remember" type="checkbox" class="h-4 w-4 bg-white bg-opacity-10 border border-white border-opacity-20 rounded focus:ring-green-300"> | |
<label for="remember" class="ml-2 block text-sm">Lembrar-me</label> | |
</div> | |
<a href="#" class="text-sm text-green-300 hover:text-green-200">Esqueceu a senha?</a> | |
</div> | |
<button type="submit" class="w-full bg-gradient-to-r from-green-400 to-cyan-500 py-3 px-4 rounded-lg font-medium hover:opacity-90 transition duration-300 flex items-center justify-center"> | |
<i class="fas fa-sign-in-alt mr-2"></i> Entrar | |
</button> | |
<div class="text-center text-sm"> | |
<span class="text-white text-opacity-70">Não tem uma conta? </span> | |
<a href="#" class="text-green-300 font-medium hover:text-green-200">Cadastre-se</a> | |
</div> | |
</form> | |
</div> | |
</div> | |
</div> | |
</main> | |
<!-- Footer --> | |
<footer class="py-6 text-center text-white text-opacity-70 text-sm"> | |
<p>© 2023 NutriPro - Todos os direitos reservados. Alimentando vidas com excelência.</p> | |
</footer> | |
<script> | |
// Dynamic background color change | |
const colors = [ | |
'linear-gradient(-45deg, #3b82f6, #4ade80, #f59e0b, #ec4899)', | |
'linear-gradient(-45deg, #8b5cf6, #ec4899, #f59e0b, #84cc16)', | |
'linear-gradient(-45deg, #06b6d4, #3b82f6, #8b5cf6, #d946ef)', | |
'linear-gradient(-45deg, #f97316, #f59e0b, #84cc16, #10b981)' | |
]; | |
let currentColor = 0; | |
const body = document.querySelector('body'); | |
function changeBackground() { | |
currentColor = (currentColor + 1) % colors.length; | |
body.style.background = colors[currentColor]; | |
} | |
// Change background every 15 seconds | |
setInterval(changeBackground, 15000); | |
// Fruit card hover effects enhancement | |
document.querySelectorAll('.fruit-card').forEach(card => { | |
card.addEventListener('mouseenter', () => { | |
const icon = card.querySelector('i'); | |
icon.style.transform = 'scale(1.1) rotate(5deg)'; | |
icon.style.transition = 'all 0.3s ease'; | |
}); | |
card.addEventListener('mouseleave', () => { | |
const icon = card.querySelector('i'); | |
icon.style.transform = 'scale(1) rotate(0deg)'; | |
}); | |
}); | |
// Form submission handling (mock) | |
document.querySelector('form').addEventListener('submit', function(e) { | |
e.preventDefault(); | |
const email = document.getElementById('email').value; | |
const password = document.getElementById('password').value; | |
// Simple validation | |
if(email === '' || password === '') { | |
alert('Por favor, preencha todos os campos.'); | |
return; | |
} | |
// Mock login | |
alert(`Bem-vindo ao NutriPro, ${email}! (Login simulado para demonstração)`); | |
}); | |
// Animate elements on scroll | |
const animateOnScroll = () => { | |
const elements = document.querySelectorAll('.fruit-card'); | |
elements.forEach((el, index) => { | |
const elTop = el.getBoundingClientRect().top; | |
const windowHeight = window.innerHeight; | |
if(elTop < windowHeight - 100) { | |
setTimeout(() => { | |
el.style.opacity = '1'; | |
el.style.transform = 'translateY(0) rotateX(0)'; | |
}, index * 100); | |
} | |
}); | |
}; | |
window.addEventListener('scroll', animateOnScroll); | |
window.addEventListener('load', animateOnScroll); | |
</script> | |
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - <a href="https://enzostvs-deepsite.hf.space?remix=ApacheWinchester/asd" style="color: #fff;text-decoration: underline;" target="_blank" >🧬 Remix</a></p></body> | |
</html> |