* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
overflow-x: hidden;
}
.section {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
position: relative;
overflow: hidden;
}
.content {
position: relative;
z-index: 10;
text-align: center;
color: white;
padding: 40px;
background: rgba(0, 0, 0, 0.3);
backdrop-filter: blur(10px);
border-radius: 20px;
max-width: 600px;
}
.content h1 {
font-size: 3rem;
margin-bottom: 15px;
text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}
.content p {
font-size: 1.3rem;
opacity: 0.95;
}
/* Background 1: Gradient Wave Animation */
.bg-1 {
background: linear-gradient(45deg, #FF6B6B, #4ECDC4, #45B7D1, #F7DC6F);
background-size: 400% 400%;
animation: gradientWave 15s ease infinite;
}
@keyframes gradientWave {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
/* Background 2: Floating Circles */
.bg-2 {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
position: relative;
}
.bg-2::before {
content: '';
position: absolute;
width: 500px;
height: 500px;
background: rgba(255, 255, 255, 0.1);
border-radius: 50%;
top: 10%;
left: 10%;
animation: float1 20s infinite ease-in-out;
}
.bg-2::after {
content: '';
position: absolute;
width: 400px;
height: 400px;
background: rgba(255, 255, 255, 0.08);
border-radius: 50%;
bottom: 10%;
right: 10%;
animation: float2 15s infinite ease-in-out;
}
@keyframes float1 {
0%, 100% { transform: translate(0, 0); }
50% { transform: translate(100px, 100px); }
}
@keyframes float2 {
0%, 100% { transform: translate(0, 0); }
50% { transform: translate(-80px, -80px); }
}
/* Background 3: Diagonal Stripes */
.bg-3 {
background: linear-gradient(45deg, #f093fb 0%, #f5576c 100%);
position: relative;
}
.bg-3::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 200%;
height: 100%;
background: repeating-linear-gradient(
45deg,
transparent,
transparent 50px,
rgba(255, 255, 255, 0.1) 50px,
rgba(255, 255, 255, 0.1) 100px
);
animation: slideStripes 20s linear infinite;
}
@keyframes slideStripes {
0% { transform: translateX(0); }
100% { transform: translateX(100px); }
}
/* Background 4: Particle Field */
.bg-4 {
background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
position: relative;
}
.particle {
position: absolute;
width: 4px;
height: 4px;
background: rgba(255, 255, 255, 0.8);
border-radius: 50%;
animation: particleFloat 15s linear infinite;
}
@keyframes particleFloat {
0% {
transform: translateY(100vh) translateX(0);
opacity: 0;
}
10% {
opacity: 1;
}
90% {
opacity: 1;
}
100% {
transform: translateY(-100px) translateX(100px);
opacity: 0;
}
}
/* Background 5: Pulsing Gradient */
.bg-5 {
background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
animation: pulseGradient 5s ease-in-out infinite;
}
@keyframes pulseGradient {
0%, 100% {
filter: brightness(1) saturate(1);
transform: scale(1);
}
50% {
filter: brightness(1.2) saturate(1.3);
transform: scale(1.02);
}
}
/* Background 6: Rotating Squares */
.bg-6 {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
position: relative;
}
.square {
position: absolute;
width: 200px;
height: 200px;
background: rgba(255, 255, 255, 0.05);
border: 2px solid rgba(255, 255, 255, 0.1);
animation: rotateSquare 20s linear infinite;
}
.square:nth-child(2) {
top: 20%;
left: 20%;
animation-delay: -5s;
}
.square:nth-child(3) {
bottom: 20%;
right: 20%;
animation-delay: -10s;
}
@keyframes rotateSquare {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* Background 7: Wave Pattern */
.bg-7 {
background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
position: relative;
}
.wave {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 150px;
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,64L48,58.7C96,53,192,43,288,48C384,53,480,75,576,80C672,85,768,75,864,58.7C960,43,1056,21,1152,21.3C1248,21,1344,43,1392,53.3L1440,64L1440,120L1392,120C1344,120,1248,120,1152,120C1056,120,960,120,864,120C768,120,672,120,576,120C480,120,384,120,288,120C192,120,96,120,48,120L0,120Z" fill="rgba(255,255,255,0.1)"/></svg>');
background-size: cover;
animation: waveMove 10s linear infinite;
}
@keyframes waveMove {
0% { background-position: 0 0; }
100% { background-position: 1200px 0; }
}
/* Background 8: Grid Pattern */
.bg-8 {
background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
position: relative;
}
.bg-8::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image:
linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
background-size: 50px 50px;
animation: gridMove 20s linear infinite;
}
@keyframes gridMove {
0% { transform: translate(0, 0); }
100% { transform: translate(50px, 50px); }
}
/* Background 9: Bubbles */
.bg-9 {
background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
position: relative;
}
.bubble {
position: absolute;
bottom: -100px;
background: rgba(255, 255, 255, 0.2);
border-radius: 50%;
animation: bubbleRise 15s infinite ease-in;
}
@keyframes bubbleRise {
0% {
bottom: -100px;
opacity: 0;
}
10% {
opacity: 1;
}
90% {
opacity: 1;
}
100% {
bottom: 110vh;
opacity: 0;
}
}
/* Background 10: Aurora Borealis */
.bg-10 {
background: #0a0e27;
position: relative;
}
.aurora {
position: absolute;
width: 100%;
height: 100%;
background: linear-gradient(
135deg,
rgba(0, 255, 200, 0.3) 0%,
rgba(0, 150, 255, 0.3) 25%,
rgba(150, 0, 255, 0.3) 50%,
rgba(255, 0, 150, 0.3) 75%,
rgba(0, 255, 200, 0.3) 100%
);
background-size: 200% 200%;
animation: aurora 15s ease infinite;
opacity: 0.6;
filter: blur(80px);
}
@keyframes aurora {
0% { background-position: 0% 0%; }
50% { background-position: 100% 100%; }
100% { background-position: 0% 0%; }
}
/* Navigation */
.nav {
position: fixed;
top: 20px;
right: 20px;
z-index: 1000;
display: flex;
flex-direction: column;
gap: 10px;
}
.nav-dot {
width: 15px;
height: 15px;
background: rgba(255, 255, 255, 0.5);
border-radius: 50%;
cursor: pointer;
transition: all 0.3s;
border: 2px solid white;
}
.nav-dot:hover,
.nav-dot.active {
transform: scale(1.5);
background: white;
}
@media (max-width: 768px) {
.content h1 {
font-size: 2rem;
}
.content p {
font-size: 1rem;
}
.square {
width: 100px;
height: 100px;
}
}
No comments yet. Be the first!