<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Hello World</title>
<style>
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
font-family: Arial, sans-serif;
/* Animated Gradient Background */
background: linear-gradient(-45deg, #ff9a9e, #fad0c4, #fbc2eb, #a18cd1);
background-size: 400% 400%;
animation: gradientBG 15s ease infinite;
}
h1 {
color: white;
font-size: 3rem;
background-color: rgba(0, 0, 0, 0.3);
padding: 20px 40px;
border-radius: 10px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
/* Fade & Zoom animation */
opacity: 0;
transform: scale(0.8);
animation: fadeInZoom 1.5s ease forwards;
}
@keyframes gradientBG {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
@keyframes fadeInZoom {
to {
opacity: 1;
transform: scale(1);
}
}
</style>
</head>
<body>
<h1>Hello World</h1>
</body>
</html>