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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="pt">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Ola - Welcome</title>
|
| 7 |
+
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;900&display=swap" rel="stylesheet">
|
| 8 |
+
<style>
|
| 9 |
+
* {
|
| 10 |
+
margin: 0;
|
| 11 |
+
padding: 0;
|
| 12 |
+
box-sizing: border-box;
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
:root {
|
| 16 |
+
--primary: #ff6b6b;
|
| 17 |
+
--secondary: #4ecdc4;
|
| 18 |
+
--accent: #ffe66d;
|
| 19 |
+
--dark: #2d3436;
|
| 20 |
+
--light: #f8f9fa;
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
body {
|
| 24 |
+
font-family: 'Poppins', sans-serif;
|
| 25 |
+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
| 26 |
+
min-height: 100vh;
|
| 27 |
+
display: flex;
|
| 28 |
+
align-items: center;
|
| 29 |
+
justify-content: center;
|
| 30 |
+
overflow: hidden;
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
.container {
|
| 34 |
+
position: relative;
|
| 35 |
+
width: 100%;
|
| 36 |
+
max-width: 1200px;
|
| 37 |
+
padding: 2rem;
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
.hero {
|
| 41 |
+
text-align: center;
|
| 42 |
+
color: white;
|
| 43 |
+
position: relative;
|
| 44 |
+
z-index: 2;
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
.greeting {
|
| 48 |
+
font-size: clamp(4rem, 15vw, 10rem);
|
| 49 |
+
font-weight: 900;
|
| 50 |
+
letter-spacing: -0.05em;
|
| 51 |
+
text-shadow: 0 10px 40px rgba(0,0,0,0.3);
|
| 52 |
+
animation: float 3s ease-in-out infinite;
|
| 53 |
+
background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
|
| 54 |
+
-webkit-background-clip: text;
|
| 55 |
+
-webkit-text-fill-color: transparent;
|
| 56 |
+
background-clip: text;
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
@keyframes float {
|
| 60 |
+
0%, 100% { transform: translateY(0); }
|
| 61 |
+
50% { transform: translateY(-20px); }
|
| 62 |
+
}
|
| 63 |
+
|
| 64 |
+
.subtitle {
|
| 65 |
+
font-size: clamp(1rem, 3vw, 1.5rem);
|
| 66 |
+
font-weight: 300;
|
| 67 |
+
margin-top: 1rem;
|
| 68 |
+
opacity: 0.9;
|
| 69 |
+
animation: fadeInUp 1s ease-out 0.3s both;
|
| 70 |
+
}
|
| 71 |
+
|
| 72 |
+
@keyframes fadeInUp {
|
| 73 |
+
from {
|
| 74 |
+
opacity: 0;
|
| 75 |
+
transform: translateY(30px);
|
| 76 |
+
}
|
| 77 |
+
to {
|
| 78 |
+
opacity: 1;
|
| 79 |
+
transform: translateY(0);
|
| 80 |
+
}
|
| 81 |
+
}
|
| 82 |
+
|
| 83 |
+
.buttons {
|
| 84 |
+
margin-top: 3rem;
|
| 85 |
+
display: flex;
|
| 86 |
+
gap: 1rem;
|
| 87 |
+
justify-content: center;
|
| 88 |
+
flex-wrap: wrap;
|
| 89 |
+
animation: fadeInUp 1s ease-out 0.6s both;
|
| 90 |
+
}
|
| 91 |
+
|
| 92 |
+
.btn {
|
| 93 |
+
padding: 1rem 2.5rem;
|
| 94 |
+
border: none;
|
| 95 |
+
border-radius: 50px;
|
| 96 |
+
font-size: 1rem;
|
| 97 |
+
font-weight: 600;
|
| 98 |
+
cursor: pointer;
|
| 99 |
+
transition: all 0.3s ease;
|
| 100 |
+
text-decoration: none;
|
| 101 |
+
display: inline-flex;
|
| 102 |
+
align-items: center;
|
| 103 |
+
gap: 0.5rem;
|
| 104 |
+
}
|
| 105 |
+
|
| 106 |
+
.btn-primary {
|
| 107 |
+
background: white;
|
| 108 |
+
color: #667eea;
|
| 109 |
+
}
|
| 110 |
+
|
| 111 |
+
.btn-primary:hover {
|
| 112 |
+
transform: translateY(-3px);
|
| 113 |
+
box-shadow: 0 15px 40px rgba(0,0,0,0.2);
|
| 114 |
+
}
|
| 115 |
+
|
| 116 |
+
.btn-secondary {
|
| 117 |
+
background: transparent;
|
| 118 |
+
color: white;
|
| 119 |
+
border: 2px solid white;
|
| 120 |
+
}
|
| 121 |
+
|
| 122 |
+
.btn-secondary:hover {
|
| 123 |
+
background: white;
|
| 124 |
+
color: #667eea;
|
| 125 |
+
transform: translateY(-3px);
|
| 126 |
+
}
|
| 127 |
+
|
| 128 |
+
/* Floating shapes */
|
| 129 |
+
.shape {
|
| 130 |
+
position: absolute;
|
| 131 |
+
border-radius: 50%;
|
| 132 |
+
animation: floatShape 6s ease-in-out infinite;
|
| 133 |
+
}
|
| 134 |
+
|
| 135 |
+
.shape-1 {
|
| 136 |
+
width: 300px;
|
| 137 |
+
height: 300px;
|
| 138 |
+
background: rgba(255,255,255,0.1);
|
| 139 |
+
top: -100px;
|
| 140 |
+
left: -100px;
|
| 141 |
+
animation-delay: 0s;
|
| 142 |
+
}
|
| 143 |
+
|
| 144 |
+
.shape-2 {
|
| 145 |
+
width: 200px;
|
| 146 |
+
height: 200px;
|
| 147 |
+
background: rgba(255,230,109,0.2);
|
| 148 |
+
bottom: 10%;
|
| 149 |
+
right: 5%;
|
| 150 |
+
animation-delay: -2s;
|
| 151 |
+
}
|
| 152 |
+
|
| 153 |
+
.shape-3 {
|
| 154 |
+
width: 150px;
|
| 155 |
+
height: 150px;
|
| 156 |
+
background: rgba(78,205,196,0.2);
|
| 157 |
+
top: 30%;
|
| 158 |
+
right: -50px;
|
| 159 |
+
animation-delay: -4s;
|
| 160 |
+
}
|
| 161 |
+
|
| 162 |
+
@keyframes floatShape {
|
| 163 |
+
0%, 100% { transform: translate(0, 0) rotate(0deg); }
|
| 164 |
+
33% { transform: translate(30px, -30px) rotate(120deg); }
|
| 165 |
+
66% { transform: translate(-20px, 20px) rotate(240deg); }
|
| 166 |
+
}
|
| 167 |
+
|
| 168 |
+
/* Card Section */
|
| 169 |
+
.cards {
|
| 170 |
+
display: grid;
|
| 171 |
+
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
| 172 |
+
gap: 2rem;
|
| 173 |
+
margin-top: 4rem;
|
| 174 |
+
animation: fadeInUp 1s ease-out 0.9s both;
|
| 175 |
+
}
|
| 176 |
+
|
| 177 |
+
.card {
|
| 178 |
+
background: rgba(255,255,255,0.15);
|
| 179 |
+
backdrop-filter: blur(10px);
|
| 180 |
+
border-radius: 20px;
|
| 181 |
+
padding: 2rem;
|
| 182 |
+
text-align: center;
|
| 183 |
+
transition: all 0.3s ease;
|
| 184 |
+
border: 1px solid rgba(255,255,255,0.2);
|
| 185 |
+
}
|
| 186 |
+
|
| 187 |
+
.card:hover {
|
| 188 |
+
transform: translateY(-10px);
|
| 189 |
+
background: rgba(255,255,255,0.25);
|
| 190 |
+
box-shadow: 0 20px 60px rgba(0,0,0,0.2);
|
| 191 |
+
}
|
| 192 |
+
|
| 193 |
+
.card-icon {
|
| 194 |
+
font-size: 3rem;
|
| 195 |
+
margin-bottom: 1rem;
|
| 196 |
+
}
|
| 197 |
+
|
| 198 |
+
.card h3 {
|
| 199 |
+
font-size: 1.2rem;
|
| 200 |
+
margin-bottom: 0.5rem;
|
| 201 |
+
}
|
| 202 |
+
|
| 203 |
+
.card p {
|
| 204 |
+
font-size: 0.9rem;
|
| 205 |
+
opacity: 0.8;
|
| 206 |
+
}
|
| 207 |
+
|
| 208 |
+
/* Footer */
|
| 209 |
+
.footer {
|
| 210 |
+
position: fixed;
|
| 211 |
+
bottom: 1rem;
|
| 212 |
+
left: 50%;
|
| 213 |
+
transform: translateX(-50%);
|
| 214 |
+
font-size: 0.8rem;
|
| 215 |
+
color: rgba(255,255,255,0.6);
|
| 216 |
+
}
|
| 217 |
+
|
| 218 |
+
.footer a {
|
| 219 |
+
color: white;
|
| 220 |
+
text-decoration: none;
|
| 221 |
+
font-weight: 600;
|
| 222 |
+
}
|
| 223 |
+
|
| 224 |
+
.footer a:hover {
|
| 225 |
+
text-decoration: underline;
|
| 226 |
+
}
|
| 227 |
+
|
| 228 |
+
/* Interactive greeting */
|
| 229 |
+
.interactive-area {
|
| 230 |
+
margin-top: 2rem;
|
| 231 |
+
animation: fadeInUp 1s ease-out 1.2s both;
|
| 232 |
+
}
|
| 233 |
+
|
| 234 |
+
.name-input {
|
| 235 |
+
padding: 1rem 2rem;
|
| 236 |
+
border: none;
|
| 237 |
+
border-radius: 50px;
|
| 238 |
+
font-size: 1rem;
|
| 239 |
+
font-family: inherit;
|
| 240 |
+
width: 100%;
|
| 241 |
+
max-width: 300px;
|
| 242 |
+
outline: none;
|
| 243 |
+
transition: all 0.3s ease;
|
| 244 |
+
}
|
| 245 |
+
|
| 246 |
+
.name-input:focus {
|
| 247 |
+
box-shadow: 0 0 0 4px rgba(255,255,255,0.3);
|
| 248 |
+
}
|
| 249 |
+
|
| 250 |
+
.personalized-greeting {
|
| 251 |
+
margin-top: 1.5rem;
|
| 252 |
+
font-size: 1.5rem;
|
| 253 |
+
font-weight: 600;
|
| 254 |
+
min-height: 2rem;
|
| 255 |
+
}
|
| 256 |
+
|
| 257 |
+
/* Responsive */
|
| 258 |
+
@media (max-width: 768px) {
|
| 259 |
+
.greeting {
|
| 260 |
+
font-size: 4rem;
|
| 261 |
+
}
|
| 262 |
+
|
| 263 |
+
.cards {
|
| 264 |
+
grid-template-columns: 1fr;
|
| 265 |
+
}
|
| 266 |
+
}
|
| 267 |
+
</style>
|
| 268 |
+
</head>
|
| 269 |
+
<body>
|
| 270 |
+
<div class="container">
|
| 271 |
+
<div class="shape shape-1"></div>
|
| 272 |
+
<div class="shape shape-2"></div>
|
| 273 |
+
<div class="shape shape-3"></div>
|
| 274 |
+
|
| 275 |
+
<div class="hero">
|
| 276 |
+
<h1 class="greeting">Olá!</h1>
|
| 277 |
+
<p class="subtitle">Bem-vindo a uma experiência incrível</p>
|
| 278 |
+
|
| 279 |
+
<div class="buttons">
|
| 280 |
+
<button class="btn btn-primary" onclick="explore()">
|
| 281 |
+
<span>🚀</span> Explorar
|
| 282 |
+
</button>
|
| 283 |
+
<button class="btn btn-secondary" onclick="learnMore()">
|
| 284 |
+
<span>ℹ️</span> Saber Mais
|
| 285 |
+
</button>
|
| 286 |
+
</div>
|
| 287 |
+
|
| 288 |
+
<div class="interactive-area">
|
| 289 |
+
<input type="text" class="name-input" placeholder="Digite seu nome..." id="nameInput" oninput="updateGreeting()">
|
| 290 |
+
<div class="personalized-greeting" id="personalizedGreeting"></div>
|
| 291 |
+
</div>
|
| 292 |
+
|
| 293 |
+
<div class="cards">
|
| 294 |
+
<div class="card">
|
| 295 |
+
<div class="card-icon">🎨</div>
|
| 296 |
+
<h3>Design Moderno</h3>
|
| 297 |
+
<p>Interface belamente projetada com as últimas tendências</p>
|
| 298 |
+
</div>
|
| 299 |
+
<div class="card">
|
| 300 |
+
<div class="card-icon">⚡</div>
|
| 301 |
+
<h3>Super Rápido</h3>
|
| 302 |
+
<p>Performance otimizada para a melhor experiência</p>
|
| 303 |
+
</div>
|
| 304 |
+
<div class="card">
|
| 305 |
+
<div class="card-icon">🎯</div>
|
| 306 |
+
<h3>Focado em Você</h3>
|
| 307 |
+
<p>Construído com atenção aos mínimos detalhes</p>
|
| 308 |
+
</div>
|
| 309 |
+
</div>
|
| 310 |
+
</div>
|
| 311 |
+
</div>
|
| 312 |
+
|
| 313 |
+
<div class="footer">
|
| 314 |
+
Built with <a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank">anycoder</a>
|
| 315 |
+
</div>
|
| 316 |
+
|
| 317 |
+
<script>
|
| 318 |
+
function updateGreeting() {
|
| 319 |
+
const name = document.getElementById('nameInput').value;
|
| 320 |
+
const greeting = document.getElementById('personalizedGreeting');
|
| 321 |
+
|
| 322 |
+
if (name.trim()) {
|
| 323 |
+
const names = name.trim().split(' ');
|
| 324 |
+
const firstName = names[0];
|
| 325 |
+
greeting.textContent = `É um prazer conhecê-lo, ${firstName}! 👋`;
|
| 326 |
+
greeting.style.animation = 'none';
|
| 327 |
+
greeting.offsetHeight; /* trigger reflow */
|
| 328 |
+
greeting.style.animation = 'fadeInUp 0.5s ease-out';
|
| 329 |
+
} else {
|
| 330 |
+
greeting.textContent = '';
|
| 331 |
+
}
|
| 332 |
+
}
|
| 333 |
+
|
| 334 |
+
function explore() {
|
| 335 |
+
alert('🚀 Vamos explorar o mundo juntos!');
|
| 336 |
+
}
|
| 337 |
+
|
| 338 |
+
function learnMore() {
|
| 339 |
+
alert('ℹ️ Em breve mais informações sobre este projeto!');
|
| 340 |
+
}
|
| 341 |
+
|
| 342 |
+
// Add some interactivity with mouse movement
|
| 343 |
+
document.addEventListener('mousemove', (e) => {
|
| 344 |
+
const shapes = document.querySelectorAll('.shape');
|
| 345 |
+
const x = e.clientX / window.innerWidth;
|
| 346 |
+
const y = e.clientY / window.innerHeight;
|
| 347 |
+
|
| 348 |
+
shapes.forEach((shape, index) => {
|
| 349 |
+
const speed = (index + 1) * 20;
|
| 350 |
+
shape.style.transform = `translate(${x * speed}px, ${y * speed}px)`;
|
| 351 |
+
});
|
| 352 |
+
});
|
| 353 |
+
</script>
|
| 354 |
+
</body>
|
| 355 |
+
</html>
|